Skip to content

Commit

Permalink
Clean skipped tests (#2199)
Browse files Browse the repository at this point in the history
* remove from skipped tests:
 - McAfee ATD
 - NetWitness Endpoint Test

* fixed vxstream test pb and removed from skipped

* remove old Cb Response testing (this version of cb response was deprecated)

* fixed vxstream test pb and removed from skipped #2
  • Loading branch information
noaco authored and bakatzir committed Oct 4, 2018
1 parent d42c4dc commit afa4dd7
Show file tree
Hide file tree
Showing 2 changed files with 97 additions and 117 deletions.
193 changes: 96 additions & 97 deletions TestPlaybooks/playbook-VxStream_Test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@ starttaskid: "0"
tasks:
"0":
id: "0"
taskid: b0bb57b5-689e-4abc-87cc-3556f38da503
taskid: 0552ded5-b8a2-4777-879a-98b606a8b12a
type: start
task:
id: b0bb57b5-689e-4abc-87cc-3556f38da503
id: 0552ded5-b8a2-4777-879a-98b606a8b12a
version: -1
name: ""
iscommand: false
brand: ""
nexttasks:
'#none#':
- "1"
- "11"
separatecontext: false
view: |-
{
Expand All @@ -24,12 +24,13 @@ tasks:
"y": 50
}
}
note: false
"1":
id: "1"
taskid: e9583b84-5688-4d4b-840d-ad43ed84a6df
taskid: 72762a77-d7db-4ccb-8f3f-d8a18f172077
type: regular
task:
id: e9583b84-5688-4d4b-840d-ad43ed84a6df
id: 72762a77-d7db-4ccb-8f3f-d8a18f172077
version: -1
name: Get Environments
description: Get a list of all available environments
Expand All @@ -45,15 +46,16 @@ tasks:
{
"position": {
"x": 50,
"y": 195
"y": 370
}
}
note: false
"2":
id: "2"
taskid: 387dbfa4-5039-4930-811f-55c2bf1cc265
taskid: 52d3d3fc-52a4-47f0-8f70-42ce0fa49f51
type: regular
task:
id: 387dbfa4-5039-4930-811f-55c2bf1cc265
id: 52d3d3fc-52a4-47f0-8f70-42ce0fa49f51
version: -1
name: 'Verify Context get-environments '
description: |-
Expand All @@ -80,15 +82,16 @@ tasks:
{
"position": {
"x": 50,
"y": 370
"y": 545
}
}
note: false
"3":
id: "3"
taskid: 2a315c49-86db-4292-81ad-8256c19bd3b6
taskid: c2f92980-0c48-4590-85aa-3b063c7102fd
type: regular
task:
id: 2a315c49-86db-4292-81ad-8256c19bd3b6
id: c2f92980-0c48-4590-85aa-3b063c7102fd
version: -1
name: Search
description: Search the database using the VXStream search syntax
Expand All @@ -98,7 +101,7 @@ tasks:
brand: VxStream
nexttasks:
'#none#':
- "4"
- "12"
scriptarguments:
authentihash: {}
av_detect: {}
Expand All @@ -113,62 +116,28 @@ tasks:
imp_hash: {}
port: {}
query:
simple: url:http://www.facebook.com/
simple: b2ac43820cdf8634e1a437b9723ec110513d3dd7a2f8d4fa3192babe3eaa4b8e
similar_to: {}
ssdeep: {}
tag: {}
url: {}
verdict: {}
vx_family: {}
separatecontext: false
view: |-
{
"position": {
"x": 50,
"y": 545
}
}
"4":
id: "4"
taskid: 062a0984-3a67-4d62-8570-9e8a83d29bf8
type: regular
task:
id: 062a0984-3a67-4d62-8570-9e8a83d29bf8
version: -1
name: Verify Context search
description: |-
Verifies path in context:
- Verifies path existence
- If matching object is an array: verify fields exists in each of the objects in the array
- If matching object is not an array: verify fields exists in matching object
- if 'expectedValue' is given: ensure that the given value is equal to the context path
scriptName: VerifyContext
type: regular
iscommand: false
brand: ""
nexttasks:
'#none#':
- "5"
scriptarguments:
expectedValue: {}
fields:
simple: SHA256,environmentId,start_time,threatscore,verdict,environmentDescription,submitname,size
path:
simple: VX.Search
separatecontext: false
view: |-
{
"position": {
"x": 50,
"y": 720
}
}
note: false
"5":
id: "5"
taskid: 38b26c63-ce85-4291-8c4f-f3cf5dccd88e
taskid: 5d0c7a0e-5198-4ea8-8527-6c40daa6817d
type: regular
task:
id: 38b26c63-ce85-4291-8c4f-f3cf5dccd88e
id: 5d0c7a0e-5198-4ea8-8527-6c40daa6817d
version: -1
name: Scan
description: Get summary information for a given MD5, SHA1 or SHA256 and all
Expand All @@ -182,56 +151,57 @@ tasks:
- "6"
scriptarguments:
file:
simple: ${VX.Search.SHA256}
simple: 30d68d5f036e3edda345a0be211a14145fa763372620648d3dc2f8f7dbdf43c4
separatecontext: false
view: |-
{
"position": {
"x": 50,
"y": 895
"y": 1070
}
}
note: false
"6":
id: "6"
taskid: c049eaec-367b-4581-8501-d15dcb1f04e3
type: regular
taskid: eb811650-9d9b-4ce0-864f-0f2a23721b4a
type: condition
task:
id: c049eaec-367b-4581-8501-d15dcb1f04e3
id: eb811650-9d9b-4ce0-864f-0f2a23721b4a
version: -1
name: Verify Context scan
name: Exists scan
description: |-
Verifies path in context:
- Verifies path existence
- If matching object is an array: verify fields exists in each of the objects in the array
- If matching object is not an array: verify fields exists in matching object
- if 'expectedValue' is given: ensure that the given value is equal to the context path
scriptName: VerifyContext
type: regular
scriptName: Exists
type: condition
iscommand: false
brand: ""
nexttasks:
'#none#':
"yes":
- "7"
scriptarguments:
expectedValue: {}
fields:
simple: SHA256,environmentId,analysis_start_time,submitname,total_network_connections,total_processes,total_signatures,hosts,isinteresting,domains,isurlanalysis
path:
simple: File
value:
complex:
root: File
accessor: environmentId
separatecontext: false
view: |-
{
"position": {
"x": 50,
"y": 1070
"y": 1245
}
}
note: false
"7":
id: "7"
taskid: 0c07c374-da36-4e3b-8aad-7c667a94eb4f
taskid: 736e0766-beff-4298-8f03-dbb7e0b2c084
type: regular
task:
id: 0c07c374-da36-4e3b-8aad-7c667a94eb4f
id: 736e0766-beff-4298-8f03-dbb7e0b2c084
version: -1
name: DeleteContext
description: Delete field from context
Expand All @@ -251,15 +221,16 @@ tasks:
{
"position": {
"x": 50,
"y": 1245
"y": 1420
}
}
note: false
"8":
id: "8"
taskid: 045ec012-3acb-40e6-844c-1262a02086a9
taskid: ca13da23-a154-42f5-836d-51e13b5abd91
type: regular
task:
id: 045ec012-3acb-40e6-844c-1262a02086a9
id: ca13da23-a154-42f5-836d-51e13b5abd91
version: -1
name: Download PDF file
description: Sends http request. Returns the response as json.
Expand Down Expand Up @@ -290,25 +261,23 @@ tasks:
{
"position": {
"x": 50,
"y": 1420
"y": 1595
}
}
note: false
"9":
id: "9"
taskid: 966f611b-adaa-4847-8d43-9c1c1da8255c
taskid: a3b98b59-2549-4a7c-8e8b-622fdde88d18
type: regular
task:
id: 966f611b-adaa-4847-8d43-9c1c1da8255c
id: a3b98b59-2549-4a7c-8e8b-622fdde88d18
version: -1
name: crowdstrike-detonate-file
description: Detonate file through Falcon Sandbox
script: VxStream|||crowdstrike-detonate-file
type: regular
iscommand: true
brand: VxStream
nexttasks:
'#none#':
- "10"
scriptarguments:
delay: {}
entryId:
Expand All @@ -322,52 +291,82 @@ tasks:
{
"position": {
"x": 50,
"y": 1595
"y": 1770
}
}
"10":
id: "10"
taskid: e6d48be8-7e42-4c31-8ab6-288d39b53af5
note: false
"11":
id: "11"
taskid: bb464451-0a0d-45cf-8068-2a18b1820289
type: regular
task:
id: e6d48be8-7e42-4c31-8ab6-288d39b53af5
id: bb464451-0a0d-45cf-8068-2a18b1820289
version: -1
name: VerifyContext Detonate-File
description: |-
Verifies path in context:
- Verifies path existence
- If matching object is an array: verify fields exists in each of the objects in the array
- If matching object is not an array: verify fields exists in matching object
- if 'expectedValue' is given: ensure that the given value is equal to the context path
scriptName: VerifyContext
name: DeleteContext
description: Delete field from context
scriptName: DeleteContext
type: regular
iscommand: false
brand: ""
nexttasks:
'#none#':
- "1"
scriptarguments:
expectedValue: {}
fields:
simple: size,SHA1,SHA256,environmentDescription,verdict,MD5,type,threat_level
path:
simple: File
all:
simple: "yes"
index: {}
key: {}
keysToKeep: {}
subplaybook: {}
separatecontext: false
view: |-
{
"position": {
"x": 50,
"y": 195
}
}
note: false
"12":
id: "12"
taskid: b7110290-7b3e-4687-84c6-e66a1efe31c6
type: regular
task:
id: b7110290-7b3e-4687-84c6-e66a1efe31c6
version: -1
name: crowdstrike-submit-url
description: Submit a URL for analysis (Supported only in v2)
script: VxStream|||crowdstrike-submit-url
type: regular
iscommand: true
brand: VxStream
nexttasks:
'#none#':
- "5"
scriptarguments:
environmentID: {}
url:
simple: www.demisto.com
separatecontext: false
view: |-
{
"position": {
"x": 50,
"y": 1775
"y": 895
}
}
note: false
view: |-
{
"linkLabelsPosition": {},
"paper": {
"dimensions": {
"height": 1820,
"height": 1815,
"width": 380,
"x": 50,
"y": 50
}
}
}
inputs: []
outputs: []
outputs: []
Loading

0 comments on commit afa4dd7

Please sign in to comment.