ci: Add exceptions for node-exporter to kubescape config
This commit is contained in:
29
kubescape-exceptions.json
Normal file
29
kubescape-exceptions.json
Normal 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"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
Reference in New Issue
Block a user