feat: add comprehensive smoke test suite + rename docs week folders to descriptive slugs#6
Merged
Merged
Conversation
Agent-Logs-Url: https://github.com/sodiq-code/cloud-engineering-devsecops-portfolio/sessions/1b075396-29c8-4c8a-8ebf-06ee507f50f2 Co-authored-by: sodiq-code <84165912+sodiq-code@users.noreply.github.com>
Agent-Logs-Url: https://github.com/sodiq-code/cloud-engineering-devsecops-portfolio/sessions/8417cfad-3bd6-4600-b007-7519d8d78e9f Co-authored-by: sodiq-code <84165912+sodiq-code@users.noreply.github.com>
Agent-Logs-Url: https://github.com/sodiq-code/cloud-engineering-devsecops-portfolio/sessions/8417cfad-3bd6-4600-b007-7519d8d78e9f Co-authored-by: sodiq-code <84165912+sodiq-code@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
sodiq-code
April 19, 2026 10:24
View session
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Renames all
docs/weekN/folders to zero-padded descriptive slugs and introduces a self-contained 212-test smoke test suite that validates the entire portfolio without a real AWS account or running LocalStack.Folder renames
docs/week1docs/01-aws-fundamentalsdocs/week2docs/02-logging-and-visibilitydocs/week3docs/03-terraform-fundamentalsdocs/week4docs/04-devsecops-guardrailsdocs/week5docs/05-secure-network-identitydocs/week6docs/06-observability-hardeningdocs/week8docs/08-high-availabilitydocs/week9docs/09-security-automation-soardocs/week10docs/10-dfir-forensicsdocs/week11docs/11-enterprise-governanceBroken image/path references in
s3-secure-storage/README.md,governance/README.md, anddocs/02-logging-and-visibility/security-visibility-readme.mdupdated accordingly.Smoke test (
smoke_test.py)Single-file, zero-cloud-cost test runner. Requires only
pyyaml+automation/requirements.txt(boto3, pytest, moto).13 suites covering every project:
pytest/motosuite (11 unit tests, no real AWS)auth.logand asserts all four MITRE ATT&CK phases are present in correct chronological order (T1110.001 brute-force ≥10 events, T1078 breach, T1136.001 UID=0 backdoor, T1560.001 tar exfil)apiVersion/kind; security context hardening (non-root, read-only FS, all caps dropped, seccomp); HPA 2→10 with stabilisation windows; zero-trustNetworkPolicy; Ingress rate-limiting + security headers; email-service Dockerfile non-root + gunicorncontents: readpermissions, SARIF upload, Trivyexit-code: '1'hard gate.tffile, IMDSv2 enforced on everyaws_instance/aws_launch_template, EBS encrypted everywhere, KMS rotation on everyaws_kms_key, public-access block alongside everyaws_s3_bucket