Add compliance scans command
Create the scans
subcommand in compliance
to house the new functionality.
Refer to the command documentation for information on the structure.
Acceptance Criteria
- Create the
bbctl compliance scan
cobra.Command
- Fill out the short, long, and example usage with expected usage
- scan command should have one flag -t/--tool [string] -> [neuvector, kubescape, all(default)]
- scan command will call the compliance dashboard API endpoint: /compliance-scans - gives the security and compliance scan data from Neuvector , Kubescape , ( add any other security tool we choose to add)
- If compliance dashboard is not available return "compliance dashboard not found"
- Write unit tests. Tests should be able to test the arguments passed in, command creation, etc. Output does not need to be validated at this time.
Edited by Jacob Kershaw