forked from mirrors/kingfisher
Merge branch 'development' into inline-ignore
Signed-off-by: Mick Grove <mick.grove@mongodb.com>
This commit is contained in:
commit
1f5b96c8d3
13 changed files with 1051 additions and 0 deletions
1036
README.md.orig
Normal file
1036
README.md.orig
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -416,6 +416,7 @@ fn create_default_scan_args() -> cli::commands::scan::ScanArgs {
|
|||
since_commit: None,
|
||||
branch: None,
|
||||
},
|
||||
compat_ignore_comments: false,
|
||||
content_filtering_args: ContentFilteringArgs {
|
||||
max_file_size_mb: 25.0,
|
||||
no_extract_archives: true,
|
||||
|
|
|
|||
|
|
@ -842,6 +842,7 @@ mod tests {
|
|||
since_commit: None,
|
||||
branch: None,
|
||||
},
|
||||
compat_ignore_comments: false,
|
||||
content_filtering_args: ContentFilteringArgs {
|
||||
max_file_size_mb: 256.0,
|
||||
exclude: Vec::new(),
|
||||
|
|
|
|||
|
|
@ -143,6 +143,7 @@ mod tests {
|
|||
since_commit: None,
|
||||
branch: None,
|
||||
},
|
||||
compat_ignore_comments: false,
|
||||
content_filtering_args: ContentFilteringArgs {
|
||||
max_file_size_mb: 25.0,
|
||||
no_extract_archives: false,
|
||||
|
|
|
|||
|
|
@ -112,6 +112,7 @@ fn run_skiplist(skip_regex: Vec<String>, skip_skipword: Vec<String>) -> Result<u
|
|||
since_commit: None,
|
||||
branch: None,
|
||||
},
|
||||
compat_ignore_comments: false,
|
||||
content_filtering_args: ContentFilteringArgs {
|
||||
max_file_size_mb: 5.0,
|
||||
exclude: Vec::new(),
|
||||
|
|
|
|||
|
|
@ -111,6 +111,7 @@ fn test_bitbucket_remote_scan() -> Result<()> {
|
|||
since_commit: None,
|
||||
branch: None,
|
||||
},
|
||||
compat_ignore_comments: false,
|
||||
content_filtering_args: ContentFilteringArgs {
|
||||
max_file_size_mb: 25.0,
|
||||
no_extract_archives: false,
|
||||
|
|
|
|||
|
|
@ -131,6 +131,7 @@ rules:
|
|||
since_commit: None,
|
||||
branch: None,
|
||||
},
|
||||
compat_ignore_comments: false,
|
||||
content_filtering_args: ContentFilteringArgs {
|
||||
max_file_size_mb: 5.0,
|
||||
extraction_depth: 1,
|
||||
|
|
|
|||
|
|
@ -118,6 +118,7 @@ fn test_github_remote_scan() -> Result<()> {
|
|||
since_commit: None,
|
||||
branch: None,
|
||||
},
|
||||
compat_ignore_comments: false,
|
||||
content_filtering_args: ContentFilteringArgs {
|
||||
max_file_size_mb: 25.0,
|
||||
no_extract_archives: false,
|
||||
|
|
|
|||
|
|
@ -116,6 +116,7 @@ fn test_gitlab_remote_scan() -> Result<()> {
|
|||
since_commit: None,
|
||||
branch: None,
|
||||
},
|
||||
compat_ignore_comments: false,
|
||||
content_filtering_args: ContentFilteringArgs {
|
||||
max_file_size_mb: 25.0,
|
||||
no_extract_archives: false,
|
||||
|
|
@ -253,6 +254,7 @@ fn test_gitlab_remote_scan_no_history() -> Result<()> {
|
|||
since_commit: None,
|
||||
branch: None,
|
||||
},
|
||||
compat_ignore_comments: false,
|
||||
content_filtering_args: ContentFilteringArgs {
|
||||
max_file_size_mb: 25.0,
|
||||
no_extract_archives: false,
|
||||
|
|
|
|||
|
|
@ -95,6 +95,7 @@ async fn test_redact_hashes_finding_values() -> Result<()> {
|
|||
since_commit: None,
|
||||
branch: None,
|
||||
},
|
||||
compat_ignore_comments: false,
|
||||
content_filtering_args: ContentFilteringArgs {
|
||||
max_file_size_mb: 25.0,
|
||||
extraction_depth: 2,
|
||||
|
|
|
|||
|
|
@ -102,6 +102,7 @@ impl TestContext {
|
|||
since_commit: None,
|
||||
branch: None,
|
||||
},
|
||||
compat_ignore_comments: false,
|
||||
content_filtering_args: ContentFilteringArgs {
|
||||
max_file_size_mb: 25.0,
|
||||
extraction_depth: 2,
|
||||
|
|
@ -227,6 +228,7 @@ async fn test_scan_slack_messages() -> Result<()> {
|
|||
since_commit: None,
|
||||
branch: None,
|
||||
},
|
||||
compat_ignore_comments: false,
|
||||
content_filtering_args: ContentFilteringArgs {
|
||||
max_file_size_mb: 25.0,
|
||||
extraction_depth: 2,
|
||||
|
|
|
|||
|
|
@ -174,6 +174,7 @@ async fn test_validation_cache_and_depvars() -> Result<()> {
|
|||
since_commit: None,
|
||||
branch: None,
|
||||
},
|
||||
compat_ignore_comments: false,
|
||||
content_filtering_args: ContentFilteringArgs {
|
||||
max_file_size_mb: 25.0,
|
||||
extraction_depth: 2,
|
||||
|
|
|
|||
|
|
@ -117,6 +117,7 @@ impl TestContext {
|
|||
since_commit: None,
|
||||
branch: None,
|
||||
},
|
||||
compat_ignore_comments: false,
|
||||
content_filtering_args: ContentFilteringArgs {
|
||||
max_file_size_mb: 25.0,
|
||||
extraction_depth: 2,
|
||||
|
|
@ -229,6 +230,7 @@ impl TestContext {
|
|||
since_commit: None,
|
||||
branch: None,
|
||||
},
|
||||
compat_ignore_comments: false,
|
||||
content_filtering_args: ContentFilteringArgs {
|
||||
max_file_size_mb: 25.0,
|
||||
extraction_depth: 2,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue