Skip to content

Commit

Permalink
enable Kubescape scan
Browse files Browse the repository at this point in the history
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>
  • Loading branch information
zhaohuabing committed Jul 23, 2024
1 parent 9852333 commit ef135ed
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/kubescape-scan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Kubescape Scan
on: [push, pull_request]
jobs:
scan-charts:
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
steps:
- uses: actions/checkout@v3
- uses: kubescape/github-action@main
continue-on-error: true
with:
format: sarif
outputFile: results
files: "charts/*"
- name: Upload Kubescape scan results to Github Code Scanning
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: results.sarif

0 comments on commit ef135ed

Please sign in to comment.