EntryWidgetCoATechniquesList
Entry widget that shows the number of techniques that were not yet handled by the CoA playbooks.
python · MITRE ATT&CK - Courses of Action
Details
| ID | EntryWidgetCoATechniquesList |
|---|---|
| Language | python |
| From Version | 6.5.0 |
| Docker Image | demisto/python3:3.12.13.10116658 |
| Tags | dynamic-section |
README
Entry widget that shows the number of techniques that were not yet handled by the CoA playbooks.
Script Data
| Name | Description |
|---|---|
| Script Type | python3 |
| Tags | dynamic-section |
| Cortex XSOAR Version | 6.0.0 |
Inputs
There are no inputs for this script.
Outputs
There are no outputs for this script.
import demistomock as demisto from CommonServerPython import * incident = demisto.incident() count = len(incident.get("CustomFields", {}).get("techniqueslist", "").split(",")) handled = incident.get("CustomFields", {}).get("handledtechniques", []) stats = len([h for h in handled if h]) data = { "Type": 17, "ContentsFormat": "number", "Contents": { "stats": count - stats, "params": { "layout": "horizontal", "name": "Techniques to Handle", "sign": "", "colors": { "items": { "#8C9EFF": {"value": 0}, } }, "type": "above", }, }, } return_results(data)