forked from demisto/content
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplaybook-GeneratePassword-Test.yml
144 lines (144 loc) · 2.67 KB
/
playbook-GeneratePassword-Test.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
id: GeneratePassword-Test
version: -1
name: GeneratePassword-Test
starttaskid: "0"
tasks:
"0":
id: "0"
taskid: 4d61e74f-76ab-4fdd-87da-c804ae03ceff
type: start
task:
id: 4d61e74f-76ab-4fdd-87da-c804ae03ceff
version: -1
name: ""
iscommand: false
brand: ""
nexttasks:
'#none#':
- "4"
view: |-
{
"position": {
"x": 50,
"y": 50
}
}
"1":
id: "1"
taskid: f7cf7adf-de24-4794-8b6f-12aae6ecc39d
type: regular
task:
id: f7cf7adf-de24-4794-8b6f-12aae6ecc39d
version: -1
name: Generate Password
description: Default Args
scriptName: GeneratePassword
type: regular
iscommand: false
brand: ""
nexttasks:
'#none#':
- "2"
scriptarguments:
debug: ""
max_digits: ""
max_lcase: ""
max_symbols: ""
max_ucase: ""
min_digits: ""
min_lcase: ""
min_symbols: ""
min_ucase: ""
view: |-
{
"position": {
"x": 50,
"y": 370
}
}
"2":
id: "2"
taskid: 7ceee2b9-dc83-473d-81eb-624ba4b9a6f4
type: condition
task:
id: 7ceee2b9-dc83-473d-81eb-624ba4b9a6f4
version: -1
name: Does New Password Exists in Context
scriptName: Exists
type: condition
iscommand: false
brand: ""
nexttasks:
"yes":
- "3"
scriptarguments:
expectedValue: ""
fields: ""
path: ""
value: ${NEW_PASSWORD}
view: |-
{
"position": {
"x": 50,
"y": 545
}
}
"3":
id: "3"
taskid: ab10f192-4cf6-4e78-86a1-203f7b25cf74
type: regular
task:
id: ab10f192-4cf6-4e78-86a1-203f7b25cf74
version: -1
name: Print if New Password
scriptName: Print
type: regular
iscommand: false
brand: ""
scriptarguments:
value: 'Success! '
view: |-
{
"position": {
"x": 50,
"y": 720
}
}
"4":
id: "4"
taskid: 8a2aae1f-820c-4889-8104-5abd08ea3f0b
type: regular
task:
id: 8a2aae1f-820c-4889-8104-5abd08ea3f0b
version: -1
name: Delete All Context
scriptName: DeleteContext
type: regular
iscommand: false
brand: ""
nexttasks:
'#none#':
- "1"
scriptarguments:
all: "yes"
key: ""
view: |-
{
"position": {
"x": 50,
"y": 195
}
}
view: |-
{
"linkLabelsPosition": {},
"paper": {
"dimensions": {
"height": 765,
"width": 380,
"x": 50,
"y": 50
}
}
}
inputs: []