← All Learning Paths

DevSecOps Engineer

Embed security into delivery: SLSA provenance, artifact signing and attestation, OIDC-based deploys, immutable infrastructure, and least-privilege pipelines.

roleadvanced9 nodes11.92h total

Path overview

把安全嵌入交付链路:SLSA 来源证明、制品签名与证明、基于 OIDC 的部署、不可变基础设施与最小权限流水线。

Embed security into delivery: SLSA provenance, artifact signing and attestation, OIDC-based deploys, immutable infrastructure, and least-privilege pipelines.

  1. Follow "Release Artifact Signing Workflow" and record "Attach verifiable signatures and provenance to all release artifacts." at the step where it should appear, using "The artifact digest is stable for the same inputs." as the check.

    Completion criteria: Attach a checklist of "Release Artifact Signing Workflow"'s steps with the observed state after each one and the verification result from "The artifact digest is stable for the same inputs.".

    Next step: Least-Privilege Review Workflow

    ⏱ 1.5h

  2. Carry out "Least-Privilege Review Workflow" on a devsecops engineer project, pausing at the "Reduce excessive permissions by reviewing policies against actual usage." step to verify "A complete permission inventory exists.".

    Prerequisites: Release Artifact Signing Workflow

    Completion criteria: Produce a run log for "Least-Privilege Review Workflow" that ends at "Reduce excessive permissions by reviewing policies against actual usage." and mark every step where "A complete permission inventory exists." was checked.

    Next step: Deploy from GitHub Actions Without Long-Lived Keys

    ⏱ 1h

  3. Execute "Deploy from GitHub Actions Without Long-Lived Keys" end to end, then repeat the last step with one parameter changed and compare "Configure GitHub Actions to authenticate to the cloud via OIDC so deployments need no stored".

    Prerequisites: Least-Privilege Review Workflow

    Completion criteria: Run the steps through "Configure GitHub Actions to authenticate to the cloud via OIDC so deployments need no stored", paste the command output, and mark the line that matches "The job exchanges a short-lived OIDC token for temporary cloud credentials with no stored"; then rerun with one parameter changed.

    Next step: Attach Build Provenance to Release Artifacts

    ⏱ 0.5h

  4. Run "The registry stores an attestation linked to the image digest and the workflow identity." from "Attach Build Provenance to Release Artifacts" and confirm the documented result "Build and push the image by digest, then attest that digest in the same workflow.".

    Prerequisites: Deploy from GitHub Actions Without Long-Lived Keys

    Completion criteria: Deliver a transcript of "Attach Build Provenance to Release Artifacts" with each step's command and observed state, ending at "The registry stores an attestation linked to the image digest and the workflow identity.".

    Next step: Attest Release Archives and Verify Before Deploy

    ⏱ 0.5h

  5. Apply "Attest Release Archives and Verify Before Deploy" to a devsecops engineer task, checking that "An attestation is stored against the archive digest in the repository attestation store." appears after the "Prove that the tarball promoted to production was produced by the trusted workflow from the" step.

    Prerequisites: Attach Build Provenance to Release Artifacts

    Completion criteria: Run "Attest Release Archives and Verify Before Deploy" twice — once as written and once with a changed input — and attach both transcripts with the observed difference.

    Next step: Sign and Verify Release Artifacts

    ⏱ 0.5h

  6. Execute "Sign and Verify Release Artifacts" end to end, then repeat the last step with one parameter changed and compare "Attach a verifiable signature to release artifacts and enforce verification before".

    Prerequisites: Attest Release Archives and Verify Before Deploy

    Completion criteria: Run the steps through "Attach a verifiable signature to release artifacts and enforce verification before", paste the command output, and mark the line that matches "A signature is recorded against the exact digest using the CI identity."; then rerun with one parameter changed.

    Next step: Pin GitHub Actions by Commit SHA

    ⏱ 0.5h

  7. Run "Prevent a compromised or retagged GitHub Action from running unreviewed code in CI with" from "Pin GitHub Actions by Commit SHA" and confirm the documented result "List every action reference that uses a tag or branch instead of a full 40-character commit".

    Prerequisites: Sign and Verify Release Artifacts

    Completion criteria: Deliver a transcript of "Pin GitHub Actions by Commit SHA" with each step's command and observed state, ending at "Prevent a compromised or retagged GitHub Action from running unreviewed code in CI with".

    Next step: Audit Lockfile Entries for Supply Chain Gaps

    ⏱ 0.5h

  8. In the "DevSecOps Engineer" path, implement "Audit Lockfile Entries for Supply Chain Gaps" so JSON object: { lockfile: [{ name, resolved, integrity? }], policy: { yields [], including the second sample's edge case.

    Prerequisites: Pin GitHub Actions by Commit SHA

    Completion criteria: Submit a solution for "DevSecOps Engineer" that passes both samples ({lockfile:[{name:left-pad,resolved:https://registry.example. to []) and attach the failing case you fixed.

    Next step: Capstone: DevSecOps Engineer

    ⏱ 0.42h

  9. Build "Build a Secrets Rotation Service" through its phases, keeping "Rotation schedule" independently testable.

    Prerequisites: Pin GitHub Actions by Commit SHA, Audit Lockfile Entries for Supply Chain Gaps

    Completion criteria: Run the project's test command for "Build a Secrets Rotation Service", paste the passing output, and attach the acceptance note for "Rotation schedule" with the test name.

    Next step: Run the capstone's tests, publish the repository, and demo it to a reviewer.

    ⏱ 4h