-
Notifications
You must be signed in to change notification settings - Fork 14
39 lines (34 loc) · 944 Bytes
/
scan.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: cargo-audit
on:
push:
branches:
- dev
jobs:
paradox:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
if: always()
- name: rust-audit-check
if: always()
uses: actions-rs/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v2
if: always()
with:
fetch-depth: 0
ref: ${{ github.head_ref }}
- name: Trufflehog Actions Scan
if: always()
uses: edplato/[email protected]
- name: Aqua Security Trivy
if: always()
uses: aquasecurity/[email protected]
with:
image-ref: 'gcr.io/distroless/cc-debian11'
format: 'table'
exit-code: '1'
ignore-unfixed: true
vuln-type: 'os,library'
severity: 'CRITICAL,HIGH'