Skip to content

Write a popular recipe guide for resolving vulnerable dependencies #288

@timtebeek

Description

@timtebeek

What problem are you trying to solve?

Folks might not be aware that we are able to confidently solve vulnerabilities using OpenRewrite recipes, and also bump transitive dependencies.

Describe the solution you'd like

Guide folks towards the Find and fix vulnerable dependencies recipe, and educate them on

  1. how to set overrideTransitive: true to get Maven dependencyManagement or Gradle constraints added
    a. and explain how 80% of vulnerabilities are in transitive dependencies, otherwise missed by other tools
  2. explain how the recipe will only confidently bump patch versions, to the vulnerability recommended version
  3. explain the data table produced when passing in -Drewrite.exportDatatables=true, and the minor/major/no fix insights that gives
  4. guide them towards next steps such as
    a. directly using UpgradeDependencyVersion and UpgradeTransitiveDependencyVersion for minor version bumps,
    b. or the framework migration recipes for Spring, Micronaut and Quarkus for major version bumps.

Additional context

Came up in our OSS Slack.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or request

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions