-
Notifications
You must be signed in to change notification settings - Fork 508
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
apiserver: Add /report endpoint for CIS reporting
This adds a new `/report` endpoint. GETs to this endpoint get a list of the available reports which can then be called directly. Initially this is only `/report/cis` that can be used to trigger a bloodhound CIS benchmark report, returning the results. The type argument controls which report to run. Right now there is only the CIS report, but this will be expanded in the future as we add other compliance or benchmark reports. ``` /report [{"name":"cis","description":"CIS Bottlerocket Benchmark"}] ``` The bloodhound options for `--level` and `--format` are supported with: ``` /report/cis&level=2&format=json" ``` Signed-off-by: Sean McGinnis <[email protected]>
- Loading branch information
1 parent
d5c1756
commit 867d912
Showing
6 changed files
with
126 additions
and
1 deletion.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters