You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/java/org/openrewrite/java/dependencies/DependencyVulnerabilityCheck.java
+27-26Lines changed: 27 additions & 26 deletions
Original file line number
Diff line number
Diff line change
@@ -84,15 +84,15 @@ public String getDisplayName() {
84
84
publicStringgetDescription() {
85
85
//language=markdown
86
86
return"This software composition analysis (SCA) tool detects and upgrades dependencies with publicly disclosed vulnerabilities. " +
87
-
"This recipe both generates a report of vulnerable dependencies and upgrades to newer versions with fixes. " +
88
-
"Automatic upgrade of vulnerable versions is performed when the fixed version is a minor or patch version bump. " +
89
-
"Vulnerability information comes from the [GitHub Security Advisory Database](https://docs.github.com/en/code-security/security-advisories/global-security-advisories/about-the-github-advisory-database), " +
90
-
"which aggregates vulnerability data from several public databases, including the [National Vulnerability Database](https://nvd.nist.gov/) maintained by the United States government. " +
91
-
"Dependencies following [Semantic Versioning](https://semver.org/) will see their _patch_ version updated where applicable.";
87
+
"This recipe both generates a report of vulnerable dependencies and upgrades to newer versions with fixes. " +
88
+
"Automatic upgrade of vulnerable versions is performed when the fixed version is a minor or patch version bump. " +
89
+
"Vulnerability information comes from the [GitHub Security Advisory Database](https://docs.github.com/en/code-security/security-advisories/global-security-advisories/about-the-github-advisory-database), " +
90
+
"which aggregates vulnerability data from several public databases, including the [National Vulnerability Database](https://nvd.nist.gov/) maintained by the United States government. " +
91
+
"Dependencies following [Semantic Versioning](https://semver.org/) will see their _patch_ version updated where applicable.";
92
92
}
93
93
94
94
@Override
95
-
publicValidatedvalidate() {
95
+
publicValidated<Object>validate() {
96
96
returnsuper.validate().and(Validated.test("scope", "scope is a valid Maven scope", scope, s -> {
0 commit comments