mirror of
https://github.com/SecurityBrewery/catalyst.git
synced 2025-12-09 16:52:51 +01:00
Fix playbook editor task schema (#618)
This commit is contained in:
@@ -83,7 +83,7 @@ const taskSchema = {
|
|||||||
properties: {
|
properties: {
|
||||||
automation: { type: "string" },
|
automation: { type: "string" },
|
||||||
join: { type: "boolean" },
|
join: { type: "boolean" },
|
||||||
msg: { type: "object", additionalProperties: { type: "string" } },
|
payload: { type: "object", additionalProperties: { type: "string" } },
|
||||||
name: { type: "string" },
|
name: { type: "string" },
|
||||||
next: {
|
next: {
|
||||||
type: "object",
|
type: "object",
|
||||||
@@ -129,8 +129,8 @@ const inityaml = "name: VirusTotal hash check\n" +
|
|||||||
" name: Hash the word\n" +
|
" name: Hash the word\n" +
|
||||||
" type: automation\n" +
|
" type: automation\n" +
|
||||||
" automation: hash.sha1\n" +
|
" automation: hash.sha1\n" +
|
||||||
" msg:\n" +
|
" payload:\n" +
|
||||||
" payload: \"playbook.tasks['input'].data['word']\"\n" +
|
" default: \"playbook.tasks['input'].data['word']\"\n" +
|
||||||
" next:\n" +
|
" next:\n" +
|
||||||
" end:\n" +
|
" end:\n" +
|
||||||
"\n" +
|
"\n" +
|
||||||
|
|||||||
Reference in New Issue
Block a user