- Kibana Guide: other versions:
- What is Kibana?
- What’s new in 8.2
- Kibana concepts
- Quick start
- Set up
- Install Kibana
- Configure Kibana
- Alerting and action settings
- APM settings
- Banners 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
- Import and export dashboard APIs
- Logstash configuration management APIs
- Machine learning APIs
- Short URLs APIs
- Get Task Manager health
- Upgrade assistant APIs
- Kibana plugins
- Troubleshooting
- Accessibility
- Release notes
- Developer guide
Update case configuration API
editUpdate case configuration API
editUpdates external connection details, such as the closure type and default connector for cases.
Request
editPATCH <kibana host>:<port>/api/cases/configure/<configuration_id>
PATCH <kibana host>:<port>/s/<space_id>/api/cases/configure/<configuration_id>
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 configuration.
Description
editConnectors are used to interface with external systems. You must create a connector before you can it in your cases. Refer to Add connectors.
Path parameters
edit-
<configuration_id>
- The identifier for the configuration. To retrieve the configuration IDs, use Get configuration.
-
<space_id>
- (Optional, string) An identifier for the space. If it is not specified, the default space is used.
Request body
edit-
closure_type
-
(Optional, string) Determines whether a case is automatically closed when it is pushed to external systems. Valid values are:
-
close-by-pushing
: Cases are automatically closed when they are pushed. -
close-by-user
: Cases are not automatically closed.
-
-
connector
-
(Optional, object) An object that contains the connector configuration.
Properties of
connector
-
fields
-
(Required, object) An object that contains the connector fields.
The fields specified in the case configuration are not used and are not propagated to individual cases, therefore it is recommended to set it to
null
. -
id
- (Required, string) The identifier for the connector. To retrieve connector IDs, use Find connectors.
-
name
- (Required, string) The name of the connector.
-
type
-
(Required, string) The type of the connector. Valid values are:
.servicenow
,.servicenow-sir
,.jira
,.resilient
,.swimlane
, and.none
.
-
-
version
- (Required, string) The version of the connector. To retrieve the version value, use Get configuration.
Response code
edit-
200
- Indicates a successful call.
Example
editChange the closure type configuration option:
PATCH api/cases/configure/3297a0f0-b5ec-11ec-b141-0fdb20a7f9a9 { "closure_type": "close-by-pushing", "version": "WzIwMiwxXQ==" }
The API returns the following:
{ "closure_type": "close-by-user", "owner": "cases", "created_at": "2022-04-06T20:57:40.746Z", "created_by": { "email": "admin@hms.gov.uk", "full_name": "Ms Admin", "username": "admin" }, "updated_at": "2022-04-12T22:41:09.262Z", "updated_by": { "email": "admin@hms.gov.uk", "full_name": "Ms Admin", "username": "admin" }, "connector": { "id": "none", "name": "none", "type": ".none", "fields": null }, "mappings": [], "version": "WzkwNiw1XQ==", "error": null, "id": "3297a0f0-b5ec-11ec-b141-0fdb20a7f9a9" }