-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
62 lines (62 loc) · 2.28 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
name: 'Security Hub Visibility'
description: 'Syncs AWS Security Hub findings with Jira issues'
author: 'MAC-FC'
inputs:
# Jira
jira-username:
description: 'Jira username that will be the reporter of issues created when syncing'
required: true
jira-token:
description: 'Jira token corresponding to the jira-username input with permission to manage issues for the target Jira project'
required: true
jira-project-key:
description: 'Jira project key where issues will be created'
required: true
jira-host:
description: 'Host of the target Jira instance'
required: true
jira-ignore-statuses:
description: 'Comma-separated list of Jira issue statuses that will be ignored when syncing'
required: false
default: 'Done'
jira-epic-key:
description: 'Jira epic key where issues will be created'
required: false
jira-custom-fields:
description: 'JSON string of Jira custom field keys/values, e.g. { "customfield_14117": "example-value" }'
# AWS
aws-region:
description: 'Target AWS region for Security Hub findings'
required: false
default: 'us-east-1'
aws-severities:
description: 'Comma-separated list of Security Hub finding severities to sync'
required: false
default: 'CRITICAL,HIGH,MEDIUM'
auto-close:
description: 'a boolean to support auto closing for issue'
default: "true"
assign-jira-ticket-to:
description: 'the assignee accountId to assign the Jira ticket to}'
required: false
jira-link-id:
description: 'the new created issue will be linked to this link id'
required: false
jira-link-type:
description: "this defines the relation of the new issue with feature issue specified and default value for this is 'Relates'"
required: false
include-all-products:
description: "a boolean to enable findings from other products"
required: false
skip-products:
description: "comma separated list of product names for those the findings should be skipped"
required: false
jira-link-direction:
description: "this variable is to specify the direction of linked issue either inward or outward"
required: false
jira-labels-config:
description: "This variable is to specify stringified labels config"
required: false
runs:
using: 'node20'
main: 'dist/index.js'