forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Console] Regenerate autocomplete definitions for 8.15 (elastic#193208)
## Summary This regenerates the autocomplete definitions using the current 8.15 branch of the Elasticsearch specification. More specifically: * Rename `query_rules` APIs to `query_ruleset` as was done in 8.15 (not sure why this was not applied already) * Update `format` for `esql.query` to include `arrow` (and remove the corresponding override) * Add three new Ingest GeoIP APIs and 3 Security APIs * Remove a number of unused/harmful query parameter overrides (cherry picked from commit e5299a5)
- Loading branch information
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__" | ||
] | ||
} | ||
} | ||
} |