docs: Add details about security scanning of manifests and exceptions

This commit is contained in:
Philip Gough
2022-01-19 15:06:15 +00:00
parent 02f1550261
commit b924650344
2 changed files with 12 additions and 0 deletions

11
docs/security.md Normal file
View File

@@ -0,0 +1,11 @@
## Security
The manifests generated in this repository are subject to a security audit in CI via [kubescape](https://github.com/armosec/kubescape).
The scan can be run locally via `make kubescape`.
While we aim for best practices in terms of security by default, due to the nature of the project, we are required to make the exceptions in the following components:
#### node-exporter
* Host Port is set. https://hub.armo.cloud/docs/c-0044 is not relevant since node-exporter is considered as a core platform component running as a DaemonSet.
* Host PID is set to `true`, since node-exporter requires direct access to the host namespace to gather statistics.
* Host Network is set to `true`, since node-exporter requires direct access to the host network to gather statistics.