xMatters

This is an integration for using xMatters.

Utilities · xMatters

Details

IDxMatters
ProviderThoma Bravo
CategoryUtilities
From Version5.5.0
Docker Imagedemisto/python3:3.12.13.10116658
Supported ModulesAgentix XSIAM

README

This is an integration for using xMatters.
This integration was integrated and tested with version 1 of xMatters

Configure xMatters in Cortex

Parameter Description Required
instance Your xmatters instance base URL. (i.e. acme.xmatters.com) True
insecure Trust any certificate (not secure) False
proxy Use system proxy settings False
username Username for your xMatters instance. True
password Password for your xMatters instance. True
url URL of an HTTP trigger in a flow. True
fetch_type   True
status Fetch alerts with status (ACTIVE, SUSPENDED) False
priority Priority of events to fetch False
isFetch Fetch incidents False
incidentType Incident type False
property_name   False
property_value   False
first_fetch First fetch timestamp (<number> <time unit>, e.g., 12 hours, 7 days) False
max_fetch   False

Commands

You can execute these commands from the CLI, as part of an automation, or in a playbook.
After you successfully execute a command, a DBot message appears in the War Room with the command details.

xm-trigger-workflow


sends the event to xMatters

Base Command

xm-trigger-workflow

Input

Argument Name Description Required
recipients Recipients of the xMatters Message Required
subject Subject of the xMatters Message Optional
body Body of the xMatters Message Optional
incident_id Incident ID of Incident referenced Optional
close_task_id Id of task to close in playbook. Requires an incident_id as the investigation id. Optional

Context Output

Path Type Description
xMatters.Workflow.request_id string Request ID from xMatters

Command Example

!xm-trigger-workflow recipients="Joey" subject="Major Emu Issue" body="The emu has escaped!"

Context Example

{
    "request_id": "93e6b331-2108-424d-872b-8200b476907b"
}

Human Readable Output

Successfully sent a message to xMatters.

xm-get-events


Get events from xMatters.

Base Command

xm-get-events

Input

Argument Name Description Required
request_id The UUID returned from triggering a workflow. Optional
status Status of the event. Optional
priority Priority of the event. Optional
from A date in UTC format that represents the start of the time range you want to search. Optional
to A date in UTC format that represents the end of the time range you want to search. Optional
workflow The name of the workflow the event is tied to. Optional
form The name of the form the event is tied to. Optional
property_name An event property name to filter the events Optional
property_value An event property value to filter the events Optional

Context Output

Path Type Description
Events unknown Events from xMatters.

Command Example

!xm-get-events status=ACTIVE

Context Example

{
    "Events": [
        {
            "Created": "2020-10-13T21:35:07.725+0000",
            "FormName": "Incident",
            "Incident": "7a63abc3-5abf-41ca-969b-80eb678fbf72",
            "Name": "Major Emu Issue\n",
            "PlanName": "Cortex XSOAR",
            "Prioity": "MEDIUM",
            "Properties": null,
            "Status": "ACTIVE",
            "SubmitterName": "admin",
            "Terminated": null
        },
        {
            "Created": "2020-10-13T21:33:58.444+0000",
            "FormName": "Incident",
            "Incident": "388884f1-410b-4eb8-a38e-4973e7151b89",
            "Name": "Major Emu Issue\n",
            "PlanName": "Cortex XSOAR",
            "Prioity": "MEDIUM",
            "Properties": null,
            "Status": "ACTIVE",
            "SubmitterName": "admin",
            "Terminated": null
        }
    ]
}

Human Readable Output

Retrieved Events from xMatters.

xm-get-event


Get a single event from xMatters.

Base Command

xm-get-event

Input

Argument Name Description Required
event_id Unique identifier of the event Required

Context Output

Path Type Description
Event unknown Event from xMatters.

Command Example

!xm-get-event event_id=33999001

Context Example

{
    "Event": {
        "Created": "2020-10-13T20:50:24.520+0000",
        "FormName": "Integration Builder: Integration Problem",
        "Incident": "99a7692b-30df-40c4-9a20-edc495ae91f9",
        "Name": "Your xMatters integration has a problem",
        "PlanName": "Integration Builder Notifications",
        "Prioity": "MEDIUM",
        "Properties": null,
        "Status": "ACTIVE",
        "SubmitterName": "xm-support",
        "Terminated": null
    }
}

Human Readable Output

Retrieved Event from xMatters.

Configuration parameters

  • instance — Your xmatters instance base URL. (i.e. acme.xmatters.com) (required)
  • insecure — Trust any certificate (not secure)
  • proxy — Use system proxy settings
  • username — Username for your xMatters instance. (required)
  • password — Password for your xMatters instance. (required)
  • url — URL of an HTTP trigger in a flow. (required)
  • fetch_type — Fetch Type (required)
  • status — Fetch alerts with status (ACTIVE, TERMINATED, SUSPENDED)
  • priority — Priority of events to fetch
  • isFetch — Fetch incidents
  • incidentType — Incident type
  • incidentFetchInterval — Incidents Fetch Interval
  • property_name — Property Name
  • property_value — Property Value
  • first_fetch — First fetch timestamp (<number> <time unit>, e.g., 12 hours, 7 days)
  • max_fetch — Maximum number of incidents to fetch

Commands (3)

  • xm-get-event

    Get a single event from xMatters.

  • xm-get-events

    Get events from xMatters.

  • xm-trigger-workflow

    sends the event to xMatters.

!xm-trigger-workflow recipients="Joey" subject="Major Emu Issue" body="The emu has escaped!"
!xm-get-events status=ACTIVE propertyName=number#en propertyValue=INC0002231
!xm-get-events request_id=5588db90-6b87-4662-9a2f-107d3bb233bf
!xm-get-event event_id=33999001