Close case artifact

From dandye/ai-runbooks · View interactive version

Close case artifact is an AI agent skill from the GitHub repository dandye/ai-runbooks. Close a case or alert with proper reason and documentation. Use when triage determines an alert is FP/BTP or investigation is complete. Requires artifact ID, type, closure reason, and root cause.

How to use this skill

Skill file

Close Case Artifact Skill

Close a case or alert with the required reason, root cause, and justification comment.

Inputs

Workflow

Step 1: Execute Closure

For Cases:

secops-soar.siemplify_close_case(
    case_id=ARTIFACT_ID,
    reason=CLOSURE_REASON,
    root_cause=ROOT_CAUSE,
    comment=CLOSURE_COMMENT,
    alert_group_identifiers=ALERT_GROUP_IDENTIFIERS
)

For Alerts:

secops-soar.siemplify_close_alert(
    alert_id=ARTIFACT_ID,
    reason=CLOSURE_REASON,
    root_cause=ROOT_CAUSE,
    comment=CLOSURE_COMMENT,
    assign_to_user=ASSIGN_TO_USER,
    tags=TAGS
)

Outputs

| Output | Description |

|--------|-------------|

| CLOSURE_STATUS | Success/failure status of the closure |

Common Closure Patterns

| Scenario | Reason | Typical Root Cause |

|----------|--------|-------------------|

| False Positive | NOT_MALICIOUS | "Legit action", "Normal behavior" |

| Duplicate | NOT_MALICIOUS | "Similar case is already under investigation" |

| Benign True Positive | NOT_MALICIOUS | "Legit action" |

| Confirmed Threat (remediated) | MALICIOUS | Varies by threat type |

| Unable to determine | INCONCLUSIVE | "Insufficient data" |

Get Valid Root Causes

If unsure of valid root cause values:

secops-soar.get_case_settings_root_causes()
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.