-
Notifications
You must be signed in to change notification settings - Fork 1.6k
/
HelloWorld.yml
303 lines (303 loc) · 9.65 KB
/
HelloWorld.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
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
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
category: Utilities
sectionOrder:
- Connect
- Collect
commonfields:
id: HelloWorld
version: -1
configuration:
- additionalinfo: Reliability of the source providing the intelligence data.
display: Source Reliability
name: integrationReliability
options:
- A+ - 3rd party enrichment
- A - Completely reliable
- B - Usually reliable
- C - Fairly reliable
- D - Not usually reliable
- E - Unreliable
- F - Reliability cannot be judged
defaultvalue: C - Fairly reliable
type: 15
section: Collect
required: false
- defaultvalue: https://api.xsoar-example.com
display: Server URL (e.g., https://api.xsoar-example.com)
name: url
required: true
type: 0
section: Connect
- display: Fetch incidents
name: isFetch
type: 8
section: Collect
required: false
- display: Incident type
name: incidentType
type: 13
section: Connect
required: false
- defaultvalue: '10'
display: Maximum number of alerts per fetch
name: max_fetch
type: 0
section: Collect
required: false
- displaypassword: API Key
name: credentials
required: true
type: 9
hiddenusername: true
section: Connect
- defaultvalue: '65'
display: Score threshold for IP reputation command
additionalinfo: Set this to determine the HelloWorld score that will determine if an IP is malicious (0-100)
name: threshold_ip
type: 0
section: Collect
advanced: true
required: false
- defaultvalue: "low"
display: Severity of alerts to fetch
name: severity
type: 15
section: Collect
required: true
options:
- low
- medium
- high
- critical
- defaultvalue: 3 days
display: First fetch time
name: first_fetch
type: 0
section: Collect
required: false
- display: Trust any certificate (not secure)
name: insecure
type: 8
section: Connect
advanced: true
required: false
- display: Use system proxy settings
name: proxy
required: false
type: 8
section: Connect
advanced: true
description: This is the Hello World integration for getting started.
display: HelloWorld
name: HelloWorld
script:
commands:
- arguments:
- description: The name of whom you want to say hello to.
name: name
description: Hello command - prints hello to anyone.
name: helloworld-say-hello
outputs:
- contextPath: hello
description: Should be Hello **something** here.
type: String
- arguments:
- description: Filter by alert item ID. If not provided, all IDs will be retrieved.
name: alert_id
- description: How many alerts to fetch. Default is 10.
name: limit
- description: The severity by which to filter the alerts.
name: severity
description: Lists the example alerts as it would be fetched from the API.
name: helloworld-alert-list
outputs:
- contextPath: HelloWorld.alert.id
description: The ID of the alert.
type: Number
- contextPath: HelloWorld.alert.name
description: The name of the alert.
type: String
- contextPath: HelloWorld.alert.severity
description: The severity of the alert.
type: String
- contextPath: HelloWorld.alert.date
description: The date of the alert occurrence.
type: Date
- contextPath: HelloWorld.alert.status
description: The status of the alert.
type: String
- arguments:
- description: The alert's ID to add the note to.
name: alert_id
required: true
- description: The comment to add to the note.
name: note_text
required: true
description: Example of creating a new item in the API.
name: helloworld-alert-note-create
outputs:
- contextPath: HelloWorld.alert.id
description: The ID of the alert.
type: Number
- contextPath: HelloWorld.alert.name
description: The name of the alert.
type: String
- contextPath: HelloWorld.alert.severity
description: The severity of the alert.
type: String
- contextPath: HelloWorld.alert.date
description: The date of the alert occurrence.
type: Date
- contextPath: HelloWorld.alert.status
description: The status of the alert.
type: String
- arguments:
- description: A comma-separated list of IPs.
name: ip
default: true
isArray: true
- description: If the IP has a reputation above the threshold, then the IP is defined as malicious. If a threshold not set, then threshold from the instance configuration is used.
name: threshold
defaultValue: 65
description: Return IP information and reputation.
name: ip
outputs:
- contextPath: DBotScore.Indicator
description: The indicator that was tested.
type: String
- contextPath: DBotScore.Score
description: The actual score.
type: Number
- contextPath: DBotScore.Type
description: The indicator type.
type: String
- contextPath: DBotScore.Vendor
description: The vendor used to calculate the score.
type: String
- contextPath: HelloWorld.IP.asn
description: The autonomous system name for the IP address.
type: String
- contextPath: HelloWorld.IP.asn_cidr
description: The ASN CIDR.
type: String
- contextPath: HelloWorld.IP.asn_country_code
description: The ASN country code.
type: String
- contextPath: HelloWorld.IP.asn_date
description: The date on which the ASN was assigned.
type: Date
- contextPath: HelloWorld.IP.asn_description
description: The ASN description.
type: String
- contextPath: HelloWorld.IP.asn_registry
description: The registry the ASN belongs to.
type: String
- contextPath: HelloWorld.IP.entities
description: Entities associated to the IP.
type: String
- contextPath: HelloWorld.IP.ip
description: The actual IP address.
type: String
- contextPath: HelloWorld.IP.network.cidr
description: Network CIDR for the IP address.
type: String
- contextPath: HelloWorld.IP.network.country
description: The country of the IP address.
type: Unknown
- contextPath: HelloWorld.IP.network.end_address
description: The last IP address of the CIDR.
type: String
- contextPath: HelloWorld.IP.network.events.action
description: The action that happened on the event.
type: String
- contextPath: HelloWorld.IP.network.events.actor
description: The actor that performed the action on the event.
type: Unknown
- contextPath: HelloWorld.IP.network.events.timestamp
description: The timestamp when the event occurred.
type: String
- contextPath: HelloWorld.IP.network.handle
description: The handle of the network.
type: String
- contextPath: HelloWorld.IP.network.ip_version
description: The IP address version.
type: String
- contextPath: HelloWorld.IP.network.links
description: Links associated to the IP address.
type: String
- contextPath: HelloWorld.IP.network.name
description: The name of the network.
type: String
- contextPath: HelloWorld.IP.network.notices.description
description: The description of the notice.
type: String
- contextPath: HelloWorld.IP.network.notices.links
description: Links associated with the notice.
type: Unknown
- contextPath: HelloWorld.IP.network.notices.title
description: Title of the notice.
type: String
- contextPath: HelloWorld.IP.network.parent_handle
description: Handle of the parent network.
type: String
- contextPath: HelloWorld.IP.network.raw
description: Additional raw data for the network.
type: Unknown
- contextPath: HelloWorld.IP.network.remarks
description: Additional remarks for the network.
type: Unknown
- contextPath: HelloWorld.IP.network.start_address
description: The first IP address of the CIDR.
type: String
- contextPath: HelloWorld.IP.network.status
description: Status of the network.
type: String
- contextPath: HelloWorld.IP.network.type
description: The type of the network.
type: String
- contextPath: HelloWorld.IP.query
description: IP address that was queried.
type: String
- contextPath: HelloWorld.IP.raw
description: Additional raw data for the IP address.
type: Unknown
- contextPath: HelloWorld.IP.score
description: Reputation score from HelloWorld for this IP (0 to 100, where higher is worse).
type: Number
- contextPath: IP.Address
description: IP address.
type: String
- contextPath: IP.Malicious.Vendor
description: The vendor reporting the IP address as malicious.
type: String
- contextPath: IP.Malicious.Description
description: A description explaining why the IP address was reported as malicious.
type: String
- contextPath: IP.ASN
description: The autonomous system name for the IP address.
type: String
- contextPath: IP.Relationships.EntityA
description: The source of the relationship.
type: string
- contextPath: IP.Relationships.EntityB
description: The destination of the relationship.
type: string
- contextPath: IP.Relationships.Relationship
description: The name of the relationship.
type: string
- contextPath: IP.Relationships.EntityAType
description: The type of the source of the relationship.
type: string
- contextPath: IP.Relationships.EntityBType
description: The type of the destination of the relationship.
type: string
dockerimage: demisto/python3:3.10.13.87159
isfetch: true
runonce: false
script: '-'
subtype: python3
type: python
defaultclassifier: HelloWorld
defaultmapperin: HelloWorld-mapper
fromversion: 6.8.0
tests:
- No tests (auto formatted)