Source
import traceback import demistomock as demisto # noqa: F401 from CommonServerPython import * # noqa: F401 """ MAIN FUNCTION """ def main(): try: # Map the incident_markdown parsed before to kelaradarkitems field. demisto.executeCommand("setIncident", {"kelaradarkdetails": demisto.args().get("itemDetails")["details"]}) except Exception as ex: demisto.error(traceback.format_exc()) # print the traceback return_error(f"Failed to execute CreateIndicators. Error: {ex!s}") """ ENTRY POINT """ if __name__ in ("__main__", "__builtin__", "builtins"): main()
README
Map details to an RaDark incident.
Script Data
| Name | Description |
|---|---|
| Script Type | python3 |
| Tags | Enrichment |
Inputs
| Argument Name | Description |
|---|---|
| itemDetails | Detailed items as a dictionary. |
Outputs
| Path | Description | Type |
|---|---|---|
| incident.kelaradarkdetails | The incident details. | string |