Skip to content

Commit

Permalink
Merge pull request #624 from kubescape/exclude-ks-labels
Browse files Browse the repository at this point in the history
Exclude ks labels
  • Loading branch information
David Wertenteil authored May 28, 2024
2 parents f09f424 + f562ac8 commit 3a80ab0
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions exceptions/kubescape.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,49 @@
[
{
"name": "kubescape-ignore",
"policyType": "postureExceptionPolicy",
"actions": [
"alertOnly"
],
"attributes": {
"systemException": true
},
"resources": [
{
"designatorType": "Attributes",
"attributes": {
"kubescape.io/ignore": "true"
}
},
{
"designatorType": "Attributes",
"attributes": {
"kubescape.io/ignore": "yes"
}
},
{
"designatorType": "Attributes",
"attributes": {
"kubescape.io/ignore": "1"
}
},
{
"designatorType": "Attributes",
"attributes": {
"kubescape.io/ignore": "enable"
}
},
{
"designatorType": "Attributes",
"attributes": {
"kubescape.io/ignore": "enabled"
}
}
],
"posturePolicies": [
{}
]
},
{
"name": "exclude-kubescape-deployment-security-context",
"policyType": "postureExceptionPolicy",
Expand Down

0 comments on commit 3a80ab0

Please sign in to comment.