Skip to main content

collect_release_repo_evidence

Function collect_release_repo_evidence 

Source
pub fn collect_release_repo_evidence(
    client: &GitHubClient,
    owner: &str,
    repo: &str,
    head_tag: &str,
    bundle: &mut EvidenceBundle,
)
Expand description

Phase 2: Collect repository security posture and merge into the bundle.

Queries branch protection, secret scanning, code scanning, CODEOWNERS, workflow permissions, tag protection rules, etc.