forked from jasonumiker-sysdig/example-scenarios
-
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.
feat Updating name scripts to be more understandable and overall read…
…ability of the code blocks
- Loading branch information
Showing
15 changed files
with
124 additions
and
55 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
File renamed without changes.
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
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 |
---|---|---|
|
@@ -35,4 +35,4 @@ spec: | |
path: /health | ||
port: http | ||
securityContext: | ||
privileged: true | ||
privileged: true |
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 |
---|---|---|
|
@@ -43,4 +43,4 @@ spec: | |
cpu: "250m" | ||
limits: | ||
memory: "512Mi" | ||
cpu: "500m" | ||
cpu: "500m" |
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
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
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 |
---|---|---|
@@ -1,22 +1,22 @@ | ||
#!/bin/bash | ||
./example-curls.sh | ||
./example-curls-restricted.sh | ||
./example-curls-restricted-nodrift.sh | ||
./example-curls-restricted-nomalware.sh | ||
./01-01-example-curls.sh | ||
./01-02-example-curls-restricted.sh | ||
./01-03-example-curls-restricted-nodrift.sh | ||
./01-04-example-curls-restricted-nomalware.sh | ||
#kubectl apply -f ./security-playground-irsa.yaml | ||
#kubectl apply -f ./security-playground-aws-env-vars.yaml | ||
#sleep 10 | ||
#export S3_BUCKET_NAME=bucket | ||
#./example-curls-bucket-public.sh | ||
#./02-01-example-curls-bucket-public.sh | ||
#export SECURE_API_TOKEN=token | ||
#./sysdig-cli-scanner -a app.au1.sysdig.com logstash:7.16.1 | ||
#./sysdig-cli-scanner -a app.au1.sysdig.com --iac example-scenarios/k8s-manifests/04-security-playground-deployment.yaml | ||
./example-curls-networkpolicy.sh | ||
./06-01-example-curls-networkpolicy.sh | ||
kubectl apply -f ./generated-network-policy.yml | ||
sleep 10 | ||
./example-curls-networkpolicy.sh | ||
./06-01-example-curls-networkpolicy.sh | ||
kubectl logs --since=5m deployment/hello-client-blocked -n hello | ||
kubectl logs --since=5m deployment/hello-client -n hello | ||
kubectl apply -f ./generated-network-policy2.yml | ||
sleep 10 | ||
./example-curls.sh | ||
./01-01-example-curls.sh |