Files
vpn-dns-gateway/delivery/SECURITY.md
vsun1 ed0a862657
vpn-dns-gateway/pipeline/pr-main This commit looks good
Move CI runners to Droplet and enable application HTTPS
2026-11-15 12:49:06 -05:00

40 lines
2.4 KiB
Markdown

# 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 now has administrative Docker access on The-Ocean,
including the host running the controller, registry and monitoring, as well as
deployment privileges. Co-location reduces isolation: the agent's container
and resource caps do not prevent a malicious Docker-authorized job from
accessing other containers or host files. This is a documented course-lab
trade-off to avoid campus SSH restrictions, not a hardened production design.
Run reviewed delivery code on
this agent. Pull-request jobs must not receive its Docker socket or release
credentials. The remote agent connects over private HTTP/WebSocket on the
existing Docker network; browser access remains HTTPS through Caddy. Strict
SSH verification retains the public-IP host-key alias while transport stays
on Docker's host gateway. No firewall, TLS, approval or credential scope was relaxed.