← All Learning Paths

Compliance Engineer

Engineer auditable systems: tamper-evident audit logs, policy as code, access reviews and certification, least privilege, and change freezes.

roleintermediate10 nodes12.33h total

Path overview

构建可审计系统:防篡改审计日志、策略即代码、访问审查与认证、最小权限与变更冻结。

Engineer auditable systems: tamper-evident audit logs, policy as code, access reviews and certification, least privilege, and change freezes.

  1. Read "How to Build Tamper-Evident Audit Logs" for the "Hash Chains and Merkle Roots" argument, then name the decision in compliance engineer work it would change.

    Completion criteria: Record a short walkthrough of "How to Build Tamper-Evident Audit Logs" with timestamps at "Hash Chains and Merkle Roots" and "Append-Only Storage and Access Control", plus the commit that applies it.

    Next step: How to Design Tamper-Evident Audit Logs

    ⏱ 1h

  2. Compare "Define events before infrastructure" with "Chain the records" in "How to Design Tamper-Evident Audit Logs" and state which trade-off you would accept in compliance engineer code.

    Prerequisites: How to Build Tamper-Evident Audit Logs

    Completion criteria: Write a five-line decision note citing "Define events before infrastructure" from "How to Design Tamper-Evident Audit Logs", name the option you rejected, and attach the before/after diff of one file you changed.

    Next step: Export Database Audit Logs to Object Storage

    ⏱ 1h

  3. Execute "Export Database Audit Logs to Object Storage" end to end, then repeat the last step with one parameter changed and compare "After a restart, CREATE, ALTER, DROP, GRANT, and REVOKE statements emit AUDIT log lines with".

    Prerequisites: How to Design Tamper-Evident Audit Logs

    Completion criteria: Deliver a transcript of "Export Database Audit Logs to Object Storage" with each step's command and observed state, ending at "After a restart, CREATE, ALTER, DROP, GRANT, and REVOKE statements emit AUDIT log lines with".

    Next step: Run a Quarterly Access Review

    ⏱ 0.5h

  4. Run "Prove that every production access grant is still needed and owned by a named person." from "Run a Quarterly Access Review" and confirm the documented result "A CSV with one row per IAM user, including password age, access key ages, and MFA status.".

    Prerequisites: Export Database Audit Logs to Object Storage

    Completion criteria: Show the command for every step of "Run a Quarterly Access Review" and paste the output proving "Prove that every production access grant is still needed and owned by a named person."; then note the step where "A CSV with one row per IAM user, including password age, access key ages, and MFA status." appears.

    Next step: Test Access Control as a Matrix

    ⏱ 1h

  5. Apply "Test Access Control as a Matrix" to a compliance engineer task, checking that "Five cases per endpoint; the table is the authorization specification and is reviewed like" appears after the "Cover every role and ownership combination for sensitive endpoints so a missing check fails" step.

    Prerequisites: Run a Quarterly Access Review

    Completion criteria: Run "Test Access Control as a Matrix" twice — once as written and once with a changed input — and attach both transcripts with the observed difference.

    Next step: Security Audit Log Review Workflow

    ⏱ 0.5h

  6. Use "Security Audit Log Review Workflow" to decide "Define the concern classes: Enumerate what the review looks for: permission grants,", then prove the outcome with "A checklist of concern classes with a query per class exists.".

    Prerequisites: Test Access Control as a Matrix

    Completion criteria: Record the state "A checklist of concern classes with a query per class exists." at the verification step, then paste the output of "Define the concern classes: Enumerate what the review looks for: permission grants," that proves it.

    Next step: Access Certification Workflow

    ⏱ 0.5h

  7. Follow "Access Certification Workflow" and record "Periodically certify access so unused or excessive entitlements are revoked." at the step where it should appear, using "Each owner sees the access they are accountable for." as the check.

    Prerequisites: Security Audit Log Review Workflow

    Completion criteria: Attach a checklist of "Access Certification Workflow"'s steps with the observed state after each one and the verification result from "Each owner sees the access they are accountable for.".

    Next step: Privileged Access Review Workflow

    ⏱ 1h

  8. Carry out "Privileged Access Review Workflow" on a compliance engineer project, pausing at the "Reduce standing privileged access to only what current roles require, verified by owner" step to verify "A single inventory exists with principal, system, grant, and last-used date.".

    Prerequisites: Access Certification Workflow

    Completion criteria: Produce a run log for "Privileged Access Review Workflow" that ends at "Reduce standing privileged access to only what current roles require, verified by owner" and mark every step where "A single inventory exists with principal, system, grant, and last-used date." was checked.

    Next step: Select Records Past Their Retention Window

    ⏱ 0.5h

  9. In the "Compliance Engineer" path, implement "Select Records Past Their Retention Window" so JSON object: { records: [{ id, category, ageDays }], policy: { yields [r1,r3], including the second sample's edge case.

    Prerequisites: Privileged Access Review Workflow

    Completion criteria: Show the test run for "Select Records Past Their Retention Window" with two passing samples and one deliberately failing input, with the expected error.

    Next step: Capstone: Compliance Engineer

    ⏱ 0.33h

  10. Deliver the "Build a Tamper-Evident Audit Log Service" blueprint with "Canonical event" working and "Append with chain" recorded as evidence.

    Prerequisites: Privileged Access Review Workflow, Select Records Past Their Retention Window

    Completion criteria: Deliver "Canonical event" and paste the test output where the acceptance test passes; include the test name and command.

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

    ⏱ 4h