Skip to content

Commit

Permalink
(update): usr/lib removal (5GSEC#192)
Browse files Browse the repository at this point in the history
* usr/lib removal

---------

Signed-off-by: Ved Ratan <[email protected]>
  • Loading branch information
VedRatan authored Jun 24, 2024
1 parent b5e8189 commit 5953d4a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
4 changes: 2 additions & 2 deletions examples/clusterscoped/deny-external-network-access.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ spec:
selector:
nsSelector:
matchNames:
- prod
- default
workloadSelector:
matchLabels:
app: foo
app: nginx
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ spec:
selector:
nsSelector:
matchNames:
- prod
- default
workloadSelector:
matchLabels:
app: db
app: nginx
env: dev
4 changes: 0 additions & 4 deletions pkg/adapter/nimbus-kubearmor/processor/kspbuilder.go
Original file line number Diff line number Diff line change
Expand Up @@ -294,10 +294,6 @@ func disallowBinaries() kubearmorv1.KubeArmorPolicy { // ref: https://www.tenabl
Directory: "/etc/",
Recursive: true,
},
{
Directory: "/usr/lib/",
Recursive: true,
},
},
Action: kubearmorv1.ActionType("Block"),
},
Expand Down

0 comments on commit 5953d4a

Please sign in to comment.