fix: [machines] fixes machines not working in all cases

pull/40/head
Christophe Vandeplas 2020-05-15 21:54:15 +02:00
parent ab9b93ff23
commit 5d37d8ea5d
2 changed files with 16 additions and 6 deletions

View File

@ -3,16 +3,22 @@ machine("misp.MISPEventToAll",
author:"Christophe Vandeplas", author:"Christophe Vandeplas",
description: "Automatically expands MISP Objects to their attributes") { description: "Automatically expands MISP Objects to their attributes") {
start { start {
run("MISP_maltego.EventToAttributes")
run("MISP_maltego.AttributeToEvent")
paths { paths {
path { path {
run("MISP_maltego.ObjectToAttributes") run("MISP_maltego.EventToAttributes")
// run("MISP_maltego.AttributeToEvent") paths {
path {
run("MISP_maltego.AttributeToEvent")
}
path {
run("MISP_maltego.ObjectToAttributes")
}
}
} }
path { path {
run("MISP_maltego.EventToTags")
run("MISP_maltego.GalaxyToRelations") run("MISP_maltego.GalaxyToRelations")
} }
} }
} }

View File

@ -4,10 +4,14 @@ machine("misp.MISPEventToAttributes",
description: "Also automatically expands MISP Objects to their attributes") { description: "Also automatically expands MISP Objects to their attributes") {
start { start {
paths { paths {
run("MISP_maltego.EventToAttributes")
path { path {
run("MISP_maltego.EventToObjects")
run("MISP_maltego.ObjectToAttributes") run("MISP_maltego.ObjectToAttributes")
} }
path {
run("MISP_maltego.EventToAttributes")
}
} }
} }
} }