mirror of
https://github.com/SecurityBrewery/catalyst.git
synced 2026-05-22 01:00:43 +02:00
Remove TheHive automation (#35)
This commit is contained in:
@@ -23,7 +23,7 @@ var Tests = []struct {
|
||||
Args: Args{Method: "Get", URL: "/automations"},
|
||||
Want: Want{
|
||||
Status: 200,
|
||||
Body: []interface{}{map[string]interface{}{"id": "comment", "image": "docker.io/python:3", "script": "", "type": []interface{}{"playbook"}}, map[string]interface{}{"id": "hash.sha1", "image": "docker.io/python:3", "schema": "{\"title\":\"Input\",\"type\":\"object\",\"properties\":{\"default\":{\"type\":\"string\",\"title\":\"Value\"}},\"required\":[\"default\"]}", "script": "", "type": []interface{}{"global", "artifact", "playbook"}}, map[string]interface{}{"id": "thehive", "image": "docker.io/python:3", "schema": "{\"title\":\"TheHive credentials\",\"type\":\"object\",\"properties\":{\"thehiveurl\":{\"type\":\"string\",\"title\":\"TheHive URL (e.g. 'https://thehive.example.org')\"},\"thehivekey\":{\"type\":\"string\",\"title\":\"TheHive API Key\"},\"skip_files\":{\"type\":\"boolean\", \"default\": true, \"title\":\"Skip Files (much faster)\"},\"keep_ids\":{\"type\":\"boolean\", \"default\": true, \"title\":\"Keep IDs and overwrite existing IDs\"}},\"required\":[\"thehiveurl\", \"thehivekey\", \"skip_files\", \"keep_ids\"]}", "script": "", "type": []interface{}{"global"}}, map[string]interface{}{"id": "vt.hash", "image": "docker.io/python:3", "schema": "{\"title\":\"Input\",\"type\":\"object\",\"properties\":{\"default\":{\"type\":\"string\",\"title\":\"Value\"}},\"required\":[\"default\"]}", "script": "", "type": []interface{}{"global", "artifact", "playbook"}}},
|
||||
Body: []interface{}{map[string]interface{}{"id": "comment", "image": "docker.io/python:3", "script": "", "type": []interface{}{"playbook"}}, map[string]interface{}{"id": "hash.sha1", "image": "docker.io/python:3", "schema": "{\"title\":\"Input\",\"type\":\"object\",\"properties\":{\"default\":{\"type\":\"string\",\"title\":\"Value\"}},\"required\":[\"default\"]}", "script": "", "type": []interface{}{"global", "artifact", "playbook"}}, map[string]interface{}{"id": "vt.hash", "image": "docker.io/python:3", "schema": "{\"title\":\"Input\",\"type\":\"object\",\"properties\":{\"default\":{\"type\":\"string\",\"title\":\"Value\"}},\"required\":[\"default\"]}", "script": "", "type": []interface{}{"global", "artifact", "playbook"}}},
|
||||
},
|
||||
},
|
||||
|
||||
|
||||
@@ -35,12 +35,6 @@
|
||||
"schema" : "{\"title\":\"Input\",\"type\":\"object\",\"properties\":{\"default\":{\"type\":\"string\",\"title\":\"Value\"}},\"required\":[\"default\"]}",
|
||||
"script" : "",
|
||||
"type" : [ "global", "artifact", "playbook" ]
|
||||
}, {
|
||||
"id" : "thehive",
|
||||
"image" : "docker.io/python:3",
|
||||
"schema" : "{\"title\":\"TheHive credentials\",\"type\":\"object\",\"properties\":{\"thehiveurl\":{\"type\":\"string\",\"title\":\"TheHive URL (e.g. 'https://thehive.example.org')\"},\"thehivekey\":{\"type\":\"string\",\"title\":\"TheHive API Key\"},\"skip_files\":{\"type\":\"boolean\", \"default\": true, \"title\":\"Skip Files (much faster)\"},\"keep_ids\":{\"type\":\"boolean\", \"default\": true, \"title\":\"Keep IDs and overwrite existing IDs\"}},\"required\":[\"thehiveurl\", \"thehivekey\", \"skip_files\", \"keep_ids\"]}",
|
||||
"script" : "",
|
||||
"type" : [ "global" ]
|
||||
}, {
|
||||
"id" : "vt.hash",
|
||||
"image" : "docker.io/python:3",
|
||||
|
||||
@@ -1334,17 +1334,6 @@ paths:
|
||||
- global
|
||||
- artifact
|
||||
- playbook
|
||||
- id: thehive
|
||||
image: docker.io/python:3
|
||||
schema: '{"title":"TheHive credentials","type":"object","properties":{"thehiveurl":{"type":"string","title":"TheHive
|
||||
URL (e.g. ''https://thehive.example.org'')"},"thehivekey":{"type":"string","title":"TheHive
|
||||
API Key"},"skip_files":{"type":"boolean", "default": true, "title":"Skip
|
||||
Files (much faster)"},"keep_ids":{"type":"boolean", "default": true,
|
||||
"title":"Keep IDs and overwrite existing IDs"}},"required":["thehiveurl",
|
||||
"thehivekey", "skip_files", "keep_ids"]}'
|
||||
script: ""
|
||||
type:
|
||||
- global
|
||||
- id: vt.hash
|
||||
image: docker.io/python:3
|
||||
schema: '{"title":"Input","type":"object","properties":{"default":{"type":"string","title":"Value"}},"required":["default"]}'
|
||||
|
||||
@@ -35,12 +35,6 @@
|
||||
"schema" : "{\"title\":\"Input\",\"type\":\"object\",\"properties\":{\"default\":{\"type\":\"string\",\"title\":\"Value\"}},\"required\":[\"default\"]}",
|
||||
"script" : "",
|
||||
"type" : [ "global", "artifact", "playbook" ]
|
||||
}, {
|
||||
"id" : "thehive",
|
||||
"image" : "docker.io/python:3",
|
||||
"schema" : "{\"title\":\"TheHive credentials\",\"type\":\"object\",\"properties\":{\"thehiveurl\":{\"type\":\"string\",\"title\":\"TheHive URL (e.g. 'https://thehive.example.org')\"},\"thehivekey\":{\"type\":\"string\",\"title\":\"TheHive API Key\"},\"skip_files\":{\"type\":\"boolean\", \"default\": true, \"title\":\"Skip Files (much faster)\"},\"keep_ids\":{\"type\":\"boolean\", \"default\": true, \"title\":\"Keep IDs and overwrite existing IDs\"}},\"required\":[\"thehiveurl\", \"thehivekey\", \"skip_files\", \"keep_ids\"]}",
|
||||
"script" : "",
|
||||
"type" : [ "global" ]
|
||||
}, {
|
||||
"id" : "vt.hash",
|
||||
"image" : "docker.io/python:3",
|
||||
|
||||
@@ -1215,17 +1215,6 @@ paths:
|
||||
- global
|
||||
- artifact
|
||||
- playbook
|
||||
- id: thehive
|
||||
image: docker.io/python:3
|
||||
schema: '{"title":"TheHive credentials","type":"object","properties":{"thehiveurl":{"type":"string","title":"TheHive
|
||||
URL (e.g. ''https://thehive.example.org'')"},"thehivekey":{"type":"string","title":"TheHive
|
||||
API Key"},"skip_files":{"type":"boolean", "default": true, "title":"Skip
|
||||
Files (much faster)"},"keep_ids":{"type":"boolean", "default": true,
|
||||
"title":"Keep IDs and overwrite existing IDs"}},"required":["thehiveurl",
|
||||
"thehivekey", "skip_files", "keep_ids"]}'
|
||||
script: ""
|
||||
type:
|
||||
- global
|
||||
- id: vt.hash
|
||||
image: docker.io/python:3
|
||||
schema: '{"title":"Input","type":"object","properties":{"default":{"type":"string","title":"Value"}},"required":["default"]}'
|
||||
|
||||
Reference in New Issue
Block a user