Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[7.9] [Security Solution] [Detections] Remove file validation on import route (#77770) #77822

Merged
merged 1 commit into from
Sep 17, 2020

Conversation

dhurley14
Copy link
Contributor

Backports the following commits to 7.9:

…te (elastic#77770)

* utlize schema.any() for validation on file in body of import rules request, adds new functional tests and unit tests to make sure we can reach and don't go past bounds. These tests would have helped uncover performance issues io-ts gave us with validating the import rules file object

* fix type check failure

* updates getSimpleRule and getSimpleRuleAsNdjson to accept an enabled param defaulted to false

* updates comments in e2e tests for import rules route

* fix tests after adding enabled boolean in test utils
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Build metrics

‼️ ERROR: unable to find build with id [bd5d82d7-ca76-418d-9c25-917a628f0ea4]

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

@dhurley14 dhurley14 merged commit 8fe4265 into elastic:7.9 Sep 17, 2020
@dhurley14 dhurley14 deleted the backport/7.9/pr-77770 branch September 17, 2020 22:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants