Skip to content

Commit 43b4a8d

Browse files
authored
feat: add aikido security workflow
This adds a workflow which will run on each PR to scan with the AiKido security tool. Fixes: #55 URL: https://github.com/marketplace/actions/aikido-security-github-action Signed-off-by: Jaremy Hatler <hatler.jaremy@gmail.com>
1 parent 47aee14 commit 43b4a8d

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

.github/workflows/aikido.yml

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Aikido Security
2+
3+
on:
4+
pull_request:
5+
6+
concurrency:
7+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
8+
cancel-in-progress: true
9+
10+
permissions: {}
11+
12+
jobs:
13+
aikido-security:
14+
runs-on: ubuntu-latest
15+
permissions:
16+
contents: read
17+
pull-requests: write
18+
id-token: write
19+
security-events: write
20+
21+
steps:
22+
- name: Checkout code
23+
uses: actions/checkout@v4
24+
25+
- name: Detect new vulnerabilities
26+
uses: AikidoSec/github-actions-workflow@v1.0.13
27+
with:
28+
secret-key: ${{ secrets.AIKIDO_SECRET_KEY }}
29+
fail-on-timeout: true
30+
fail-on-dependency-scan: true
31+
fail-on-sast-scan: false
32+
fail-on-iac-scan: false
33+
minimum-severity: 'LOW'
34+
timeout-seconds: 180
35+
post-scan-status-comment: 'only_if_new_findings'
36+
post-sast-review-comments: 'on'
37+
github-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)