Files
vpn-dns-gateway/delivery/SECURITY.md
T
vsun1 bf28adc7fb
vpn-dns-gateway/pipeline/head This commit looks good
vpn-dns-gateway/pipeline/pr-main This commit looks good
Prepare Assignment 8 secure delivery and rollback
Add the locked pricing service, trusted-agent pipeline, Ansible deployments, security gates, recovery runbooks, prerequisite evidence, and preparation manual.

Prepared with Codex assistance. Vincent explicitly authorized this local commit and will handle the push. Assessed releases and recovery exercises remain pending.
2026-11-14 17:09:25 -05:00

1.8 KiB

Release security policy

Policy selected before the assessed scans on 14 November 2026.

  • Block every detected repository secret. Use Trivy's built-in rules together with the course synthetic-fixture rule in trivy-secret.yaml.
  • Block HIGH and CRITICAL image vulnerabilities, including issues without a published fix. Retain the full report, including lower severities, for review.
  • Block every Python dependency advisory reported by pip-audit. Review direct and transitive dependencies and update the exact lock before rebuilding.
  • A scanner execution error, unavailable advisory service, unavailable vulnerability database, malformed report, or missing report fails the gate.
  • No exceptions are currently approved. An exception requires instructor acceptance, an advisory identifier, owner, rationale, compensating controls, and expiry recorded with the release. Findings must never be silently ignored.
  • For a suspected false positive, retain the report and record the evidence used for triage. Keep the release blocked until the finding is resolved or an instructor-approved exception is recorded.

Each release archives UTC scan times, tool versions, Trivy database metadata, commands, exit codes, reports, source commit, and the selected image digest. Rebuild and rescan after changing a dependency or base image.

The synthetic fixture is generated only for a deliberate blocked-gate run. Its label identifies course test data and has no credential authority. Remove the fixture and repeat the gate before a release can proceed.

The deployment agent has administrative Docker access to the laptop's Linux VM and deployment privileges on the droplet. Run reviewed delivery code on this agent. Pull-request jobs must not receive its Docker socket or release credentials. The agent connects to Jenkins over outbound HTTPS/WebSocket.