From ce39a207adb0bb0c657517f9eb32853b83152e18 Mon Sep 17 00:00:00 2001 From: Scott Jungling Date: Tue, 22 Oct 2024 20:40:35 -0700 Subject: [PATCH] chore: disable retirejs scanning (#61) not applicable for openrewrite repositories re https://github.com/moderneinc/dependency-vulnerability-reports/issues/753 --- .../org/openrewrite/gradle/RewriteDependencyCheckPlugin.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/org/openrewrite/gradle/RewriteDependencyCheckPlugin.java b/src/main/java/org/openrewrite/gradle/RewriteDependencyCheckPlugin.java index c405cfa..72c86c9 100644 --- a/src/main/java/org/openrewrite/gradle/RewriteDependencyCheckPlugin.java +++ b/src/main/java/org/openrewrite/gradle/RewriteDependencyCheckPlugin.java @@ -43,6 +43,9 @@ public void apply(Project project) { ext.getAnalyzers().setAssemblyEnabled(false); ext.getAnalyzers().setNodeAuditEnabled(false); ext.getAnalyzers().setNodeEnabled(false); + ext.getAnalyzers().retirejs( + retireJs -> retireJs.setEnabled(false) + ); ext.setFailBuildOnCVSS(failBuildOnCVSS); ext.setFormat(format); ext.getNvd().setApiKey(System.getenv("NVD_API_KEY"));