Skip to content

Commit 13abc8c

Browse files
committed
Update workflow dispatch
1 parent a4fd89b commit 13abc8c

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/vulnerability-scan-failure-notify.yaml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@ name: Vulnerability Scan Failure Slack Notify
22
on:
33
push: # todo: will remove before merging
44
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:
14+
'CRITICAL,HIGH'
515
schedule:
616
- cron: '0 16 * * *' # 9:00 AM GMT -7
717
- cron: '0 0 * * *' # 5:00 PM GMT -7
@@ -13,4 +23,4 @@ jobs:
1323
SLACK_WEBHOOK : ${{ secrets.SLACK_WEBHOOK }}
1424
with:
1525
scan_type : image
16-
java_version: "21"
26+
java_version: "21"

0 commit comments

Comments
 (0)