Skip to content

Commit 4fe2da1

Browse files
authored
[TT-15942]: Integrate Sentinel One CNS scanner workflow (#7529)
This adds a github action workflow that will scan the code base for vulnerabilities, secrets, misconfigurations etc. on every pull request. These can be manged based on centrally set up rules on the S1 console. Related Issue: TT-15942 --------- Signed-off-by: Asutosh <[email protected]>
1 parent 0c703e1 commit 4fe2da1

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/s1-cns-scans.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
name: SentinelOne CNS Scan
3+
4+
on: # yamllint disable-line rule:truthy
5+
pull_request:
6+
types: [opened, reopened, synchronize, ready_for_review]
7+
branches: [master]
8+
9+
jobs:
10+
s1_scanner:
11+
uses: TykTechnologies/github-actions/.github/workflows/s1-cns-scan.yml@main
12+
permissions:
13+
contents: read
14+
with:
15+
iac_enabled: false
16+
tag: service:vulnscan
17+
scope_type: ACCOUNT
18+
secrets:
19+
S1_API_TOKEN: ${{ secrets.S1_API_TOKEN }}
20+
CONSOLE_URL: ${{ secrets.S1_CONSOLE_URL }}
21+
SCOPE_ID: ${{ secrets.S1_SCOPE_ID }}

0 commit comments

Comments
 (0)