forked from mirrors/kingfisher
updated rule for AWS Secret Access key
This commit is contained in:
parent
def9e5d18c
commit
01b6038f46
2 changed files with 9 additions and 6 deletions
|
|
@ -6,6 +6,7 @@ All notable changes to this project will be documented in this file.
|
|||
- Enabled MongoDB URI validation
|
||||
- AWS + GCP validators now respect HTTPS_PROXY and share a consistent user agent across AWS, GCP, and HTTP validation
|
||||
- Increase max-file-size default to 256 mb (up from 64 mb)
|
||||
- Improved AWS rule
|
||||
|
||||
## [1.48.0]
|
||||
- Improved error message when self-update cannot find the current binary
|
||||
|
|
|
|||
|
|
@ -170,9 +170,11 @@ pub struct InputSpecifierArgs {
|
|||
pub struct ContentFilteringArgs {
|
||||
/// Ignore files larger than the given size in MB
|
||||
#[arg(
|
||||
long("max-file-size"),
|
||||
long("max-filesize"),
|
||||
default_value_t = 256.0
|
||||
long = "max-file-size",
|
||||
visible_alias = "max-filesize", // also show in --help
|
||||
// alias = "max-filesize", // use this instead if you DON’T want it shown in --help
|
||||
default_value_t = 256.0,
|
||||
value_name = "MB"
|
||||
)]
|
||||
pub max_file_size_mb: f64,
|
||||
|
||||
|
|
@ -182,15 +184,15 @@ pub struct ContentFilteringArgs {
|
|||
pub exclude: Vec<String>,
|
||||
|
||||
/// If true, do NOT extract archive files
|
||||
#[arg(long("no-extract-archives"), default_value_t = false)]
|
||||
#[arg(long = "no-extract-archives", default_value_t = false)]
|
||||
pub no_extract_archives: bool,
|
||||
|
||||
/// Maximum allowed depth for extracting nested archives
|
||||
#[arg(long("extraction-depth"), default_value_t = 2, value_parser = clap::value_parser!(u8).range(1..=25))]
|
||||
#[arg(long = "extraction-depth", default_value_t = 2, value_parser = clap::value_parser!(u8).range(1..=25))]
|
||||
pub extraction_depth: u8,
|
||||
|
||||
/// If true, do NOT scan binary files
|
||||
#[arg(long("no-binary"), default_value_t = false)]
|
||||
#[arg(long = "no-binary", default_value_t = false)]
|
||||
pub no_binary: bool,
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue