Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/ci-scan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ jobs:
with:
sysdig-secure-token: ${{ secrets.KUBELAB_SECURE_API_TOKEN }}
mode: iac
iac-scan-path: ./iac_scan_examples
# Note: This test assumes these policies exist in the target Sysdig Secure account.
use-policies: '"All Posture Findings", "MITRE DEFEND"'

Expand Down
27 changes: 27 additions & 0 deletions iac_scan_examples/netshoot-privileged.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
apiVersion: apps/v1
kind: Deployment
metadata:
creationTimestamp: null
labels:
app: net-troubleshoot-ac
name: net-troubleshoot-ac
namespace: default
spec:
replicas: 1
selector:
matchLabels:
app: net-troubleshoot-ac
strategy: {}
template:
metadata:
creationTimestamp: null
labels:
app: net-troubleshoot-ac
spec:
containers:
- name: netshoot-ac
image: nicolaka/netshoot
securityContext:
privileged: true
resources: {}
status: {}
Loading