-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.x] [Console] Regenerate autocomplete definitions for 8.15 (#193208) (
#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
1 parent
82e9329
commit 07c2a4b
Showing
24 changed files
with
196 additions
and
63 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
31 changes: 31 additions & 0 deletions
31
...gins/console/server/lib/spec_definitions/json/generated/ingest.delete_geoip_database.json
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,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 | ||
} | ||
} | ||
} |
27 changes: 27 additions & 0 deletions
27
...plugins/console/server/lib/spec_definitions/json/generated/ingest.get_geoip_database.json
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,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 | ||
} | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
...plugins/console/server/lib/spec_definitions/json/generated/ingest.put_geoip_database.json
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,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 | ||
} | ||
} | ||
} |
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
2 changes: 1 addition & 1 deletion
2
...ons/json/generated/query_rule.delete.json → ...on/generated/query_rules.delete_rule.json
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
2 changes: 1 addition & 1 deletion
2
.../json/generated/query_ruleset.delete.json → ...generated/query_rules.delete_ruleset.json
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
2 changes: 1 addition & 1 deletion
2
...itions/json/generated/query_rule.get.json → .../json/generated/query_rules.get_rule.json
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"query_rule.get": { | ||
"query_rules.get_rule": { | ||
"url_params": { | ||
"error_trace": "__flag__", | ||
"filter_path": [], | ||
|
2 changes: 1 addition & 1 deletion
2
...ons/json/generated/query_ruleset.get.json → ...on/generated/query_rules.get_ruleset.json
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
2 changes: 1 addition & 1 deletion
2
...ns/json/generated/query_ruleset.list.json → .../generated/query_rules.list_rulesets.json
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
2 changes: 1 addition & 1 deletion
2
...itions/json/generated/query_rule.put.json → .../json/generated/query_rules.put_rule.json
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"query_rule.put": { | ||
"query_rules.put_rule": { | ||
"url_params": { | ||
"error_trace": "__flag__", | ||
"filter_path": [], | ||
|
2 changes: 1 addition & 1 deletion
2
...ons/json/generated/query_ruleset.put.json → ...on/generated/query_rules.put_ruleset.json
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
26 changes: 26 additions & 0 deletions
26
...plugins/console/server/lib/spec_definitions/json/generated/security.bulk_delete_role.json
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,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 | ||
} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
src/plugins/console/server/lib/spec_definitions/json/generated/security.bulk_put_role.json
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,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 | ||
} | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
src/plugins/console/server/lib/spec_definitions/json/generated/security.query_role.json
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,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 | ||
} | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
src/plugins/console/server/lib/spec_definitions/json/generated/security.query_user.json
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
30 changes: 1 addition & 29 deletions
30
src/plugins/console/server/lib/spec_definitions/json/overrides/cluster.health.json
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 |
---|---|---|
@@ -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": "" | ||
} | ||
} | ||
} |
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
2 changes: 1 addition & 1 deletion
2
...ons/json/overrides/query_ruleset.put.json → ...on/overrides/query_rules.put_ruleset.json
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"query_ruleset.put": { | ||
"query_rules.put_ruleset": { | ||
"data_autocomplete_rules": { | ||
"rules": [{ | ||
"rule_id": "", | ||
|
7 changes: 0 additions & 7 deletions
7
src/plugins/console/server/lib/spec_definitions/json/overrides/search.json
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -5,8 +5,7 @@ | |
"build", | ||
"license", | ||
"features" | ||
], | ||
"human": "__flag__" | ||
] | ||
} | ||
} | ||
} |