-
Notifications
You must be signed in to change notification settings - Fork 78
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
Update to Safe yaml constructor #201
Conversation
Signed-off-by: Suraj Singh <[email protected]>
Codecov Report
@@ Coverage Diff @@
## main #201 +/- ##
============================================
+ Coverage 39.06% 39.08% +0.01%
- Complexity 890 891 +1
============================================
Files 176 176
Lines 6722 6722
Branches 820 820
============================================
+ Hits 2626 2627 +1
Misses 3854 3854
+ Partials 242 241 -1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
@dreamer-89 this is the same pr as this one https://github.com/opensearch-project/security-analytics/pull/198/files |
Thanks @sbcd90 for pointing this out. Closing in favour of #198 |
* remove unused service Signed-off-by: Aleksandar Djindjic <[email protected]> * refactor form state Signed-off-by: Aleksandar Djindjic <[email protected]> * extract model and mappers Signed-off-by: Aleksandar Djindjic <[email protected]> * Extract Visual Rule Editor Component Signed-off-by: Aleksandar Djindjic <[email protected]> * fix missing default id Signed-off-by: Aleksandar Djindjic <[email protected]> * yaml editor Signed-off-by: Aleksandar Djindjic <[email protected]> * yaml rule editor mappings Signed-off-by: Aleksandar Djindjic <[email protected]> * more mapping guards Signed-off-by: Aleksandar Djindjic <[email protected]> * remove console.log's Signed-off-by: Aleksandar Djindjic <[email protected]> * YAML editor - cypress test Signed-off-by: Aleksandar Djindjic <[email protected]> * yaml editor snapshot test Signed-off-by: Aleksandar Djindjic <[email protected]> * rename model Signed-off-by: Aleksandar Djindjic <[email protected]> * more validations on yaml editor Signed-off-by: Aleksandar Djindjic <[email protected]> * use eui form validation error box Signed-off-by: Aleksandar Djindjic <[email protected]> * re-generate snapshot Signed-off-by: Aleksandar Djindjic <[email protected]> Signed-off-by: Aleksandar Djindjic <[email protected]>
* remove unused service Signed-off-by: Aleksandar Djindjic <[email protected]> * refactor form state Signed-off-by: Aleksandar Djindjic <[email protected]> * extract model and mappers Signed-off-by: Aleksandar Djindjic <[email protected]> * Extract Visual Rule Editor Component Signed-off-by: Aleksandar Djindjic <[email protected]> * fix missing default id Signed-off-by: Aleksandar Djindjic <[email protected]> * yaml editor Signed-off-by: Aleksandar Djindjic <[email protected]> * yaml rule editor mappings Signed-off-by: Aleksandar Djindjic <[email protected]> * more mapping guards Signed-off-by: Aleksandar Djindjic <[email protected]> * remove console.log's Signed-off-by: Aleksandar Djindjic <[email protected]> * YAML editor - cypress test Signed-off-by: Aleksandar Djindjic <[email protected]> * yaml editor snapshot test Signed-off-by: Aleksandar Djindjic <[email protected]> * rename model Signed-off-by: Aleksandar Djindjic <[email protected]> * more validations on yaml editor Signed-off-by: Aleksandar Djindjic <[email protected]> * use eui form validation error box Signed-off-by: Aleksandar Djindjic <[email protected]> * re-generate snapshot Signed-off-by: Aleksandar Djindjic <[email protected]> Signed-off-by: Aleksandar Djindjic <[email protected]>
* remove unused service Signed-off-by: Aleksandar Djindjic <[email protected]> * refactor form state Signed-off-by: Aleksandar Djindjic <[email protected]> * extract model and mappers Signed-off-by: Aleksandar Djindjic <[email protected]> * Extract Visual Rule Editor Component Signed-off-by: Aleksandar Djindjic <[email protected]> * fix missing default id Signed-off-by: Aleksandar Djindjic <[email protected]> * yaml editor Signed-off-by: Aleksandar Djindjic <[email protected]> * yaml rule editor mappings Signed-off-by: Aleksandar Djindjic <[email protected]> * more mapping guards Signed-off-by: Aleksandar Djindjic <[email protected]> * remove console.log's Signed-off-by: Aleksandar Djindjic <[email protected]> * YAML editor - cypress test Signed-off-by: Aleksandar Djindjic <[email protected]> * yaml editor snapshot test Signed-off-by: Aleksandar Djindjic <[email protected]> * rename model Signed-off-by: Aleksandar Djindjic <[email protected]> * more validations on yaml editor Signed-off-by: Aleksandar Djindjic <[email protected]> * use eui form validation error box Signed-off-by: Aleksandar Djindjic <[email protected]> * re-generate snapshot Signed-off-by: Aleksandar Djindjic <[email protected]> Signed-off-by: Aleksandar Djindjic <[email protected]>
Signed-off-by: Suraj Singh [email protected]
Description
Based on security best practices, changeing default to safe yaml constructor [1].
https://bitbucket.org/snakeyaml/snakeyaml/wiki/Documentation
Issues Resolved
opensearch-project/OpenSearch#5576
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.