forked from mirrors/kingfisher
- Added support for scanning gitlab subgroups, with 'kingfisher scan --gitlab-group my-group --gitlab-include-subgroups'
This commit is contained in:
parent
e83b171694
commit
14fccc9cc6
14 changed files with 38 additions and 2 deletions
|
|
@ -56,6 +56,10 @@ pub struct GitLabRepoSpecifiers {
|
|||
/// Filter by repository type
|
||||
#[arg(long, default_value_t = GitLabRepoType::All, alias = "gitlab-repo-type")]
|
||||
pub repo_type: GitLabRepoType,
|
||||
|
||||
/// Include repositories from subgroups of the specified groups
|
||||
#[arg(long, alias = "gitlab-include-subgroups")]
|
||||
pub include_subgroups: bool,
|
||||
}
|
||||
|
||||
impl GitLabRepoSpecifiers {
|
||||
|
|
|
|||
|
|
@ -89,6 +89,10 @@ pub struct InputSpecifierArgs {
|
|||
#[arg(long, default_value_t = GitLabRepoType::All)]
|
||||
pub gitlab_repo_type: GitLabRepoType,
|
||||
|
||||
/// Include projects from GitLab subgroups when scanning groups
|
||||
#[arg(long, alias = "include-subgroups")]
|
||||
pub gitlab_include_subgroups: bool,
|
||||
|
||||
/// Jira base URL (e.g. https://jira.example.com)
|
||||
#[arg(long, value_hint = ValueHint::Url, requires = "jql")]
|
||||
pub jira_url: Option<Url>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue