Skip to content

[7.x] [Security Solution] [Detections] Updates rules routes to validate "from" param on rules (#76000)#76047

Merged
dhurley14 merged 1 commit intoelastic:7.xfrom
dhurley14:backport/7.x/pr-76000
Aug 27, 2020
Merged

[7.x] [Security Solution] [Detections] Updates rules routes to validate "from" param on rules (#76000)#76047
dhurley14 merged 1 commit intoelastic:7.xfrom
dhurley14:backport/7.x/pr-76000

Conversation

@dhurley14
Copy link
Contributor

Backports the following commits to 7.x:

…om" param on rules (elastic#76000)

* updates validation on 'from' param to prevent malformed datemath strings from being accepted

* fix imports

* copy paste is not my friend

* missed type check somehow

* forgot to mock common utils

* updates bodies for request validation tests
@dhurley14 dhurley14 added the backport This PR is a backport of another PR label Aug 26, 2020
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Build metrics

async chunks size

id value diff baseline
securitySolution 9.5MB -195.0B 9.5MB

page load bundle size

id value diff baseline
securitySolution 809.9KB +2.1KB 807.8KB

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

@dhurley14 dhurley14 merged commit 35aea0d into elastic:7.x Aug 27, 2020
@dhurley14 dhurley14 deleted the backport/7.x/pr-76000 branch August 27, 2020 13:31
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