forked from mirrors/kingfisher
GitLab: include nested subgroup projects when enumerating group repositories
This commit is contained in:
parent
97956bcc3f
commit
96a08ed8ed
2 changed files with 2 additions and 6 deletions
|
|
@ -103,7 +103,7 @@ pub async fn enumerate_repo_urls(
|
|||
// this doesn’t set any owned() or membership() flags on the builder, which in GitLab’s API defaults to "all visible repos"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Extract the builder to a separate variable to avoid borrowing a temporary,
|
||||
// allowing us to modify its fields before building the endpoint.
|
||||
let projects_ep = builder.build()?;
|
||||
|
|
|
|||
|
|
@ -61,11 +61,7 @@ fn scan_rules_has_no_validated_findings() -> Result<()> {
|
|||
}
|
||||
|
||||
// Fail only on genuinely validated secrets
|
||||
assert_ne!(
|
||||
&status,
|
||||
"active credential",
|
||||
"Validated finding detected in rule {rule_id}"
|
||||
);
|
||||
assert_ne!(&status, "active credential", "Validated finding detected in rule {rule_id}");
|
||||
}
|
||||
|
||||
Ok(())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue