Download .github/workflows/security.yml from vara201/search2: direct link, hf CLI and curl.
- Browser
- Download file 786 Bytes
-
https://huggingface.co/spaces/vara201/search2/resolve/main/.github/workflows/security.yml
- Command line
-
hf download hf://spaces/vara201/search2/.github/workflows/security.yml
-
curl -L -o security.yml https://huggingface.co/spaces/vara201/search2/resolve/main/.github/workflows/security.yml
786 Bytes
| name: "Security checks" | |
| on: # yamllint disable-line rule:truthy | |
| schedule: | |
| - cron: "42 05 * * *" | |
| workflow_dispatch: | |
| jobs: | |
| dockers: | |
| name: Trivy ${{ matrix.image }} | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Run Trivy vulnerability scanner | |
| uses: aquasecurity/trivy-action@master | |
| with: | |
| image-ref: 'searxng/searxng:latest' | |
| ignore-unfixed: false | |
| vuln-type: 'os,library' | |
| severity: 'UNKNOWN,LOW,MEDIUM,HIGH,CRITICAL' | |
| format: 'sarif' | |
| output: 'trivy-results.sarif' | |
| - name: Upload Trivy scan results to GitHub Security tab | |
| uses: github/codeql-action/upload-sarif@v2 | |
| with: | |
| sarif_file: 'trivy-results.sarif' | |