forked from kunalnagarco/action-cve
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
43 lines (43 loc) · 1.64 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: 'check-cve'
description: 'Send GitHub vulnerability alerts to multiple platforms like Slack, PagerDuty.'
author: '@kunalnagar'
inputs:
token:
description: 'GitHub Personal Access Token'
microsoft_teams_webhook:
description: 'Microsoft Teams Channel Webhook URL. More info: https://docs.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/how-to/add-incoming-webhook'
slack_webhook:
description: 'Slack Webhook URL. More info: https://api.slack.com/messaging/webhooks'
pager_duty_integration_key:
description: 'Pager Duty Integration Key. More info: https://support.pagerduty.com/docs/services-and-integrations'
zenduty_api_key:
description: 'Create a Zenduty API Key by visiting Account Settings > API Keys'
zenduty_service_id:
description: 'Zenduty Service ID: https://docs.zenduty.com/docs/services'
zenduty_escalation_policy_id:
description: 'Zenduty Escalation Policy ID: https://docs.zenduty.com/docs/escalationpolicies'
email_from:
description: 'Sender email'
email_list:
description: 'Comma-separated list of emails sent as bcc'
email_subject:
description: 'Custom subject line for email filtering'
email_transport_smtp_host:
description: 'SMTP host e.g. smtp.gmail.com'
default: 'smtp.gmail.com'
email_transport_smtp_port:
description: 'SMTP port'
default: 587
email_transport_smtp_user:
description: 'SMTP user'
email_transport_smtp_password:
description: 'SMTP password'
count:
description: 'Number of vulnerability alerts to send'
default: 20
branding:
icon: 'alert-octagon'
color: 'red'
runs:
using: 'node12'
main: 'dist/index.js'