Skip to content

Commit 5ebb02e

Browse files
committed
feat: add Kusari Inspector workflow and security-insights entry
Signed-off-by: sonupreetam <spreetam@redhat.com>
1 parent 4b584ed commit 5ebb02e

2 files changed

Lines changed: 36 additions & 0 deletions

File tree

.github/workflows/kusari-scan.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Kusari Security Scan
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
8+
jobs:
9+
kusari-scan:
10+
uses: kusaridev/kusari-ci-templates/.github/workflows/kusari-scan-v1.yml@v1
11+
permissions:
12+
contents: read
13+
pull-requests: write # Required for PR comments
14+
secrets:
15+
KUSARI_CLIENT_ID: ${{ secrets.KUSARI_CLIENT_ID }}
16+
KUSARI_CLIENT_SECRET: ${{ secrets.KUSARI_CLIENT_SECRET }}
17+
with:
18+
fail_on_issues: false
19+
post_comment: true

security-insights.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,20 @@ repository:
7070
adhoc: true
7171
ci: true
7272
release: false
73+
- name: Kusari Inspector
74+
type: SCA
75+
version: v1
76+
rulesets:
77+
- built-in
78+
results:
79+
ci:
80+
name: CI SCA Results
81+
predicate-uri: https://github.com/kusaridev/kusari-ci-templates/blob/main/.github/workflows/kusari-scan-v1.yml
82+
location: https://github.com/gemaraproj/go-gemara/pulls
83+
comment: |
84+
Kusari Inspector analyzes pull requests for dependency and code security issues.
85+
Results are posted as PR comments.
86+
integration:
87+
adhoc: false
88+
ci: true
89+
release: false

0 commit comments

Comments
 (0)