Skip to content

Commit

Permalink
Merge pull request #502 from kubescape/revert-481-edit-exceptions
Browse files Browse the repository at this point in the history
Revert "core(exceptions): Edit system exceptions"
  • Loading branch information
YiscahLevySilas1 authored Sep 5, 2023
2 parents 623bec0 + 98c4ffa commit 1832611
Showing 1 changed file with 0 additions and 81 deletions.
81 changes: 0 additions & 81 deletions exceptions/kubescape.json
Original file line number Diff line number Diff line change
@@ -1,49 +1,4 @@
[
{
"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 Expand Up @@ -134,9 +89,6 @@
},
{
"controlID": "c-0058"
},
{
"controlID": "c-0078"
}
]
},
Expand Down Expand Up @@ -440,22 +392,6 @@
"namespace": "kubescape"
}
},
{
"designatorType": "Attributes",
"attributes": {
"kind": "ServiceAccount",
"name": "storage",
"namespace": "kubescape"
}
},
{
"designatorType": "Attributes",
"attributes": {
"kind": "ServiceAccount",
"name": "kubevuln",
"namespace": "kubescape"
}
},
{
"designatorType": "Attributes",
"attributes": {
Expand Down Expand Up @@ -584,23 +520,12 @@
"name": "kubescape-scheduler",
"namespace": "kubescape"
}
},
{
"designatorType": "Attributes",
"attributes": {
"kind": "ServiceAccount",
"name": "storage",
"namespace": "kubescape"
}
}
],
"posturePolicies": [
{
"controlID": "c-0030"
},
{
"controlID": "c-0034"
},
{
"controlID": "c-0055"
},
Expand All @@ -619,17 +544,11 @@
{
"controlID": "c-0077"
},
{
"controlID": "c-0078"
},
{
"controlID": "c-0210"
},
{
"controlID": "c-0211"
},
{
"controlID": "c-0078"
}
]
},
Expand Down

0 comments on commit 1832611

Please sign in to comment.