We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e7be42 commit 174d19fCopy full SHA for 174d19f
1 file changed
PaS/gitlab-ci.yml:
@@ -0,0 +1,14 @@
1
+stages:
2
+ - test
3
+ - security-sast # <- PaC checks run here
4
+ - build
5
+ - deploy
6
+
7
+security_checks:
8
+ stage: security-sast
9
+ image: openpolicyagent/conftest:latest
10
+ script:
11
+ - conftest test Dockerfile --policy policy/dockerfile.rego
12
+ - conftest test deployment.yaml --policy policy/k8s_security.rego
13
+ - checkov -d terraform/
14
+ allow_failure: false # If any check fails, the pipeline fails.
0 commit comments