Skip to content

Commit 05fd8da

Browse files
committed
Add vulnerability scan
1 parent d3fe694 commit 05fd8da

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Vulnerability Scan Failure Slack Notify
2+
on:
3+
push:
4+
workflow_dispatch:
5+
inputs:
6+
vulnerability_severity:
7+
description: The severity to fail the workflow if such vulnerability is detected. DO NOT override it unless a Jira ticket is raised. DO NOT use 'CRITICAL' unless a Jira ticket is raised.
8+
type: choice
9+
options:
10+
- CRITICAL,HIGH
11+
- CRITICAL,HIGH,MEDIUM
12+
- CRITICAL
13+
default: 'CRITICAL,HIGH'
14+
schedule:
15+
- cron: '0 16 * * *' # 9:00 AM GMT -7
16+
- cron: '0 0 * * *' # 5:00 PM GMT -7
17+
18+
jobs:
19+
vulnerability-scan-failure-notify:
20+
uses: IABTechLab/uid2-shared-actions/.github/workflows/shared-vulnerability-scan-failure-notify.yaml@v3
21+
secrets:
22+
SLACK_WEBHOOK : ${{ secrets.SLACK_WEBHOOK }}
23+
with:
24+
scan_type : fs

0 commit comments

Comments
 (0)