← All Learning Paths

Security Automation Engineer

Automate security controls: software bills of materials, dependency scanning, secret scanning and rotation, supply-chain defense, and vulnerability triage.

roleadvanced8 nodes10.92h total

Path overview

安全控制自动化:软件物料清单、依赖扫描、密钥扫描与轮换、供应链防护与漏洞分级处置。

Automate security controls: software bills of materials, dependency scanning, secret scanning and rotation, supply-chain defense, and vulnerability triage.

  1. Execute "Generate and Scan an SBOM in CI" end to end, then repeat the last step with one parameter changed and compare "The command exits non-zero when a high-severity vulnerability is present.".

    Completion criteria: Run the steps through "Scan the SBOM for known vulnerabilities and fail on high or critical findings according to", paste the command output, and mark the line that matches "Each release has a downloadable SBOM tied to its commit or image digest."; then rerun with one parameter changed.

    Next step: Scan Dependencies with OSV-Scanner

    ⏱ 0.5h

  2. Run "Integrate OSV-Scanner into CI to surface vulnerable dependencies with fix versions." from "Scan Dependencies with OSV-Scanner" and confirm the documented result "Findings list the vulnerable package, advisory id, and fixed version.".

    Prerequisites: Generate and Scan an SBOM in CI

    Completion criteria: Run the steps through "Integrate OSV-Scanner into CI to surface vulnerable dependencies with fix versions.", paste the command output, and mark the line that matches "Findings list the vulnerable package, advisory id, and fixed version."; then rerun with one parameter changed.

    Next step: Scan Commits for Secrets Before They Reach main

    ⏱ 0.5h

  3. Apply "Scan Commits for Secrets Before They Reach main" to a security automation engineer task, checking that "Exit code 0 on a clean repository; findings print the rule, file, and commit without" appears after the "Detect committed credentials within seconds and stop the commit from being merged and" step.

    Prerequisites: Scan Dependencies with OSV-Scanner

    Completion criteria: Deliver a transcript of "Scan Commits for Secrets Before They Reach main" with each step's command and observed state, ending at "Detect committed credentials within seconds and stop the commit from being merged and".

    Next step: Schedule Automatic Database Secret Rotation

    ⏱ 0.5h

  4. Execute "Schedule Automatic Database Secret Rotation" end to end, then repeat the last step with one parameter changed and compare "Rotate production database credentials on a fixed schedule without manual tickets,".

    Prerequisites: Scan Commits for Secrets Before They Reach main

    Completion criteria: Run "Schedule Automatic Database Secret Rotation" twice — once as written and once with a changed input — and attach both transcripts with the observed difference.

    Next step: Block Vulnerable Dependencies at Pull Request Time

    ⏱ 0.5h

  5. Run "Add the dependency review action with severity and license policy." from "Block Vulnerable Dependencies at Pull Request Time" and confirm the documented result "The pull request check fails with the advisory identifier and the version that fixes it.".

    Prerequisites: Schedule Automatic Database Secret Rotation

    Completion criteria: Run the steps through "Add the dependency review action with severity and license policy.", paste the command output, and mark the line that matches "The pull request check fails with the advisory identifier and the version that fixes it."; then rerun with one parameter changed.

    Next step: Dependency Vulnerability Response Workflow

    ⏱ 0.5h

  6. Carry out "Dependency Vulnerability Response Workflow" on a security automation engineer project, pausing at the "Respond to dependency advisories promptly with reachability-aware remediation." step to verify "The blast radius of the advisory is understood.".

    Prerequisites: Block Vulnerable Dependencies at Pull Request Time

    Completion criteria: Record the state "Respond to dependency advisories promptly with reachability-aware remediation." at the verification step, then paste the output of "The blast radius of the advisory is understood." that proves it.

    Next step: Redact Secrets Before Logging

    ⏱ 1h

  7. Solve "Redact Secrets Before Logging" for security automation engineer work: turn JSON object: { text: string } into upstream key=[REDACTED] user=bob status=200 and pass both samples.

    Prerequisites: Dependency Vulnerability Response Workflow

    Completion criteria: Attach the solution file for "Security Automation Engineer", two passing sample runs, and one failing run whose error matches the contract.

    Next step: Capstone: Security Automation Engineer

    ⏱ 0.42h

  8. Deliver the "Build a Secrets Rotation Service" blueprint with "Consumer notifier" working and "Rollback handler" recorded as evidence.

    Prerequisites: Dependency Vulnerability Response Workflow, Redact Secrets Before Logging

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

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

    ⏱ 4h