-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into eui-upgrade-57.0.0
- Loading branch information
Showing
672 changed files
with
17,325 additions
and
10,719 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,7 +44,7 @@ read. | |
|
||
[source,sh] | ||
-------------------------------------------------- | ||
GET api/cases/configure?owner=securitySolution | ||
GET api/cases/configure?owner=cases | ||
-------------------------------------------------- | ||
// KIBANA | ||
|
||
|
@@ -54,19 +54,19 @@ The API returns the following type of information: | |
-------------------------------------------------- | ||
[ | ||
{ | ||
"owner": "securitySolution", | ||
"closure_type": "close-by-user", | ||
"created_at": "2020-03-30T13:31:38.083Z", | ||
"owner": "cases", | ||
"created_at": "2022-06-01T17:07:17.767Z", | ||
"created_by": { | ||
"email": "[email protected]", | ||
"full_name": "Mr Admin", | ||
"username": "admin" | ||
"email": "null", | ||
"full_name": "null", | ||
"username": "elastic" | ||
}, | ||
"updated_at": null, | ||
"updated_by": null, | ||
"connector": { | ||
"id": "131d4448-abe0-4789-939d-8ef60680b498", | ||
"name": "my-jira", | ||
"name": "my-jira-connector", | ||
"type": ".jira", | ||
"fields": null | ||
}, | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -109,9 +109,9 @@ POST api/cases/configure | |
{ | ||
"owner": "cases", | ||
"connector": { | ||
"id": "131d4448-abe0-4789-939d-8ef60680b498", | ||
"name": "my-serviceNow", | ||
"type": ".servicenow", | ||
"id": "5e656730-e1ca-11ec-be9b-9b1838238ee6", | ||
"name": "my-jira-connector", | ||
"type": ".jira", | ||
"fields": null, | ||
}, | ||
"closure_type": "close-by-user" | ||
|
@@ -123,41 +123,41 @@ The API returns the following response: | |
[source,json] | ||
-------------------------------------------------- | ||
{ | ||
"owner": "cases", | ||
"closure_type": "close-by-user", | ||
"created_at": "2022-04-02T01:09:02.303Z", | ||
"owner": "cases", | ||
"created_at": "2022-06-01T17:07:17.767Z", | ||
"created_by": { | ||
"email": "[email protected]", | ||
"full_name": "Ms Moneypenny", | ||
"username": "moneypenny" | ||
"username": "elastic", | ||
"email": null, | ||
"full_name": null | ||
}, | ||
"updated_at": null, | ||
"updated_by": null, | ||
"connector": { | ||
"id": "131d4448-abe0-4789-939d-8ef60680b498", | ||
"name": "my-serviceNow", | ||
"type": ".servicenow", | ||
"fields": null, | ||
"id": "5e656730-e1ca-11ec-be9b-9b1838238ee6", | ||
"name": "my-jira-connector", | ||
"type": ".jira", | ||
"fields": null | ||
}, | ||
"mappings": [ | ||
{ | ||
"source": "title", | ||
"target": "short_description", | ||
"source": "title", | ||
"target": "summary", | ||
"action_type": "overwrite" | ||
}, | ||
{ | ||
"source":"description", | ||
"target":"description", | ||
"action_type":"overwrite" | ||
"source": "description", | ||
"target": "description", | ||
"action_type": "overwrite" | ||
}, | ||
{ | ||
"source":"comments", | ||
"target":"work_notes", | ||
"action_type":"append" | ||
"source": "comments", | ||
"target": "comments", | ||
"action_type": "append" | ||
} | ||
], | ||
"version": "WzE3NywxXQ==", | ||
"version": "WzIwNzMsMV0=", | ||
"error": null, | ||
"id": "7349772f-421a-4de3-b8bb-2d9b22ccee30", | ||
"id": "4a97a440-e1cd-11ec-be9b-9b1838238ee6" | ||
} | ||
-------------------------------------------------- |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -101,19 +101,19 @@ The API returns the following: | |
[source,json] | ||
-------------------------------------------------- | ||
{ | ||
"closure_type": "close-by-user", | ||
"closure_type": "close-by-pushing", | ||
"owner": "cases", | ||
"created_at": "2022-04-06T20:57:40.746Z", | ||
"created_at": "2022-06-01T17:07:17.767Z", | ||
"created_by": { | ||
"email": "[email protected]", | ||
"full_name": "Ms Admin", | ||
"username": "admin" | ||
"email": "null", | ||
"full_name": "null", | ||
"username": "elastic" | ||
}, | ||
"updated_at": "2022-04-12T22:41:09.262Z", | ||
"updated_at": "2022-06-01T19:58:48.169Z", | ||
"updated_by": { | ||
"email": "[email protected]", | ||
"full_name": "Ms Admin", | ||
"username": "admin" | ||
"email": "null", | ||
"full_name": "null", | ||
"username": "elastic" | ||
}, | ||
"connector": { | ||
"id": "none", | ||
|
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
[[data-views-api-get-all]] | ||
=== Get all data views API | ||
++++ | ||
<titleabbrev>Get all data views</titleabbrev> | ||
++++ | ||
|
||
experimental[] Retrieve a list of all data views. | ||
|
||
|
||
[[data-views-api-get-all-request]] | ||
==== Request | ||
|
||
`GET <kibana host>:<port>/api/data_views` | ||
|
||
`GET <kibana host>:<port>/s/<space_id>/api/data_views` | ||
|
||
|
||
[[data-views-api-get-all-codes]] | ||
==== Response code | ||
|
||
`200`:: | ||
Indicates a successful call. | ||
|
||
|
||
[[data-views-api-get-all-example]] | ||
==== Example | ||
|
||
Retrieve the list of data views: | ||
|
||
[source,sh] | ||
-------------------------------------------------- | ||
$ curl -X GET api/data_views | ||
-------------------------------------------------- | ||
// KIBANA | ||
|
||
The API returns a list of data views: | ||
|
||
[source,sh] | ||
-------------------------------------------------- | ||
{ | ||
"data_view": [ | ||
{ | ||
"id": "e9e024f0-d098-11ec-bbe9-c753adcb34bc", | ||
"namespaces": [ | ||
"default" | ||
], | ||
"title": "tmp*", | ||
"type": "rollup", | ||
"typeMeta": {} | ||
}, | ||
{ | ||
"id": "90943e30-9a47-11e8-b64d-95841ca0b247", | ||
"namespaces": [ | ||
"default" | ||
], | ||
"title": "kibana_sample_data_logs" | ||
} | ||
] | ||
} | ||
-------------------------------------------------- |
Oops, something went wrong.