updating helm chart charts/modernization-api/values-int1.yaml with im… #3197
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 scanner uses Trivy (https://github.com/aquasecurity/trivy-action) to scan helm charts for vulnerabilities | |
# Event trigger is on merge to main, pull request to main, or manual | |
# For events triggered by pull_request, results are uploaded to GitHub security tab under the referring branch | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- "charts/**" | |
pull_request: | |
branches: | |
- main | |
paths: | |
- "charts/**" | |
workflow_dispatch: | |
jobs: | |
scan-helm: | |
name: Scan Helm Charts | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
# Runs Trivy scanner on the charts directory | |
- name: Run Trivy vulnerability scanner in IaC mode | |
uses: aquasecurity/trivy-action@master | |
with: | |
scan-type: 'config' | |
hide-progress: false | |
format: 'sarif' | |
scan-ref: ./charts/ | |
output: 'trivy-results.sarif' | |
limit-severities-for-sarif: true | |
exit-code: '0' | |
ignore-unfixed: true | |
severity: 'CRITICAL,HIGH,MEDIUM' | |
skip-dirs: "cdc-address-api,common-asset-server,elasticsearch,nifi,kafka,patient-search,hybrid-integration" | |
# uploads results of scan to GitHub actions even if above fails | |
- name: Upload Trivy scan results to GitHub Security tab | |
if: always() | |
uses: github/codeql-action/upload-sarif@v2 | |
with: | |
sarif_file: 'trivy-results.sarif' | |