forked from demisto/content
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplaybook-ADGetUser_fails_with_v2-Test.yml
154 lines (152 loc) · 3.49 KB
/
playbook-ADGetUser_fails_with_v2-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
145
146
147
148
149
150
151
152
153
154
id: Test ADGetUser Fails with no instances 'Active Directory Query' (old version)
version: -1
name: Test ADGetUser Fails with no instances 'Active Directory Query' (old version)
fromversion: "4.1.0"
starttaskid: "0"
tasks:
"0":
id: "0"
taskid: 0d9e5b93-cd1f-4c49-86f8-72c9fd643e97
type: start
task:
id: 0d9e5b93-cd1f-4c49-86f8-72c9fd643e97
version: -1
name: ""
iscommand: false
brand: ""
nexttasks:
'#none#':
- "2"
separatecontext: false
view: |-
{
"position": {
"x": 50,
"y": 50
}
}
note: false
timertriggers: []
ignoreworker: false
"2":
id: "2"
taskid: 430b0162-0b03-4100-8803-f35b10f44c5c
type: regular
task:
id: 430b0162-0b03-4100-8803-f35b10f44c5c
version: -1
name: Run ADGetUser
description: |-
Use Active Directory to retrieve detailed information about a user account. The user can be specified by name, email or as an Active Directory Distinguished Name (DN).
If no filter is provided, the result will show all users.
The script will be executed with an 'Active Directory Query' instance by default.
To use this script with an instance of 'Active Directory Query V2' specify using-brand="Active Directory Query".
scriptName: ADGetUser
type: regular
iscommand: false
brand: ""
nexttasks:
'#none#':
- "3"
scriptarguments:
attributes: {}
customFieldData: {}
customFieldType: {}
dn: {}
email: {}
extend-context:
simple: errData=
headers: {}
limit: {}
name: {}
nestedSearch: {}
userAccountControlOut: {}
username: {}
continueonerror: true
separatecontext: false
view: |-
{
"position": {
"x": 50,
"y": 370
}
}
note: false
timertriggers: []
ignoreworker: false
"3":
id: "3"
taskid: 755f9100-27ce-40bb-815a-4bab16eaf5f8
type: condition
task:
id: 755f9100-27ce-40bb-815a-4bab16eaf5f8
version: -1
name: Verify expected err message is shown
type: condition
iscommand: false
brand: ""
nexttasks:
"yes":
- "5"
separatecontext: false
conditions:
- label: "yes"
condition:
- - operator: isEqualString
left:
value:
simple: errData
iscontext: true
right:
value:
simple: |-
No instances of "Active Directory Query" are configured.
If you are trying to run "ADGetUser" with "Active Directory Query V2", please use the aquivilant command "ad-get-user" instead.
view: |-
{
"position": {
"x": 50,
"y": 545
}
}
note: false
timertriggers: []
ignoreworker: false
"5":
id: "5"
taskid: d510a5b6-c8e8-44c9-8e7a-a2c442532bbd
type: title
task:
id: d510a5b6-c8e8-44c9-8e7a-a2c442532bbd
version: -1
name: Done
type: title
iscommand: false
brand: ""
separatecontext: false
view: |-
{
"position": {
"x": 50,
"y": 900
}
}
note: false
timertriggers: []
ignoreworker: false
view: |-
{
"linkLabelsPosition": {
"3_5_yes": 0.41
},
"paper": {
"dimensions": {
"height": 915,
"width": 380,
"x": 50,
"y": 50
}
}
}
inputs: []
outputs: []