forked from demisto/content
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplaybook-PostgreSQL-Test.yml
112 lines (112 loc) · 2.17 KB
/
playbook-PostgreSQL-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
id: PostgreSQL Test
version: -1
name: PostgreSQL Test
starttaskid: "0"
tasks:
"0":
id: "0"
taskid: da241676-a328-4850-8552-3449a1797625
type: start
task:
id: da241676-a328-4850-8552-3449a1797625
version: -1
name: ""
description: ""
iscommand: false
brand: ""
nexttasks:
'#none#':
- "1"
separatecontext: false
view: |-
{
"position": {
"x": 450,
"y": 50
}
}
note: false
evidencedata:
description: null
occurred: null
tags: null
customfields: {}
"1":
id: "1"
taskid: 9674640e-c06c-473e-8592-fa33e2806248
type: regular
task:
id: 9674640e-c06c-473e-8592-fa33e2806248
version: -1
name: Run a PostgreSQL Query
script: PostgreSQL|||pgsql-query
type: regular
iscommand: true
brand: PostgreSQL
nexttasks:
'#none#':
- "2"
scriptarguments:
query:
simple: select 'ALLGOOD' as val
separatecontext: false
view: |-
{
"position": {
"x": 450,
"y": 230
}
}
note: false
evidencedata:
description: null
occurred: null
tags: null
customfields: {}
"2":
id: "2"
taskid: 630d0a33-3041-4259-86fc-ea3d86bb3d61
type: regular
task:
id: 630d0a33-3041-4259-86fc-ea3d86bb3d61
version: -1
name: VerifyHumanReadableEquals
description: Verify given entry contains a string
scriptName: VerifyHumanReadableEquals
type: regular
iscommand: false
brand: ""
scriptarguments:
humanReadableEntryId:
simple: ${lastCompletedTaskEntries.[0]}
string:
simple: val,ALLGOOD
separatecontext: false
view: |-
{
"position": {
"x": 450,
"y": 410
}
}
note: false
evidencedata:
description: null
occurred: null
tags: null
customfields: {}
view: |-
{
"linkLabelsPosition": {},
"paper": {
"dimensions": {
"height": 455,
"width": 380,
"x": 450,
"y": 50
}
}
}
inputs: []
outputs: []
fromversion: 3.6.0