forked from mirrors/kingfisher
- Added kingfisher:ignore (or kingfisher:allow) to silence a finding inline within a file
- Added: to reuse existing inline directives from other scanners, pass --compat-ignore-comments to also accept NOSONAR, kics-scan ignore, gitleaks:allow and trufflehog:ignore
This commit is contained in:
parent
220aa83936
commit
92de1ba63d
14 changed files with 1 additions and 1052 deletions
|
|
@ -438,7 +438,6 @@ fn create_default_scan_args() -> cli::commands::scan::ScanArgs {
|
|||
skip_word: Vec::new(),
|
||||
output_args: OutputArgs { output: None, format: ReportOutputFormat::Pretty },
|
||||
no_base64: false,
|
||||
compat_ignore_comments: false,
|
||||
no_inline_ignore: false,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -864,7 +864,6 @@ mod tests {
|
|||
manage_baseline: false,
|
||||
skip_regex: Vec::new(),
|
||||
skip_word: Vec::new(),
|
||||
compat_ignore_comments: false,
|
||||
no_inline_ignore: false,
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -164,7 +164,6 @@ mod tests {
|
|||
skip_regex: Vec::new(),
|
||||
skip_word: Vec::new(),
|
||||
no_base64: false,
|
||||
compat_ignore_comments: false,
|
||||
no_inline_ignore: false,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue