- Kibana Guide: other versions:
- What is Kibana?
- What’s new in 8.8
- Kibana concepts
- Quick start
- Set up
- Install Kibana
- Configure Kibana
- Alerting and action settings
- APM settings
- Banners settings
- Cases settings
- Enterprise Search settings
- Fleet settings
- i18n settings
- Logging settings
- Logs settings
- Metrics settings
- Monitoring settings
- Reporting settings
- Search sessions settings
- Secure settings
- Security settings
- Spaces settings
- Task Manager settings
- Telemetry settings
- URL drilldown settings
- Start and stop Kibana
- Access Kibana
- Securing access to Kibana
- Add data
- Upgrade Kibana
- Configure security
- Configure reporting
- Configure logging
- Configure monitoring
- Command line tools
- Production considerations
- Discover
- Dashboard and visualizations
- Canvas
- Maps
- Build a map to compare metrics by country or region
- Track, visualize, and alert on assets in real time
- Map custom regions with reverse geocoding
- Heat map layer
- Tile layer
- Vector layer
- Plot big data
- Search geographic data
- Configure map settings
- Connect to Elastic Maps Service
- Import geospatial data
- Troubleshoot
- Reporting and sharing
- Machine learning
- Graph
- Alerting
- Observability
- APM
- Security
- Dev Tools
- Fleet
- Osquery
- Stack Monitoring
- Stack Management
- REST API
- Get features API
- Kibana spaces APIs
- Kibana role management APIs
- User session management APIs
- Saved objects APIs
- Data views API
- Index patterns APIs
- Alerting APIs
- Action and connector APIs
- Cases APIs
- Add comment
- Create case
- Delete cases
- Delete comments
- Find case activity
- Find cases
- Find connectors
- Get alerts
- Get case activity
- Get case
- Get case status
- Get cases by alert
- Get comments
- Get configuration
- Get reporters
- Get tags
- Push case
- Set configuration
- Update cases
- Update comment
- Update configuration
- Import and export dashboard APIs
- Logstash configuration management APIs
- Machine learning APIs
- Osquery manager API
- Short URLs APIs
- Get Task Manager health
- Upgrade assistant APIs
- Kibana plugins
- Troubleshooting
- Accessibility
- Release notes
- Kibana 8.8.2
- Kibana 8.8.1
- Kibana 8.8.0
- Kibana 8.7.1
- Kibana 8.7.0
- Kibana 8.6.1
- Kibana 8.6.0
- Kibana 8.5.2
- Kibana 8.5.1
- Kibana 8.5.0
- Kibana 8.4.3
- Kibana 8.4.2
- Kibana 8.4.1
- Kibana 8.4.0
- Kibana 8.3.3
- Kibana 8.3.2
- Kibana 8.3.1
- Kibana 8.3.0
- Kibana 8.2.3
- Kibana 8.2.2
- Kibana 8.2.1
- Kibana 8.2.0
- Kibana 8.1.3
- Kibana 8.1.2
- Kibana 8.1.1
- Kibana 8.1.0
- Kibana 8.0.0
- Kibana 8.0.0-rc2
- Kibana 8.0.0-rc1
- Kibana 8.0.0-beta1
- Kibana 8.0.0-alpha2
- Kibana 8.0.0-alpha1
- Developer guide
Create case API
editCreate case API
editCreates a case.
For the most up-to-date API details, refer to the open API specification.
Prerequisites
editYou must have all
privileges for the Cases feature in the Management,
Observability, or Security section of the
Kibana feature privileges, depending on the
owner
of the case you’re creating.
Path parameters
edit-
<space_id>
- (Optional, string) An identifier for the space. If it is not specified, the default space is used.
Request body
edit-
assignees
-
(Optional, array of objects) Array containing users that are assigned to the case.
Properties of assignee objects
-
uid
- (Required, string) A unique identifier for the user profile. These identifiers can be found by using the suggest user profile API.
-
-
connector
-
(Required, object) An object that contains the connector configuration.
Properties of
connector
-
fields
-
(Required, object) An object containing the connector fields. To create a case without a connector, specify
null
. If you want to omit any individual field, specifynull
as its value.Properties of
fields
For IBM Resilient connectors, specify:
-
issueTypes
- (Required, array of strings) The type of the incident.
-
severityCode
- (Required, string) The severity code of the incident.
For Jira connectors, specify:
-
issueType
- (Required, string) The type of the issue.
-
parent
-
(Required, string) The key of the parent issue, when the issue type is
Sub-task
. -
priority
- (Required, string) The priority of the issue.
For ServiceNow ITSM connectors, specify:
-
category
- (Required, string) The category of the incident.
-
impact
- (Required, string) The effect an incident had on business.
-
severity
- (Required, string) The severity of the incident.
-
subcategory
- (Required, string) The subcategory of the incident.
-
urgency
- (Required, string) The extent to which the incident resolution can be delayed.
For ServiceNow SecOps connectors, specify:
-
category
- (Required, string) The category of the incident.
-
destIp
- (Required, string) A comma separated list of destination IPs.
-
malwareHash
- (Required, string) A comma separated list of malware hashes.
-
malwareUrl
- (Required, string) A comma separated list of malware URLs.
-
priority
- (Required, string) The priority of the incident.
-
sourceIp
- (Required, string) A comma separated list of source IPs.
-
subcategory
- (Required, string) The subcategory of the incident.
For Swimlane connectors, specify:
-
caseId
- (Required, string) The case ID.
For Webhook - Case Management connectors, specify
null
. -
-
id
-
(Required, string) The identifier for the connector. To create a case without a
connector, use
none
. To retrieve connector IDs, use Find connectors. -
name
-
(Required, string) The name of the connector. To create a case without a
connector, use
none
. -
type
-
(Required, string) The type of the connector. Valid values are:
.cases-webhook
,.jira
,.none
,.resilient
,.servicenow
,.servicenow-sir
, and.swimlane
. To create a case without a connector, use.none
.
-
-
description
- (Required, string) The description for the case.
-
owner
-
(Required, string) The application that owns the case. Valid values are:
cases
,observability
, orsecuritySolution
. This value affects whether the case is visible in the Stack Management, Observability, or Elastic Security app. -
settings
-
(Required, object) An object that contains the case settings.
Properties of
settings
-
syncAlerts
- (Required, boolean) Turns alert syncing on or off.
-
-
severity
-
(Optional,string) The severity of the case. Valid values are:
critical
,high
,low
, andmedium
. -
tags
- (Required, string array) The words and phrases that help categorize cases. It can be an empty array.
-
title
- (Required, string) A title for the case.
Response codes
edit-
200
- Indicates a successful call.
Examples
editPOST api/cases { "description": "A case description.", "title": "Case title 1", "tags": [ "tag 1" ], "connector": { "id": "131d4448-abe0-4789-939d-8ef60680b498", "name": "My connector", "type": ".jira", "fields": { "issueType": "10006", "priority": "High", "parent": null } }, "settings": { "syncAlerts": true }, "owner": "cases" }
The API returns a JSON object that includes the user who created the case and the case identifier, version, and creation time. For example:
{ "id": "66b9aa00-94fa-11ea-9f74-e7e108796192", "version": "WzUzMiwxXQ==", "comments": [], "totalComment": 0, "totalAlerts": 0, "title": "Case title 1", "tags": [ "tag 1" ], "assignees": [], "settings": { "syncAlerts": true }, "owner": "cases", "description": "A case description.", "duration": null, "severity": "low", "closed_at": null, "closed_by": null, "created_at": "2022-05-13T09:16:17.416Z", "created_by": { "email": null, "full_name": null, "username": "elastic" }, "status": "open", "updated_at": null, "updated_by": null, "connector": { "id": "131d4448-abe0-4789-939d-8ef60680b498", "name": "My connector", "type": ".jira", "fields": { "issueType": "10006", "parent": null, "priority": "High" } }, "external_service": null }
The case identifier is also its saved object ID ( |
|
The default connector used to push cases to external services. |
|
The |