ci: Add exceptions for node-exporter to kubescape config

This commit is contained in:
Philip Gough 2022-01-19 15:04:31 +00:00
parent 4d004393e1
commit 02f1550261

29
kubescape-exceptions.json Normal file
View File

@ -0,0 +1,29 @@
[
{
"name": "exclude-node-exporter-host-access-checks",
"policyType": "postureExceptionPolicy",
"actions": [
"alertOnly"
],
"resources": [
{
"designatorType": "Attributes",
"attributes": {
"kind": "DaemonSet",
"name": "node-exporter"
}
}
],
"posturePolicies": [
{
"controlName": "Container hostPort"
},
{
"controlName": "Host PID/IPC privileges"
},
{
"controlName": "HostNetwork access"
}
]
}
]