-
Notifications
You must be signed in to change notification settings - Fork 349
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add a test case for protocol:all handling
Signed-off-by: rksharma95 <[email protected]>
- Loading branch information
1 parent
f5ca686
commit 82db78b
Showing
2 changed files
with
41 additions
and
0 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
15 changes: 15 additions & 0 deletions
15
tests/k8s_env/ksp/multiubuntu/ksp-ubuntu-1-block-net-all.yaml
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,15 @@ | ||
apiVersion: security.kubearmor.com/v1 | ||
kind: KubeArmorPolicy | ||
metadata: | ||
name: ksp-ubuntu-1-block-net-all | ||
namespace: multiubuntu | ||
spec: | ||
severity: 8 | ||
selector: | ||
matchLabels: | ||
container: ubuntu-1 | ||
network: | ||
matchProtocols: | ||
- protocol: all | ||
action: | ||
Block |