Skip to content

Feature/lab11#902

Open
KsAKarpeeva73 wants to merge 40 commits into
inno-devops-labs:mainfrom
KsAKarpeeva73:feature/lab11
Open

Feature/lab11#902
KsAKarpeeva73 wants to merge 40 commits into
inno-devops-labs:mainfrom
KsAKarpeeva73:feature/lab11

Conversation

@KsAKarpeeva73
Copy link
Copy Markdown

Goal

Finish Lab 11 by demonstrating reproducible builds with Nix, reproducible Docker images, and modern Nix Flakes.

Changes

  • Added labs/submission11.md with Nix build results and analysis
  • Added a simple Go application for reproducible build testing
  • Added default.nix for building the Go binary with Nix
  • Added docker.nix for building a reproducible Docker image with dockerTools
  • Added traditional Dockerfiles for comparison
  • Added flake.nix and flake.lock for the bonus Flakes task
  • Documented store paths, SHA256 hashes, Docker image IDs, image sizes, and layer history
  • Included screenshots proving reproducibility and build results

Testing

  • Nix installation was verified
  • Go application builds successfully with Nix
  • Repeated Nix builds produced identical store paths
  • Repeated Nix builds produced identical binary hashes
  • Traditional Docker builds were compared against Nix builds
  • Nix-built Docker image produced identical store paths and tarball hashes
  • Docker image sizes and layer histories were compared
  • Flake-based builds were tested
  • Development shell was verified with nix develop
  • Documentation is complete and updated

Lab Checklist

Platform: GitHub

  • Task 1 — Build Reproducible Artifacts from Scratch
  • Task 2 — Reproducible Docker Images with Nix
  • Bonus Task — Modern Nix with Flakes

## Goal

Finish Lab 9 by performing DevSecOps security scans with OWASP ZAP and Trivy, then documenting the findings.

## Changes

- Added labs/submission9.md with DevSecOps scan results and analysis
- Ran OWASP ZAP baseline scan against OWASP Juice Shop
- Documented Medium risk web vulnerabilities and security headers status
- Ran Trivy scan for the bkimminich/juice-shop container image
- Documented HIGH and CRITICAL container vulnerabilities
- Added screenshots of ZAP report and Trivy findings
- Included analysis and CI/CD integration reflection

## Testing

- [x] OWASP Juice Shop was deployed and verified locally
- [x] OWASP ZAP baseline scan completed successfully
- [x] ZAP HTML report was generated and analyzed
- [x] Trivy container image scan completed successfully
- [x] HIGH and CRITICAL vulnerabilities were documented
- [x] Screenshots are included as evidence
- [x] Documentation is complete and updated

## Lab Checklist

- [x] Task 1 — Web Application Scanning with OWASP ZAP
- [x] Task 2 — Container Vulnerability Scanning with Trivy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant