TheHive-Project / TheHive-Project/Cortex

Custom input parameters for Responders

Open
#180 1 comment 7 reactions 1 assignee View on GitHub

@To-om is already working on this.

Since May 2, 2019.

feature request
Dominant language
Scala
Stars
1.6k
Forks
264
PR merge metrics
No merged PRs in 30d

Description

Request Type

Feature Request

Related to Hive issue https://github.com/TheHive-Project/TheHive/issues/792


It would be nice with options for string and int inputs to cortex responders.
This would allow the user to pass additional information to the responder script.

Usecases would be adding a close message to cases in external case systems, message body to emails sent via the email responder, adding IDs to responder systems for enrichment and so on.

Config could follow the same syntax as configurationItems.
Something like this:

"responderInputs": [
{
"name": "email_msg",
"description": "email body message",
"type": "string",
"required": true
}

This would allow the responder script to just grab the custom input with get_param("input.email_msg").

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.