-
Notifications
You must be signed in to change notification settings - Fork 246
Closed
Description
Request Type
Feature Request
Work Environment
Cortex 2.0.2
Problem Description
When submitting job, parameters can be set but they are merged with configuration and must be declared in analyzer definition file (json file). The aim of this issue is to permit to send arbitrary parameters to an analyzer. Parameters will not be merged with configuration anymore but added in new "parameters" key. Parameters must be a JSON object.
With the job request:
{
"data": "127.0.0.1",
"dataType": "ip",
"tlp": 2,
"message": "here",
"parameters": {
"param1": "value1",
"param2": "value2",
}
}
the analyzer will receive:
{
"data": "127.0.0.1",
"dataType": "ip",
"tlp": 2,
"message": "here",
"config": { ... },
"parameters": {
"param1": "value1",
"param2": "value2",
}
}