Star 历史趋势
数据来源: GitHub API · 生成自 Stargazers.cn
README.md

cgep-labs

Hands-on labs and reference workspaces for the Certified GRC Engineer Practitioner (CGE-P) by the GRC Engineering Club.

What's here

guides/        Lab guides, one markdown file per lab
reference/     Companion Terraform / Rego / shell workspaces, one per lab

The guides are the lab. The reference workspaces are the same code in deployable form so you can run it and see it work, then build your own version in your capstone repo.

Lab inventory

#LabCloud
2.3First Compliant ResourceAWS
2.4Terraform Modules for ComplianceGCP
2.5IaC as Compliance EvidenceAWS
3.3Writing Compliance Policies in RegoGCP
3.4Integrating PaC with Terraform (Conftest)AWS
4.3Building a GRC Evidence PipelineAWS + GitHub Actions
4.4Evidence Management & Chain of CustodyAWS
5.2AWS Security Services BaselineAWS
5.4GCP Security Services BaselineGCP
6.1Introduction to OSCALCloud-agnostic
7.1Capstone BriefAWS

The labs alternate between AWS and GCP on purpose. The compliance-by-default pattern is cloud-agnostic; doing it in two providers makes that obvious.

How this connects

  • The lab guides live here and are mirrored into the lessons on cert.grcengclub.com.
  • The capstone wraps the workload in GRCEngClub/cgep-app-starter, a deliberately non-compliant Patient-Intake API. Several labs reference it.
  • Every lab produces an artifact that drops directly into your capstone repo. The capstone is assembly, not from-scratch construction.

Running a reference workspace

Each reference/lab-X-Y/ is a self-contained Terraform / Rego / shell workspace. The published guide tells the full story; this directory is the code.

For Terraform-touching labs:

cd reference/lab-2-3
eval "$(aws configure export-credentials --profile <your-sandbox> --format env)"
terraform init
terraform plan -out=tfplan
terraform apply -auto-approve tfplan
# verify with the commands in the guide
terraform destroy -auto-approve

For Rego-only labs (3.3, 3.4):

cd reference/lab-3-3
opa test -v policies/

Always tear down at the end of the session. Reference workspaces are not meant to live deployed.

Required tooling

  • terraform >= 1.6
  • opa >= 0.60
  • conftest >= 0.50 (Lab 3.4 onwards)
  • cosign >= 2.0 (Lab 4.4)
  • tfsec (Lab 4.3)
  • compliance-trestle Python package (Lab 6.1)
  • aws CLI v2 with a working SSO or access-key profile
  • gcloud CLI for GCP labs

Contributing

PRs welcome for:

  • Cloud version drift (a Terraform argument deprecated, a CLI flag renamed).
  • Bugs in reference workspaces.
  • Clarity edits to lab guides.

Out of scope: scope expansion, alternate framework framings beyond NIST 800-53 / HIPAA / SOC 2 / CMMC L2.

License

MIT.

关于 About

Hands-on labs and tested reference workspaces for the CGE-P certification
certificationcompliance-as-codegrc-engineeringopaoscalterraform

语言 Languages

HCL44.3%
Open Policy Agent43.5%
Shell12.3%

提交活跃度 Commit Activity

代码提交热力图
过去 52 周的开发活跃度
16
Total Commits
峰值: 12次/周
Less
More

核心贡献者 Contributors