forked from mirrors/kingfisher
WIP: Adding support for scanning Docker images
This commit is contained in:
parent
bb78d90067
commit
9a3fabdbf2
16 changed files with 137 additions and 12 deletions
|
|
@ -26,7 +26,8 @@ pub struct InputSpecifierArgs {
|
|||
"git_url",
|
||||
"all_github_organizations",
|
||||
"all_gitlab_groups",
|
||||
"jira_url"
|
||||
"jira_url",
|
||||
"docker_image"
|
||||
]),
|
||||
value_hint = ValueHint::AnyPath
|
||||
)]
|
||||
|
|
@ -97,6 +98,11 @@ pub struct InputSpecifierArgs {
|
|||
#[arg(long, default_value_t = 100)]
|
||||
pub max_results: usize,
|
||||
|
||||
/// Docker/OCI images to scan (no local Docker required)
|
||||
#[arg(long = "docker-image")]
|
||||
pub docker_image: Vec<String>,
|
||||
|
||||
|
||||
/// Select how to clone Git repositories
|
||||
#[arg(long, default_value_t=GitCloneMode::Bare, alias="git-clone-mode")]
|
||||
pub git_clone: GitCloneMode,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue