Skip to content

Commit

Permalink
add delete / review paths
Browse files Browse the repository at this point in the history
Signed-off-by: YiscahLevySilas1 <[email protected]>
  • Loading branch information
YiscahLevySilas1 committed Oct 1, 2023
1 parent 1a552af commit 1dc9364
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions rules/host-pid-ipc-privileges/raw.rego
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ deny[msga] {
"alertMessage": sprintf("Pod: %v has hostPID enabled", [pod.metadata.name]),
"packagename": "armo_builtins",
"alertScore": 7,
"deletePaths": [path],
"failedPaths": [path],
"fixPaths": [],
"alertObject": {
Expand All @@ -29,6 +30,7 @@ deny[msga] {
"alertMessage": sprintf("Pod: %v has hostIPC enabled", [pod.metadata.name]),
"packagename": "armo_builtins",
"alertScore": 7,
"deletePaths": [path],
"failedPaths": [path],
"fixPaths": [],
"alertObject": {
Expand All @@ -47,6 +49,7 @@ deny[msga] {
msga := {
"alertMessage": sprintf("%v: %v has a pod with hostPID enabled", [wl.kind, wl.metadata.name]),
"alertScore": 9,
"deletePaths": [path],
"failedPaths": [path],
"fixPaths": [],
"packagename": "armo_builtins",
Expand All @@ -66,6 +69,7 @@ deny[msga] {
msga := {
"alertMessage": sprintf("%v: %v has a pod with hostIPC enabled", [wl.kind, wl.metadata.name]),
"alertScore": 9,
"deletePaths": [path],
"failedPaths": [path],
"fixPaths": [],
"packagename": "armo_builtins",
Expand All @@ -84,6 +88,7 @@ deny[msga] {
msga := {
"alertMessage": sprintf("CronJob: %v has a pod with hostPID enabled", [wl.metadata.name]),
"alertScore": 9,
"deletePaths": [path],
"failedPaths": [path],
"fixPaths": [],
"packagename": "armo_builtins",
Expand All @@ -103,6 +108,7 @@ deny[msga] {
msga := {
"alertMessage": sprintf("CronJob: %v has a pod with hostIPC enabled", [wl.metadata.name]),
"alertScore": 9,
"deletePaths": [path],
"failedPaths": [path],
"fixPaths": [],
"packagename": "armo_builtins",
Expand Down

0 comments on commit 1dc9364

Please sign in to comment.