File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
src/main/java/com/scanoss/cli Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -93,6 +93,9 @@ class ScanCommandLine implements Runnable {
93
93
@ picocli .CommandLine .Option (names = {"--snippet-limit" }, description = "Length of single line snippet limit (0 for unlimited, default 1000)" )
94
94
private int snippetLimit = 1000 ;
95
95
96
+ @ picocli .CommandLine .Option (names = {"--obfuscate" }, description = "Obfuscate fingerprints" )
97
+ private boolean obfuscate ;
98
+
96
99
@ picocli .CommandLine .Option (names = {"--ca-cert" }, description = "Alternative certificate PEM file (optional)" )
97
100
private String caCert ;
98
101
@@ -165,7 +168,7 @@ public void run() {
165
168
.hiddenFilesFolders (allHidden ).numThreads (numThreads ).url (apiUrl ).apiKey (apiKey )
166
169
.retryLimit (retryLimit ).timeout (Duration .ofSeconds (timeoutLimit )).scanFlags (scanFlags )
167
170
.sbomType (sbomType ).sbom (sbom ).snippetLimit (snippetLimit ).customCert (caCertPem ).proxy (proxy ).hpsm (enableHpsm )
168
- .settings (settings )
171
+ .settings (settings ). obfuscate ( obfuscate )
169
172
.build ();
170
173
171
174
File f = new File (fileFolder );
You can’t perform that action at this time.
0 commit comments