-
Notifications
You must be signed in to change notification settings - Fork 75
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 <surajrider@gmail.com>
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 <djindjic@gmail.com> * refactor form state Signed-off-by: Aleksandar Djindjic <djindjic@gmail.com> * extract model and mappers Signed-off-by: Aleksandar Djindjic <djindjic@gmail.com> * Extract Visual Rule Editor Component Signed-off-by: Aleksandar Djindjic <djindjic@gmail.com> * fix missing default id Signed-off-by: Aleksandar Djindjic <djindjic@gmail.com> * yaml editor Signed-off-by: Aleksandar Djindjic <djindjic@gmail.com> * yaml rule editor mappings Signed-off-by: Aleksandar Djindjic <djindjic@gmail.com> * more mapping guards Signed-off-by: Aleksandar Djindjic <djindjic@gmail.com> * remove console.log's Signed-off-by: Aleksandar Djindjic <djindjic@gmail.com> * YAML editor - cypress test Signed-off-by: Aleksandar Djindjic <djindjic@gmail.com> * yaml editor snapshot test Signed-off-by: Aleksandar Djindjic <djindjic@gmail.com> * rename model Signed-off-by: Aleksandar Djindjic <djindjic@gmail.com> * more validations on yaml editor Signed-off-by: Aleksandar Djindjic <djindjic@gmail.com> * use eui form validation error box Signed-off-by: Aleksandar Djindjic <djindjic@gmail.com> * re-generate snapshot Signed-off-by: Aleksandar Djindjic <djindjic@gmail.com> Signed-off-by: Aleksandar Djindjic <djindjic@gmail.com>
* remove unused service Signed-off-by: Aleksandar Djindjic <djindjic@gmail.com> * refactor form state Signed-off-by: Aleksandar Djindjic <djindjic@gmail.com> * extract model and mappers Signed-off-by: Aleksandar Djindjic <djindjic@gmail.com> * Extract Visual Rule Editor Component Signed-off-by: Aleksandar Djindjic <djindjic@gmail.com> * fix missing default id Signed-off-by: Aleksandar Djindjic <djindjic@gmail.com> * yaml editor Signed-off-by: Aleksandar Djindjic <djindjic@gmail.com> * yaml rule editor mappings Signed-off-by: Aleksandar Djindjic <djindjic@gmail.com> * more mapping guards Signed-off-by: Aleksandar Djindjic <djindjic@gmail.com> * remove console.log's Signed-off-by: Aleksandar Djindjic <djindjic@gmail.com> * YAML editor - cypress test Signed-off-by: Aleksandar Djindjic <djindjic@gmail.com> * yaml editor snapshot test Signed-off-by: Aleksandar Djindjic <djindjic@gmail.com> * rename model Signed-off-by: Aleksandar Djindjic <djindjic@gmail.com> * more validations on yaml editor Signed-off-by: Aleksandar Djindjic <djindjic@gmail.com> * use eui form validation error box Signed-off-by: Aleksandar Djindjic <djindjic@gmail.com> * re-generate snapshot Signed-off-by: Aleksandar Djindjic <djindjic@gmail.com> Signed-off-by: Aleksandar Djindjic <djindjic@gmail.com>
* remove unused service Signed-off-by: Aleksandar Djindjic <djindjic@gmail.com> * refactor form state Signed-off-by: Aleksandar Djindjic <djindjic@gmail.com> * extract model and mappers Signed-off-by: Aleksandar Djindjic <djindjic@gmail.com> * Extract Visual Rule Editor Component Signed-off-by: Aleksandar Djindjic <djindjic@gmail.com> * fix missing default id Signed-off-by: Aleksandar Djindjic <djindjic@gmail.com> * yaml editor Signed-off-by: Aleksandar Djindjic <djindjic@gmail.com> * yaml rule editor mappings Signed-off-by: Aleksandar Djindjic <djindjic@gmail.com> * more mapping guards Signed-off-by: Aleksandar Djindjic <djindjic@gmail.com> * remove console.log's Signed-off-by: Aleksandar Djindjic <djindjic@gmail.com> * YAML editor - cypress test Signed-off-by: Aleksandar Djindjic <djindjic@gmail.com> * yaml editor snapshot test Signed-off-by: Aleksandar Djindjic <djindjic@gmail.com> * rename model Signed-off-by: Aleksandar Djindjic <djindjic@gmail.com> * more validations on yaml editor Signed-off-by: Aleksandar Djindjic <djindjic@gmail.com> * use eui form validation error box Signed-off-by: Aleksandar Djindjic <djindjic@gmail.com> * re-generate snapshot Signed-off-by: Aleksandar Djindjic <djindjic@gmail.com> Signed-off-by: Aleksandar Djindjic <djindjic@gmail.com>
Signed-off-by: Suraj Singh surajrider@gmail.com
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.