Skip to content

Commit 845dd7b

Browse files
committed
Fix validators #5
1 parent 13dbf4d commit 845dd7b

6 files changed

Lines changed: 199 additions & 14 deletions

File tree

plugins/cisco_umbrella_destinations/.CHECKSUM

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"spec": "34a6971b85834467efa38f4b7d665604",
2+
"spec": "85fabb3f56f5851b2a0eab01e4279a70",
33
"manifest": "77f5c9f5a6d9d40dbc33804cf35a6675",
44
"setup": "a8892ded2ddcbe6c9a57333619152537",
55
"schemas": [
@@ -13,19 +13,19 @@
1313
},
1414
{
1515
"identifier": "dGet/schema.py",
16-
"hash": "92daab5e7bda5b299fc7937c7917115c"
16+
"hash": "e0fa31df8c7475c2eb20cdb66071fb62"
1717
},
1818
{
1919
"identifier": "dlCreate/schema.py",
20-
"hash": "95c2d85841148a887a40a126e74b6170"
20+
"hash": "35b55a1d03223566a3cf6117e08abb65"
2121
},
2222
{
2323
"identifier": "dlDelete/schema.py",
2424
"hash": "ba2f368f9fb79250ca2c6862a067b90f"
2525
},
2626
{
2727
"identifier": "dlGet/schema.py",
28-
"hash": "45e3b28b70775bb4bf4d24e7edc5e9b9"
28+
"hash": "760eef31291b89ee4dcef7ecda80ef8e"
2929
},
3030
{
3131
"identifier": "dlGetAll/schema.py",

plugins/cisco_umbrella_destinations/help.md

Lines changed: 185 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,188 @@ Example input:
134134

135135
##### Output
136136

137+
|Name|Type|Required|Description|
138+
|----|----|--------|-----------|
139+
|success|dlCollection|True|Successful returned value|
140+
141+
Example output:
142+
143+
```
144+
```
145+
146+
#### Destinations List GET (All)
147+
148+
This action is used to retrieve all destination lists of organization.
149+
150+
##### Input
151+
152+
|Name|Type|Default|Required|Description|Enum|Example|
153+
|----|----|-------|--------|-----------|----|-------|
154+
|organizationId|integer|None|True|Organization ID|None|1234567|
155+
156+
Example input:
157+
158+
```
159+
```
160+
161+
##### Output
162+
163+
|Name|Type|Required|Description|
164+
|----|----|--------|-----------|
165+
|success|dlCollection|True|Successful returned value|
166+
167+
Example output:
168+
169+
```
170+
```
171+
172+
#### Destinations List GET (All)
173+
174+
This action is used to retrieve all destination lists of organization.
175+
176+
##### Input
177+
178+
|Name|Type|Default|Required|Description|Enum|Example|
179+
|----|----|-------|--------|-----------|----|-------|
180+
|organizationId|integer|None|True|Organization ID|None|1234567|
181+
182+
Example input:
183+
184+
```
185+
```
186+
187+
##### Output
188+
189+
|Name|Type|Required|Description|
190+
|----|----|--------|-----------|
191+
|success|dlCollection|True|Successful returned value|
192+
193+
Example output:
194+
195+
```
196+
```
197+
198+
#### Destinations List GET (All)
199+
200+
This action is used to retrieve all destination lists of organization.
201+
202+
##### Input
203+
204+
|Name|Type|Default|Required|Description|Enum|Example|
205+
|----|----|-------|--------|-----------|----|-------|
206+
|organizationId|integer|None|True|Organization ID|None|1234567|
207+
208+
Example input:
209+
210+
```
211+
```
212+
213+
##### Output
214+
215+
|Name|Type|Required|Description|
216+
|----|----|--------|-----------|
217+
|success|dlCollection|True|Successful returned value|
218+
219+
Example output:
220+
221+
```
222+
```
223+
224+
#### Destinations List GET (All)
225+
226+
This action is used to retrieve all destination lists of organization.
227+
228+
##### Input
229+
230+
|Name|Type|Default|Required|Description|Enum|Example|
231+
|----|----|-------|--------|-----------|----|-------|
232+
|organizationId|integer|None|True|Organization ID|None|1234567|
233+
234+
Example input:
235+
236+
```
237+
```
238+
239+
##### Output
240+
241+
|Name|Type|Required|Description|
242+
|----|----|--------|-----------|
243+
|success|dlCollection|True|Successful returned value|
244+
245+
Example output:
246+
247+
```
248+
```
249+
250+
#### Destinations List GET (All)
251+
252+
This action is used to retrieve all destination lists of organization.
253+
254+
##### Input
255+
256+
|Name|Type|Default|Required|Description|Enum|Example|
257+
|----|----|-------|--------|-----------|----|-------|
258+
|organizationId|integer|None|True|Organization ID|None|1234567|
259+
260+
Example input:
261+
262+
```
263+
```
264+
265+
##### Output
266+
267+
|Name|Type|Required|Description|
268+
|----|----|--------|-----------|
269+
|success|dlCollection|True|Successful returned value|
270+
271+
Example output:
272+
273+
```
274+
```
275+
276+
#### Destinations List GET (All)
277+
278+
This action is used to retrieve all destination lists of organization.
279+
280+
##### Input
281+
282+
|Name|Type|Default|Required|Description|Enum|Example|
283+
|----|----|-------|--------|-----------|----|-------|
284+
|organizationId|integer|None|True|Organization ID|None|1234567|
285+
286+
Example input:
287+
288+
```
289+
```
290+
291+
##### Output
292+
293+
|Name|Type|Required|Description|
294+
|----|----|--------|-----------|
295+
|success|dlCollection|True|Successful returned value|
296+
297+
Example output:
298+
299+
```
300+
```
301+
302+
#### Destinations List GET (All)
303+
304+
This action is used to retrieve all destination lists of organization.
305+
306+
##### Input
307+
308+
|Name|Type|Default|Required|Description|Enum|Example|
309+
|----|----|-------|--------|-----------|----|-------|
310+
|organizationId|integer|None|True|Organization ID|None|1234567|
311+
312+
Example input:
313+
314+
```
315+
```
316+
317+
##### Output
318+
137319
|Name|Type|Required|Description|
138320
|----|----|--------|-----------|
139321
|success|dlCollection|True||
@@ -1416,13 +1598,14 @@ This action is used to create a destination list.
14161598
|Name|Type|Default|Required|Description|Enum|Example|
14171599
|----|----|-------|--------|-----------|----|-------|
14181600
|organizationId|integer|None|True|Organization ID|None|1234567|
1419-
|payload|dlCreate|None|True|List of destinations|None|None|
1601+
|payload|dlCreate|None|True|List of destinations|None|JSON Data for new list and all attributes|
14201602

14211603
Example input:
14221604

14231605
```
14241606
{
1425-
"organizationId": 1234567
1607+
"organizationId": 1234567,
1608+
"payload": "JSON Data for new list and all attributes"
14261609
}
14271610
```
14281611

plugins/cisco_umbrella_destinations/icon_cisco_umbrella_destinations/actions/dGet/schema.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ class DGetOutput(insightconnect_plugin_runtime.Output):
9898
"destination": {
9999
"type": "string",
100100
"title": "Destination",
101-
"description": "Destination can be domain, URL, IP",
101+
"description": "Destination can be DOMAIN, URL, IP",
102102
"order": 2
103103
},
104104
"id": {

plugins/cisco_umbrella_destinations/icon_cisco_umbrella_destinations/actions/dlCreate/schema.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class DlCreateInput(insightconnect_plugin_runtime.Input):
5353
"destination": {
5454
"type": "string",
5555
"title": "Destination",
56-
"description": "Destination can be domain, URL or IP | e.g. \\u003cdomain_name\\u003e",
56+
"description": "Destination can be DOMAIN, URL or IP",
5757
"order": 1
5858
},
5959
"type": {
@@ -119,7 +119,7 @@ class DlCreateInput(insightconnect_plugin_runtime.Input):
119119
"destination": {
120120
"type": "string",
121121
"title": "Destination",
122-
"description": "Destination can be domain, URL or IP | e.g. \\u003cdomain_name\\u003e",
122+
"description": "Destination can be DOMAIN, URL or IP",
123123
"order": 1
124124
},
125125
"type": {

plugins/cisco_umbrella_destinations/icon_cisco_umbrella_destinations/actions/dlGet/schema.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ class DlGetOutput(insightconnect_plugin_runtime.Output):
102102
"markedForDeletion": {
103103
"type": "boolean",
104104
"title": "Marked For Deletion",
105-
"description": "None,",
105+
"description": "None",
106106
"order": 10
107107
},
108108
"modifiedAt": {

plugins/cisco_umbrella_destinations/plugin.spec.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,13 @@ types:
5656
destinations:
5757
destination:
5858
type: string
59-
description: Destination can be domain, URL or IP | e.g. <domain_name>
59+
description: Destination can be DOMAIN, URL or IP
60+
example: Domain Name
6061
required: true
6162
type:
6263
type: string
6364
description: Type can be DOMAIN, URL, IPV4
65+
example: 10.10.10.10 / google.com
6466
required: true
6567
comment:
6668
type: string
@@ -352,7 +354,7 @@ types:
352354
required: false
353355
markedForDeletion:
354356
title: Marked For Deletion
355-
description: None,
357+
description: None
356358
example: false
357359
type: boolean
358360
required: false
@@ -364,7 +366,7 @@ types:
364366
required: false
365367
destination:
366368
name: Destination
367-
description: Destination can be domain, URL, IP
369+
description: Destination can be DOMAIN, URL, IP
368370
type: string
369371
required: false
370372
typeOf:
@@ -419,7 +421,7 @@ actions:
419421
title: Payload
420422
description: List of destinations
421423
type: dlCreate
422-
example:
424+
example: JSON Data for new list and all attributes
423425
required: true
424426
output:
425427
success:

0 commit comments

Comments
 (0)