feat(secops): add Chronicle 1P Case and Case Alert Management MCP tools - #282
Draft
dandye wants to merge 1 commit into
Draft
feat(secops): add Chronicle 1P Case and Case Alert Management MCP tools#282dandye wants to merge 1 commit into
dandye wants to merge 1 commit into
Conversation
- Implement Chronicle 1P CaseService tools (list_cases, get_case, update_case, change_case_priority, change_case_stage, assign_case, set_custom_case_fields, add_case_tag, remove_case_tag, add_case_insight, pause_case_sla, resume_case_sla, close_case, reopen_case) - Implement Chronicle 1P CaseAlertService tools (list_case_alerts, get_case_alert, update_case_alert, change_alert_priority, set_alert_custom_fields, move_case_alert, add_alert_tag, remove_alert_tag) - Support 6 SOAR reaction triggers via Chronicle 1P REST APIs - Add comprehensive test suite in test_secops_case_management.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
Implements Chronicle 1P CaseService and CaseAlertService REST API tools in the
secopsMCP server, covering SOAR reaction triggers and associated case/alert lifecycle methods.New Tools Added
Case Management (
case_management.py)list_cases: List cases with filtering and paginationget_case: Retrieve full details of a specific caseupdate_case: General update with field maskschange_case_priority: Change case priority (triggers Case Priority Changed)change_case_stage: Change case stage (triggers Case Stage Changed)assign_case: Assign cases to users or SOC roles (triggers Case Assignee Changed)set_custom_case_fields: Set custom field key-values (triggers Custom Case Field Changed)add_case_tag/remove_case_tag: Add/remove case tagsadd_case_insight: Add analyst/automation notes to casespause_case_sla/resume_case_sla: Pause/resume SLA timersclose_case/reopen_case: Bulk close and reopen casesCase Alert Management (
case_alert_management.py)list_case_alerts: List alerts attached to a caseget_case_alert: Retrieve full details of a case alertupdate_case_alert: General alert updatechange_alert_priority: Change alert priority (triggers Alert Priority Changed)set_alert_custom_fields: Set custom field key-values on an alert (triggers Alert Custom Field Changed)move_case_alert: Move an alert to another caseadd_alert_tag/remove_alert_tag: Add/remove alert tagsTesting
server/secops/tests/test_secops_case_management.py(15/15 tests passing).