Flashcardsfor IT Certifications

D5: Pinning, Usage Policies & Artifact Attestations

GH-200 GitHub Actions exam practice questions · 11 flashcards

Question
Pin to full commit SHA?
1 / 11

Tip: Space flips the card, ← / → navigate.

Last updated: · Report an error on this page

Show all 11 Pinning, Usage Policies & Artifact Attestations practice questions and answers
  1. Pin to full commit SHA?
    Prevents tag hijacking/supply chain attacks — most secure reference.
  2. Floating refs risk?
    @main or @v1 can change underneath you.
  3. SHA pinning enforcement?
    Org/enterprise policy requiring SHA-pinned actions.
  4. Allow/deny lists?
    Policies allowing specific actions; prefix ! to block.
  5. Artifact attestations?
    Signed provenance (SLSA) generated with actions/attest-build-provenance.
  6. Permissions for attestations?
    id-token: write, attestations: write (and contents: read).
  7. Verifying attestations?
    gh attestation verify <artifact> --owner org.
  8. SBOM attestations?
    actions/attest-sbom links SBOM to artifact.
  9. SLSA?
    Supply-chain Levels for Software Artifacts framework for build integrity.
  10. Integrating into deployment?
    Verify attestation before deploy (admission policy, gh verify step).
  11. Scenario: ensure container deployed was built by your CI. Mechanism?
    Generate artifact attestation in build, verify before deployment.