mirror of
https://github.com/prometheus-operator/kube-prometheus.git
synced 2025-10-23 21:21:11 +02:00
ci: Add exceptions for node-exporter to kubescape config
This commit is contained in:
parent
4d004393e1
commit
02f1550261
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"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
Loading…
x
Reference in New Issue
Block a user