forked from kubescape/regolibrary
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: David Wertenteil <dwertent@armosec.io>
- Loading branch information
David Wertenteil
committed
Aug 6, 2023
1 parent
693cb02
commit 445a068
Showing
6 changed files
with
71 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
[ | ||
{ | ||
"name": "system-resources", | ||
"policyType": "postureExceptionPolicy", | ||
"actions": [ | ||
"alertOnly" | ||
], | ||
"attributes": { | ||
"systemException": true | ||
}, | ||
"resources": [ | ||
{ | ||
"designatorType": "Attributes", | ||
"attributes": { | ||
"namespace": "kube-system" | ||
} | ||
}, | ||
{ | ||
"designatorType": "Attributes", | ||
"attributes": { | ||
"namespace": "kube-public" | ||
} | ||
}, | ||
{ | ||
"designatorType": "Attributes", | ||
"attributes": { | ||
"namespace": "kube-node-lease" | ||
} | ||
} | ||
], | ||
"posturePolicies": [ | ||
{} | ||
] | ||
}, | ||
{ | ||
"name": "exclude-system-namespaces", | ||
"policyType": "postureExceptionPolicy", | ||
"actions": [ | ||
"alertOnly" | ||
], | ||
"attributes": { | ||
"systemException": true | ||
}, | ||
"resources": [ | ||
{ | ||
"designatorType": "Attributes", | ||
"attributes": { | ||
"kind": "Namespace", | ||
"name": "kube-system" | ||
} | ||
}, | ||
{ | ||
"designatorType": "Attributes", | ||
"attributes": { | ||
"kind": "Namespace", | ||
"name": "kube-public" | ||
} | ||
}, | ||
{ | ||
"designatorType": "Attributes", | ||
"attributes": { | ||
"kind": "Namespace", | ||
"name": "kube-node-lease" | ||
} | ||
} | ||
], | ||
"posturePolicies": [ | ||
{} | ||
] | ||
} | ||
] |
This file was deleted.
Oops, something went wrong.
25 changes: 0 additions & 25 deletions
25
rules/controllerrevision-in-default-namespace/rule.metadata.json
This file was deleted.
Oops, something went wrong.
23 changes: 0 additions & 23 deletions
23
rules/controllerrevision-in-default-namespace/test/controllerrevision/expected.json
This file was deleted.
Oops, something went wrong.
8 changes: 0 additions & 8 deletions
8
...rollerrevision-in-default-namespace/test/controllerrevision/input/controllerrevision.yaml
This file was deleted.
Oops, something went wrong.