Skip to content

Commit cc2c950

Browse files
PantevoSystemsDaniel
andauthored
ci: add security scans via shared templates (#1)
* ci: add security scans via shared templates * ci: retrigger after pipeline-templates went public * ci: add security-events permission for SARIF upload * ci: retrigger after semgrep fix in templates * ci: retrigger after semgrep fix in templates * ci: retrigger after semgrep fix in templates --------- Co-authored-by: Daniel <krueger.daniel@mail.de>
1 parent e184795 commit cc2c950

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

.github/workflows/security.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Security Scans
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
workflow_dispatch:
9+
10+
permissions:
11+
contents: read
12+
security-events: write
13+
14+
jobs:
15+
semgrep:
16+
uses: BlueCodeIT/pipeline-security-templates/.github/workflows/semgrep-sast.yml@main
17+
with:
18+
config: 'p/default'
19+
severity: 'WARNING'
20+
fail-on-issues: false
21+
22+
checkov:
23+
uses: BlueCodeIT/pipeline-security-templates/.github/workflows/checkov-iac.yml@main
24+
with:
25+
framework: 'github_actions,dockerfile'
26+
soft-fail: true

0 commit comments

Comments
 (0)