Supporting GSLB enable/disable operations ( Additionally some examples also been added) #229
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
--- | |
name: Trivy Security Check | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
trivy-check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Run Trivy vulnerability scanner in repo mode | |
uses: aquasecurity/[email protected] | |
with: | |
scan-type: "fs" | |
ignore-unfixed: true | |
exit-code: '1' | |
format: "sarif" | |
output: "trivy-results.sarif" | |
severity: "UNKNOWN,LOW,MEDIUM,HIGH,CRITICAL" | |
- name: Upload Trivy scan results to GitHub Security tab | |
uses: github/codeql-action/upload-sarif@v3 | |
if: always() | |
with: | |
sarif_file: "trivy-results.sarif" |