Skip to content

[7.11] [Security Solution] [Detections] Remove allow_no_indices to prevent error being thrown in response of field capabilities (#89927)#90073

Merged
dhurley14 merged 1 commit intoelastic:7.11from
dhurley14:backport/7.11/pr-89927
Feb 2, 2021
Merged

Conversation

@dhurley14
Copy link
Copy Markdown
Contributor

Backports the following commits to 7.11:

…rror being thrown in response of field capabilities (elastic#89927)

* remove allow_no_indices param, adds a check if response has empty indices property then write error status with index patterns provided to rule

* fix tests

* fix tests and update with comments

* update integration tests

* adds integration test for when an index pattern doesn't exist the rule should fail and when one index pattern does exist but another does not, the rule should succeed
@dhurley14 dhurley14 added the backport This PR is a backport of another PR label Feb 2, 2021
@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
triggersActionsUi 1.5MB 1.5MB -26.9KB

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
triggersActionsUi 162.3KB 162.4KB +102.0B
Unknown metric groups

async chunk count

id before after diff
triggersActionsUi 31 32 +1

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@dhurley14 dhurley14 merged commit 848d15f into elastic:7.11 Feb 2, 2021
@dhurley14 dhurley14 deleted the backport/7.11/pr-89927 branch February 2, 2021 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants