-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathlink.json
201 lines (201 loc) · 6.78 KB
/
link.json
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
{
"appid": "c5a92c45-8c3e-417b-be46-01e8d7c677a6",
"name": "Link",
"description": "Generates a widget with clickable links",
"publisher": "Mhike",
"type": "devops",
"main_module": "link_connector.py",
"app_version": "1.1.2",
"utctime_updated": "2023-03-10T14:03:35.000000Z",
"package_name": "phantom_link",
"product_vendor": "Mhike",
"product_name": "Link",
"product_version_regex": ".*",
"min_phantom_version": "4.9.0",
"python_version": "3",
"logo": "logo_link.svg",
"logo_dark": "logo_link_dark.svg",
"license": "Copyright (c) Mhike, 2022",
"contributors": [
{
"name": "Mhike"
}
],
"configuration": {
"https_port": {
"description": "Splunk SOAR HTTPS port if your instance uses one other than 443",
"data_type": "string",
"order": 0,
"name": "https_port",
"id": 0
},
"auth_token": {
"description": "Splunk SOAR auth token if your instance requires auth for internal 127.0.0.1 calls",
"data_type": "password",
"order": 1,
"name": "auth_token",
"id": 1
},
"debug": {
"description": "Print debugging statements to log",
"data_type": "boolean",
"default": false,
"order": 2,
"name": "debug",
"id": 2
}
},
"actions": [
{
"action": "add link",
"description": "Generate a widget with clickable links",
"verbose": "Adds the specified links with the descriptor as the link text. Links are added to the existing link widget if one exists, otherwise a new widget will be generated.",
"type": "generic",
"identifier": "add_link",
"read_only": false,
"parameters": {
"url": {
"data_type": "string",
"order": 0,
"description": "URL to be added as link, requires the description field",
"name": "url",
"id": 1,
"param_name": "url"
},
"description": {
"data_type": "string",
"order": 1,
"description": "Description to be added as link text, requires the url field",
"name": "description",
"id": 2,
"param_name": "description"
},
"linkset": {
"data_type": "string",
"order": 2,
"description": "Add multiple links at once with a list of dictionaries containing a URL and a link descriptor",
"name": "linkset",
"id": 3,
"param_name": "linkset"
},
"append": {
"data_type": "boolean",
"order": 3,
"description": "Append link instead of overwriting",
"required": true,
"name": "append",
"id": 4,
"param_name": "append"
},
"sort": {
"data_type": "boolean",
"order": 4,
"description": "Sort links alphabetically",
"name": "sort",
"id": 5,
"param_name": "sort"
}
},
"render": {
"width": 12,
"title": "Links",
"type": "custom",
"height": 5,
"view": "link_widget_view.display_view"
},
"lock": {
"enabled": true,
"data_path": "linklock",
"timeout": 600
},
"output": [
{
"data_path": "action_result.status",
"data_type": "string",
"example_values": [
"success",
"failed"
]
},
{
"data_path": "action_result.parameter.append",
"data_type": "string"
},
{
"data_path": "action_result.parameter.description",
"data_type": "string"
},
{
"data_path": "action_result.parameter.linkset",
"data_type": "string"
},
{
"data_path": "action_result.parameter.sort",
"data_type": "string"
},
{
"data_path": "action_result.parameter.url",
"data_type": "string"
},
{
"data_path": "action_result.data.*.linkset",
"data_type": "string"
},
{
"data_path": "action_result.summary",
"data_type": "string"
},
{
"data_path": "action_result.message",
"data_type": "string"
},
{
"data_path": "summary.total_objects",
"data_type": "numeric"
},
{
"data_path": "summary.total_objects_successful",
"data_type": "numeric"
}
],
"versions": "EQ(*)"
},
{
"action": "test connectivity",
"identifier": "test_connectivity",
"description": "Test connectivity to local SOAR instance",
"type": "test",
"read_only": true,
"parameters": {},
"output": [
{
"data_path": "action_result.status",
"data_type": "string",
"example_values": [
"success",
"failed"
]
},
{
"data_path": "action_result.message",
"data_type": "string"
},
{
"data_path": "summary.total_objects",
"data_type": "numeric"
},
{
"data_path": "summary.total_objects_successful",
"data_type": "numeric"
}
],
"versions": "EQ(*)"
}
],
"directory": "link_c5a92c45-8c3e-417b-be46-01e8d7c677a6",
"version": 1,
"appname": "-",
"executable": "spawn3",
"disabled": false,
"custom_made": true
}