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: src/main.rs
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -72,7 +72,7 @@ enum Commands {
72
72
#[arg(
73
73
short,
74
74
long,
75
-
help = "Specify the scan type. By default, a full scan is run, which includes all scan types. You can choose to run a partial scan by specifying one or more of the following types: base AI blast (base), malicious code detection (malicious), policy checks (policy), secret detection (secrets), and PII scan (pii). Use comma-separated values to run multiple types, e.g., 'policy,secrets,pii'."
75
+
help = "Specify the scan type. By default, a full scan is run, which includes all scan types. You can choose to run a partial scan by specifying one or more of the following types: base AI blast (blast), malicious code detection (malicious), policy checks (policy), secret detection (secrets), and PII scan (pii). Use comma-separated values to run multiple types, e.g., 'policy,secrets,pii'."
76
76
)]
77
77
scan_type:Option<String>,
78
78
},
@@ -229,11 +229,11 @@ fn main() {
229
229
eprintln!("scan_type cannot be empty.");
230
230
std::process::exit(1);
231
231
}
232
-
let supported_scan_types = ["base","malicious","policy","secrets","pii"];
232
+
let supported_scan_types = ["blast","malicious","policy","secrets","pii"];
233
233
let scan_types:Vec<_> = scan_type.split(',').map(|t| t.trim()).collect();
0 commit comments