Skip to content

Commit

Permalink
Use NVD_API_KEY for other OpenRewrite projects as well
Browse files Browse the repository at this point in the history
  • Loading branch information
timtebeek committed Feb 28, 2024
1 parent c3478cb commit 03f1892
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ public void apply(Project project) {
ext.getAnalyzers().setAssemblyEnabled(false);
ext.setFailBuildOnCVSS(9.0f);
ext.setScanProjects(Collections.singletonList(project.getName()));
ext.getNvd().setApiKey(System.getenv("NVD_API_KEY"));
});
}
}

0 comments on commit 03f1892

Please sign in to comment.