Skip to content

Commit

Permalink
example checkov workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
northdpole committed Sep 23, 2024
1 parent e96ff34 commit a155b78
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
12 changes: 12 additions & 0 deletions examples/pipelines/checkov-project/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
nameSuffix: -checkov-project
components:
- pkg:helm/dracon-oss-components/base
- pkg:helm/dracon-oss-components/git-clone
- pkg:helm/dracon-oss-components/producer-checkov
- pkg:helm/dracon-oss-components/producer-aggregator
- pkg:helm/dracon-oss-components/enricher-codeowners
- pkg:helm/dracon-oss-components/enricher-aggregator
- pkg:helm/dracon-oss-components/consumer-stdout-json
24 changes: 24 additions & 0 deletions examples/pipelines/checkov-project/pipelinerun.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
apiVersion: tekton.dev/v1beta1
kind: PipelineRun
metadata:
generateName: dracon-checkov-project-
namespace: dracon
spec:
pipelineRef:
name: dracon-checkov-project
params:
- name: git-clone-url
value: https://github.com/bridgecrewio/cfngoat
- name: producer-checkov-cyclonedx-target-override
value: "pkg:terraform/bridgecrewio/cfngoat"
workspaces:
- name: output
subPath: source-code
volumeClaimTemplate:
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi

0 comments on commit a155b78

Please sign in to comment.