Skip to content

Commit

Permalink
[8.x] [Console] Regenerate autocomplete definitions for 8.15 (#193208) (
Browse files Browse the repository at this point in the history
#193283)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[Console] Regenerate autocomplete definitions for 8.15
(#193208)](#193208)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Quentin
Pradet","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-09-18T12:13:10Z","message":"[Console]
Regenerate autocomplete definitions for 8.15 (#193208)\n\n##
Summary\r\n\r\nThis regenerates the autocomplete definitions using the
current 8.15\r\nbranch of the Elasticsearch specification. More
specifically:\r\n\r\n* Rename `query_rules` APIs to `query_ruleset` as
was done in 8.15 (not\r\nsure why this was not applied already)\r\n*
Update `format` for `esql.query` to include `arrow` (and remove
the\r\ncorresponding override)\r\n * Add three new Ingest GeoIP APIs and
3 Security APIs\r\n * Remove a number of unused/harmful query parameter
overrides","sha":"e5299a562e6a5e5071bed69b422df549d990d578","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Console","Team:Kibana
Management","release_note:skip","v9.0.0","v8.16.0","backport:version","v8.15.2"],"title":"[Console]
Regenerate autocomplete definitions for
8.15","number":193208,"url":"https://github.com/elastic/kibana/pull/193208","mergeCommit":{"message":"[Console]
Regenerate autocomplete definitions for 8.15 (#193208)\n\n##
Summary\r\n\r\nThis regenerates the autocomplete definitions using the
current 8.15\r\nbranch of the Elasticsearch specification. More
specifically:\r\n\r\n* Rename `query_rules` APIs to `query_ruleset` as
was done in 8.15 (not\r\nsure why this was not applied already)\r\n*
Update `format` for `esql.query` to include `arrow` (and remove
the\r\ncorresponding override)\r\n * Add three new Ingest GeoIP APIs and
3 Security APIs\r\n * Remove a number of unused/harmful query parameter
overrides","sha":"e5299a562e6a5e5071bed69b422df549d990d578"}},"sourceBranch":"main","suggestedTargetBranches":["8.x","8.15"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/193208","number":193208,"mergeCommit":{"message":"[Console]
Regenerate autocomplete definitions for 8.15 (#193208)\n\n##
Summary\r\n\r\nThis regenerates the autocomplete definitions using the
current 8.15\r\nbranch of the Elasticsearch specification. More
specifically:\r\n\r\n* Rename `query_rules` APIs to `query_ruleset` as
was done in 8.15 (not\r\nsure why this was not applied already)\r\n*
Update `format` for `esql.query` to include `arrow` (and remove
the\r\ncorresponding override)\r\n * Add three new Ingest GeoIP APIs and
3 Security APIs\r\n * Remove a number of unused/harmful query parameter
overrides","sha":"e5299a562e6a5e5071bed69b422df549d990d578"}},{"branch":"8.x","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.15","label":"v8.15.2","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Quentin Pradet <[email protected]>
  • Loading branch information
kibanamachine and pquentin authored Sep 18, 2024
1 parent 82e9329 commit 07c2a4b
Show file tree
Hide file tree
Showing 24 changed files with 196 additions and 63 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,16 @@
"filter_path": [],
"human": "__flag__",
"pretty": "__flag__",
"format": "",
"format": [
"csv",
"json",
"tsv",
"txt",
"yaml",
"cbor",
"smile",
"arrow"
],
"delimiter": ""
},
"methods": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
"closed",
"hidden",
"none"
]
],
"ignore_unavailable": "__flag__",
"allow_no_indices": "__flag__"
},
"methods": [
"GET"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"ingest.delete_geoip_database": {
"url_params": {
"error_trace": "__flag__",
"filter_path": [],
"human": "__flag__",
"pretty": "__flag__",
"master_timeout": [
"30s",
"-1",
"0"
],
"timeout": [
"30s",
"-1",
"0"
]
},
"methods": [
"DELETE"
],
"patterns": [
"_ingest/geoip/database/{id}"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-geoip-database-api.html",
"availability": {
"stack": true,
"serverless": false
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"ingest.get_geoip_database": {
"url_params": {
"error_trace": "__flag__",
"filter_path": [],
"human": "__flag__",
"pretty": "__flag__",
"master_timeout": [
"30s",
"-1",
"0"
]
},
"methods": [
"GET"
],
"patterns": [
"_ingest/geoip/database",
"_ingest/geoip/database/{id}"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-geoip-database-api.html",
"availability": {
"stack": true,
"serverless": false
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"ingest.put_geoip_database": {
"url_params": {
"error_trace": "__flag__",
"filter_path": [],
"human": "__flag__",
"pretty": "__flag__",
"master_timeout": [
"30s",
"-1",
"0"
],
"timeout": [
"30s",
"-1",
"0"
]
},
"methods": [
"PUT"
],
"patterns": [
"_ingest/geoip/database/{id}"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/put-geoip-database-api.html",
"availability": {
"stack": true,
"serverless": false
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
],
"ignore_throttled": "__flag__",
"ignore_unavailable": "__flag__",
"include_named_queries_score": "__flag__",
"max_concurrent_searches": "",
"max_concurrent_shard_requests": [
"5"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"query_rule.delete": {
"query_rules.delete_rule": {
"url_params": {
"error_trace": "__flag__",
"filter_path": [],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"query_ruleset.delete": {
"query_rules.delete_ruleset": {
"url_params": {
"error_trace": "__flag__",
"filter_path": [],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"query_rule.get": {
"query_rules.get_rule": {
"url_params": {
"error_trace": "__flag__",
"filter_path": [],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"query_ruleset.get": {
"query_rules.get_ruleset": {
"url_params": {
"error_trace": "__flag__",
"filter_path": [],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"query_ruleset.list": {
"query_rules.list_rulesets": {
"url_params": {
"error_trace": "__flag__",
"filter_path": [],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"query_rule.put": {
"query_rules.put_rule": {
"url_params": {
"error_trace": "__flag__",
"filter_path": [],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"query_ruleset.put": {
"query_rules.put_ruleset": {
"url_params": {
"error_trace": "__flag__",
"filter_path": [],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"explain": "__flag__",
"ignore_throttled": "__flag__",
"ignore_unavailable": "__flag__",
"include_named_queries_score": "__flag__",
"lenient": "__flag__",
"max_concurrent_shard_requests": [
"5"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"security.bulk_delete_role": {
"url_params": {
"error_trace": "__flag__",
"filter_path": [],
"human": "__flag__",
"pretty": "__flag__",
"refresh": [
"true",
"false",
"wait_for"
]
},
"methods": [
"DELETE"
],
"patterns": [
"_security/role"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-bulk-delete-role.html",
"availability": {
"stack": true,
"serverless": false
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"security.bulk_put_role": {
"url_params": {
"error_trace": "__flag__",
"filter_path": [],
"human": "__flag__",
"pretty": "__flag__",
"refresh": [
"true",
"false",
"wait_for"
]
},
"methods": [
"POST"
],
"patterns": [
"_security/role"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-bulk-put-role.html",
"availability": {
"stack": true,
"serverless": false
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"security.query_role": {
"url_params": {
"error_trace": "__flag__",
"filter_path": [],
"human": "__flag__",
"pretty": "__flag__"
},
"methods": [
"GET",
"POST"
],
"patterns": [
"_security/_query/role"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-query-role.html",
"availability": {
"stack": true,
"serverless": false
}
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
{
"security.query_user": {
"url_params": {
"error_trace": "__flag__",
"filter_path": [],
"human": "__flag__",
"pretty": "__flag__",
"with_profile_uid": "__flag__"
},
"methods": [
"GET",
"POST"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"max_docs": "",
"pipeline": "",
"preference": "",
"q": "",
"refresh": "__flag__",
"request_cache": "__flag__",
"requests_per_second": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,38 +1,10 @@
{
"cluster.health": {
"url_params": {
"expand_wildcards": [
"open",
"closed",
"hidden",
"none",
"all"
],
"level": [
"cluster",
"indices",
"shards"
],
"local": "__flag__",
"master_timeout": "",
"timeout": "",
"wait_for_active_shards": "",
"wait_for_nodes": "",
"wait_for_events": [
"immediate",
"urgent",
"high",
"normal",
"low",
"languid"
],
"wait_for_no_relocating_shards": "__flag__",
"wait_for_no_initializing_shards": "__flag__",
"wait_for_status": [
"green",
"yellow",
"red"
]
"wait_for_nodes": ""
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,6 @@
"locale": "",
"params": [],
"query": ""
},
"url_params": {
"format": [
"cbor",
"csv",
"json",
"smile",
"txt",
"tsv",
"yaml"
],
"drop_null_columns": [
"false",
"true"
]
}
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"query_ruleset.put": {
"query_rules.put_ruleset": {
"data_autocomplete_rules": {
"rules": [{
"rule_id": "",
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
"build",
"license",
"features"
],
"human": "__flag__"
]
}
}
}

0 comments on commit 07c2a4b

Please sign in to comment.