-
-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Extend authentication configuration options (including bearer) (#…
…428)
- Loading branch information
Showing
9 changed files
with
110 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
[versions] | ||
odc = '11.1.1' | ||
odc = '11.1.2-SNAPSHOT' | ||
spock = '2.3-groovy-3.0' | ||
junit = '5.10.3' | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
src/main/groovy/org/owasp/dependencycheck/gradle/extension/KEVExtension.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
package org.owasp.dependencycheck.gradle.extension | ||
|
||
class KEVExtension { | ||
/** | ||
* Sets whether the Known Exploited Vulnerability update and Analyzer will be used. | ||
*/ | ||
Boolean enabled | ||
/** | ||
* URL to the CISA Known Exploited Vulnerabilities JSON data feed. | ||
*/ | ||
String url | ||
/** | ||
* Credentials used for basic authentication for the CISA Known Exploited Vulnerabilities JSON data feed. | ||
*/ | ||
String user | ||
/** | ||
* Credentials used for basic authentication for the CISA Known Exploited Vulnerabilities JSON data feed. | ||
*/ | ||
String password | ||
/** | ||
* Credentials used for bearer authentication for the CISA Known Exploited Vulnerabilities JSON data feed. | ||
*/ | ||
String bearerToken | ||
/** | ||
* Controls the skipping of the check for Known Exploited Vulnerabilities updates. | ||
*/ | ||
Integer validForHours | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters