Skip to content
Merged
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
20 changes: 16 additions & 4 deletions .github/workflows/snyk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,26 @@ jobs:
helm repo add backstage https://backstage.github.io/charts
helm repo update
helm dependency build ./charts/backstage
helm template ./charts/backstage/ --output-dir ./output
helm dependency build ./charts/orchestrator-infra
helm template ./charts/backstage --output-dir ./output/backstage
helm template ./charts/orchestrator-infra --output-dir ./output/orchestrator-infra

- name: Run SNYK IaC Scan
- name: Run SNYK IaC Scan for Developer Hub
continue-on-error: true
uses: snyk/actions/iac@b98d498629f1c368650224d6d212bf7dfa89e4bf # 0.4.0
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
SNYK_ORG_ID: ${{ secrets.SNYK_ORG_ID }}
with:
args: --report --org=$SNYK_ORG_ID --target-name="redhat-developer/rhdh-chart"
file: ./output/
args: --report --org=$SNYK_ORG_ID --target-name="redhat-developer/rhdh-chart/backstage"
file: ./output/backstage

- name: Run Snyk IaC Scan for Orchestrator Infra
continue-on-error: true
uses: snyk/actions/iac@b98d498629f1c368650224d6d212bf7dfa89e4bf # 0.4.0
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
SNYK_ORG_ID: ${{ secrets.SNYK_ORG_ID }}
with:
args: --report --org=$SNYK_ORG_ID --target-name="redhat-developer/rhdh-chart/orchestrator-infra"
file: ./output/orchestrator-infra
Loading