Skip to content

[7.9] [Security Solution] [Detections] Updates rules routes to validate "from" param on rules (#76000)#76048

Merged
dhurley14 merged 1 commit intoelastic:7.9from
dhurley14:backport/7.9/pr-76000
Aug 27, 2020
Merged

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

Conversation

@dhurley14
Copy link
Contributor

Backports the following commits to 7.9:

…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

✅ unchanged

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

@dhurley14 dhurley14 merged commit f3d36a1 into elastic:7.9 Aug 27, 2020
@dhurley14 dhurley14 deleted the backport/7.9/pr-76000 branch August 27, 2020 13:32
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