Skip to content

Commit

Permalink
Adding Github Action with Kubescape scan
Browse files Browse the repository at this point in the history
Signed-off-by: David Alima <davida@armosec.io>
  • Loading branch information
DanDavidA committed Jan 22, 2025
1 parent f789057 commit a2bae8b
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/hello-world.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Kubescape scanning for misconfigurations
on: [push, pull_request]
jobs:
kubescape:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: kubescape/github-action@main
continue-on-error: false
with:
format: sarif
outputFile: results.sarif
failedThreshold: 80
- 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 a2bae8b

Please sign in to comment.