Add `container_scanning` directive in agent config file and deprecate `starboard` directive
Problem to solve
Considering that we are no longer using Starboard for Operational Container Scanning, it no longer makes sense to use term starboard in the agent config file.
Proposal
- The term
container_scanningwill be added as an alternate option instead of using the termstarboardin the definition for the agent config file.- Note: We we will continue to support
starboardin the code through %16.0 as this will be a breaking change.
- Note: We we will continue to support
- Documentation will be updated to reflect this change.
Implementation Plan
-
Update agentcfg.proto to add container_scanningsimilar tostarboard -
Update internal/module/starboard_vulnerability/agent/module.go to get container_scanningfromagentcfg.AgentConfigurationand if it's empty fallback tostarboard - [-] For consistency, update the name of the directory from internal/module/starboard_vulnerability to
internal/module/container_scanningand update the references -
documentation Update documentation to mention the starboardfield will not be supported from %16.0
Edited by Alan (Maciej) Paruszewski