Merge branch 'development' into inline-ignore

Signed-off-by: Mick Grove <mick.grove@mongodb.com>
This commit is contained in:
Mick Grove 2025-10-09 20:19:02 -07:00 committed by GitHub
commit 1f5b96c8d3
13 changed files with 1051 additions and 0 deletions

1036
README.md.orig Normal file

File diff suppressed because it is too large Load diff

View file

@ -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,

View file

@ -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(),

View file

@ -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,

View file

@ -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(),

View file

@ -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,

View file

@ -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,

View file

@ -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,

View file

@ -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,

View file

@ -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,

View file

@ -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,

View file

@ -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,

View file

@ -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,