[Bump] version of web-app to 5.7.1 #105
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: Semgrep OWASP Top Ten | |
on: | |
push: | |
branches: | |
- '**' | |
tags-ignore: | |
- '*' | |
pull_request: | |
schedule: | |
- cron: '42 2 * * 3' | |
jobs: | |
semgrep-full: | |
runs-on: ubuntu-latest | |
container: | |
image: semgrep/semgrep | |
steps: | |
- name: clone application source code | |
uses: actions/checkout@v4 | |
with: | |
# We must fetch at least the immediate parents so that if this is | |
# a pull request then we can checkout the head. | |
fetch-depth: 2 | |
- name: full scan | |
run: | | |
semgrep scan --config "https://semgrep.dev/p/owasp-top-ten" --sarif --output=semgrep-sast.sarif --metrics=off | |
- name: save report as pipeline artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: semgrep-sast.sarif | |
path: semgrep-sast.sarif | |
- name: publish code scanning alerts | |
uses: github/codeql-action/upload-sarif@v3 | |
with: | |
sarif_file: semgrep-sast.sarif | |
category: semgrep |