IMPORTANT: No additional bug fixes or documentation updates will be released for this version.
Create connector
editCreate connector
editCreates a connector, which can then be used to open and update cases in external systems.
Request URL
editPOST <kibana host>:<port>/api/action
Request body
editA JSON object with these fields:
Name | Type | Description | Required |
---|---|---|---|
|
String |
Must be one of these:
|
Yes |
|
Object containing the action’s configuration. |
Yes |
|
|
Object |
Object containing the third-party account information used to create and update incidents. For ServiceNow connectors:
For Jira connectors:
|
Yes |
|
String |
The registered ServiceNow connector. |
Yes |
Name | Type | Description | Required |
---|---|---|---|
|
Object |
Contains a
|
Yes |
|
String |
URL of the third-party instance. |
Yes |
|
String |
Jira project key. |
For Jira connectors, yes. For ServiceNow connectors, no. |
Example requests
editCreates a ServiceNow connector:
POST api/action { "actionTypeId": ".servicenow", "config": { "casesConfiguration": { "mapping": [ { "source": "title", "target": "short_description", "actionType": "overwrite" }, { "source": "description", "target": "description", "actionType": "overwrite" }, { "source": "comments", "target": "comments", "actionType": "append" } ] }, "apiUrl": "https://dev87359.service-now.com" }, "secrets": { "username": "admin", "password": "securePassword123!" }, "name": "ServiceNow" }
SIEM case |
|
SIEM case |
|
SIEM case |
Creates a Jira connector:
POST api/action { "actionTypeId": ".jira", "config": { "casesConfiguration": { "mapping": [ { "source": "title", "target": "summary", "actionType": "overwrite" }, { "source": "description", "target": "description", "actionType": "overwrite" }, { "source": "comments", "target": "comments", "actionType": "append" } ] }, "apiUrl": "https://hms.atlassian.net", "projectKey": "HMS" }, "secrets": { "email": "admin@hms.gov.co.uk", "apiToken": "my-api-token" }, "name": "Jira" }
Response code
edit-
200
- Indicates a successful call.
Response payload
editA JSON object with a connector id
that is required to push cases to ServiceNow.
Example responses
editServiceNow connector:
{ "id": "61787f53-4eee-4741-8df6-8fe84fa616f7", "actionTypeId": ".servicenow", "name": "ServiceNow", "config": { "casesConfiguration": { "mapping": [ { "source": "title", "target": "short_description", "actionType": "overwrite" }, { "source": "description", "target": "description", "actionType": "overwrite" }, { "source": "comments", "target": "comments", "actionType": "append" } ] }, "apiUrl": "https://dev78437.service-now.com" }, "isPreconfigured": false }
Jira connector:
{ "id": "05da469f-1fde-4058-99a3-91e4807e2de8", "actionTypeId": ".jira", "name": "Jira", "config": { "casesConfiguration": { "mapping": [ { "source": "title", "target": "summary", "actionType": "overwrite" }, { "source": "description", "target": "description", "actionType": "overwrite" }, { "source": "comments", "target": "comments", "actionType": "append" } ] }, "apiUrl": "https://hms.atlassian.net", "projectKey": "HMS" }, "isPreconfigured": false }