create_alert
Create a new alert in TheHive to capture potential incidents from sources like SIEMs and emails. Specify type, source, severity, and tags for categorization.
Instructions
Create a new Alert in TheHive. Alerts represent potential incidents fetched from SIEMs, emails, etc.
Args: type_name (str): Type of the alert (e.g., 'SIEM', 'Phishing', 'EDR'). source (str): Source/provider of the alert (e.g., 'Splunk', 'Wazuh'). source_ref (str): Unique reference ID from the source system. title (str): Title of the alert. description (str): Detailed markdown-supported description. severity (int): Severity level: 1 (Low), 2 (Medium), 3 (High), 4 (Critical). Default is 2. tags (List[str], optional): List of tags to categorize the alert. tlp (int): Traffic Light Protocol level (0 to 4). Default is 2. pap (int): Permissible Action Protocol level (0 to 3). Default is 2.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pap | No | ||
| tlp | No | ||
| tags | No | ||
| title | Yes | ||
| source | Yes | ||
| severity | No | ||
| type_name | Yes | ||
| source_ref | Yes | ||
| description | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |