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

[1.x] Update detekt and ktlint version #556

Merged
merged 4 commits into from
Dec 1, 2022
Merged

[1.x] Update detekt and ktlint version #556

merged 4 commits into from
Dec 1, 2022

Conversation

rupal-bq
Copy link
Member

@rupal-bq rupal-bq commented Dec 1, 2022

Description

Upgrading detekt, snakyaml, and ktlint to resolve CVE

Issues Resolved

CVE-2022-0272
CVE-2022-25857
CVE-2022-38750
CVE-2022-38752
CVE-2022-41854
CVE-2015-5262
CVE-2020-13956
CVE-2022-38751
CVE-2018-10237
CVE-2022-38749
CVE-2020-8908

Check List

  • New functionality includes testing.
    • All tests pass, including unit test, integration test and doctest
  • New functionality has been documented.
    • New functionality has javadoc added
    • New functionality has user manual doc added
  • Commits are signed per the DCO using --signoff

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.

Signed-off-by: Rupal Mahajan <maharup@amazon.com>
Signed-off-by: Rupal Mahajan <maharup@amazon.com>
Signed-off-by: Rupal Mahajan <maharup@amazon.com>
Signed-off-by: Rupal Mahajan <maharup@amazon.com>
@rupal-bq rupal-bq requested a review from a team as a code owner December 1, 2022 19:44
@codecov-commenter
Copy link

Codecov Report

Merging #556 (869b5c1) into 1.x (0268d4d) will increase coverage by 2.71%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                1.x     #556      +/-   ##
============================================
+ Coverage     74.35%   77.06%   +2.71%     
============================================
  Files            94       30      -64     
  Lines          3969     1910    -2059     
  Branches        612      383     -229     
============================================
- Hits           2951     1472    -1479     
+ Misses          884      435     -449     
+ Partials        134        3     -131     
Flag Coverage Δ
dashboards-reports 77.06% <ø> (ø)
reports-scheduler ?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...nsearch/reportsscheduler/ReportsSchedulerPlugin.kt
...tsscheduler/action/CreateReportDefinitionAction.kt
...tsscheduler/action/DeleteReportDefinitionAction.kt
...sscheduler/action/GetAllReportDefinitionsAction.kt
...rtsscheduler/action/GetAllReportInstancesAction.kt
...portsscheduler/action/GetReportDefinitionAction.kt
...reportsscheduler/action/GetReportInstanceAction.kt
...rtsscheduler/action/InContextReportCreateAction.kt
...ortsscheduler/action/OnDemandReportCreateAction.kt
...search/reportsscheduler/action/PluginBaseAction.kt
... and 54 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@rupal-bq rupal-bq merged commit 8aeab12 into opensearch-project:1.x Dec 1, 2022
opensearch-trigger-bot bot pushed a commit that referenced this pull request Dec 1, 2022
* Update detekt, ktlint and snakeyaml

Signed-off-by: Rupal Mahajan <maharup@amazon.com>

* Fix detekt build failure

Signed-off-by: Rupal Mahajan <maharup@amazon.com>

* Update ktlint version to 0.45.1 (#521)

Signed-off-by: Rupal Mahajan <maharup@amazon.com>

* Fix ktlint build errors

Signed-off-by: Rupal Mahajan <maharup@amazon.com>

Signed-off-by: Rupal Mahajan <maharup@amazon.com>
(cherry picked from commit 8aeab12)
rupal-bq added a commit that referenced this pull request Dec 1, 2022
* Update detekt, ktlint and snakeyaml

Signed-off-by: Rupal Mahajan <maharup@amazon.com>

* Fix detekt build failure

Signed-off-by: Rupal Mahajan <maharup@amazon.com>

* Update ktlint version to 0.45.1 (#521)

Signed-off-by: Rupal Mahajan <maharup@amazon.com>

* Fix ktlint build errors

Signed-off-by: Rupal Mahajan <maharup@amazon.com>

Signed-off-by: Rupal Mahajan <maharup@amazon.com>
(cherry picked from commit 8aeab12)

Co-authored-by: Rupal Mahajan <maharup@amazon.com>
@rupal-bq rupal-bq deleted the 1.x.scheduler-cve branch December 13, 2022 03:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants