-
Notifications
You must be signed in to change notification settings - Fork 0
53 lines (40 loc) · 1.16 KB
/
Copy pathappsec.yml
File metadata and controls
53 lines (40 loc) · 1.16 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: AppSec
on:
pull_request:
branches: ["main"]
push:
branches: ["main"]
permissions:
contents: read
concurrency:
group: appsec-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
application-security:
runs-on: ubuntu-24.04
steps:
# actions/checkout v4.2.2
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
# actions/setup-python v5.6.0
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065
with:
python-version: "3.11"
cache: "pip"
- name: Install dependencies
run: |
python -m pip install --upgrade pip==25.1.1
python -m pip install -e ".[dev,security]"
- name: Scanner inventory
run: make security-tools
- name: Secret scanning
run: make secrets-scan
- name: Semgrep rule tests
run: make semgrep-test
- name: SAST
run: make sast
- name: Dependency audit
run: make dependency-audit
- name: SBOM
run: make sbom verify-sbom
- name: AppSec evidence
run: make appsec-evidence verify-appsec-evidence appsec-report