Static scanning action #7
Workflow file for this run
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: "42Crunch API Security Audit" | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: | |
- '1.0.0-wip' | |
jobs: | |
run_42c_audit: | |
permissions: | |
contents: read | |
security-events: write | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Audit API definition for security issues | |
uses: 42Crunch/api-security-audit-action-freemium@v1 | |
with: | |
upload-to-code-scanning: true | |
log-level: debug | |
sarif-report: 42Crunch_AuditReport_${{ github.run_id }}.SARIF | |
- name: save-audit-report | |
uses: actions/upload-artifact@v4 | |
with: | |
name: 42Crunch_AuditReport_${{ github.run_id }} | |
path: 42Crunch_AuditReport_${{ github.run_id }}.SARIF | |
if-no-files-found: error |