Example of module introspection including meta information

pull/2/head
Alexandre Dulaunoy 2016-03-09 07:25:54 +01:00
parent dfc74cfba8
commit e0d8462227
1 changed files with 30 additions and 6 deletions

View File

@ -36,21 +36,45 @@ MISP uses the **modules** function to discover the available MISP modules and th
[ [
{ {
"mispattributes": { "mispattributes": {
"input": [
"hostname",
"domain",
"ip-src",
"ip-dst",
"module-username",
"module-password"
],
"output": [ "output": [
"ip-src", "ip-src",
"ip-dst" "ip-dst",
],
"input": [
"hostname", "hostname",
"domain" "domain"
] ]
}, },
"type": "expansion", "meta": "0.1",
"name": "passivetotal",
"type": "expansion"
},
{
"mispattributes": {
"input": [
"hostname",
"domain"
],
"output": [
"ip-src",
"ip-dst"
]
},
"meta": {
"description": "Simple DNS expansion services to resolve IP address from MISP attributes",
"version": "0.1",
"author": "Alexandre Dulaunoy"
},
"name": "dns", "name": "dns",
"version": "0.1" "type": "expansion"
} }
] ]
~~~ ~~~
The MISP module service returns the available modules in a JSON array containing each module name along with their supported input attributes. The MISP module service returns the available modules in a JSON array containing each module name along with their supported input attributes.