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: README.md
+9-1Lines changed: 9 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -68,7 +68,7 @@ plugins {
68
68
}
69
69
```
70
70
71
-
Some basic examples will be provided next, which we strongly advice to read :)
71
+
Some basic examples follow, which we strongly advise reading :)
72
72
73
73
After doing so, specific usage on CI tools can be found at https://github.com/guillermo-varela/example-scan-gradle-plugin
74
74
@@ -104,6 +104,10 @@ ossIndexAudit {
104
104
excludeCoordinates = ['commons-fileupload:commons-fileupload:1.3'] // list containing coordinate of components which if vulnerable should be ignored
105
105
excludeCompileOnly = true // if true then dependencies under the 'compileOnly' configuration will be ignored. By default is false
106
106
107
+
// By default, the audit scan will fail the task/build if any vulnerabilities are found.
108
+
// Set this to 'false' to allow the task to succeed even when vulnerabilities are detected.
109
+
failOnDetection = true
110
+
107
111
// Output options
108
112
outputFormat = 'DEFAULT' // Optional, other values are: 'DEPENDENCY_GRAPH' prints dependency graph showing direct/transitive dependencies, 'JSON_CYCLONE_DX_1_4' prints a CycloneDX 1.4 SBOM in JSON format.
109
113
cycloneDxComponentType = 'LIBRARY' // Optional, only used when outputFormat = 'JSON_CYCLONE_DX_1_4' to define the type of component this project is for the BOM metadata with possible values: 'LIBRARY' (default), 'APPLICATION', 'FRAMEWORK', 'CONTAINER', 'OPERATING_SYSTEM', 'DEVICE', 'FIRMWARE' and 'FILE'.
@@ -144,6 +148,10 @@ ossIndexAudit {
144
148
listOf("commons-fileupload:commons-fileupload:1.3") // list containing coordinate of components which if vulnerable should be ignored
145
149
excludeCompileOnly =true// if true then dependencies under the 'compileOnly' configuration will be ignored. By default is false
146
150
151
+
// By default, the audit scan will fail the task/build if any vulnerabilities are found.
152
+
// Set this to 'false' to allow the task to succeed even when vulnerabilities are detected.
153
+
failOnDetection =true
154
+
147
155
// Output options
148
156
outputFormat ="DEFAULT"// Optional, other values are: "DEPENDENCY_GRAPH" prints dependency graph showing direct/transitive dependencies, "JSON_CYCLONE_DX_1_4" prints a CycloneDX 1.4 SBOM in JSON format.
149
157
cycloneDxComponentType ="LIBRARY"// Optional, only used when outputFormat = "JSON_CYCLONE_DX_1_4" to define the type of component this project is for the BOM metadata with possible values: "LIBRARY" (default), "APPLICATION", "FRAMEWORK", "CONTAINER", "OPERATING_SYSTEM", "DEVICE", "FIRMWARE" and "FILE".
0 commit comments