Files
cozystack/docs/security
Alexey Artamonov 6115d2d6ad docs(security): describe verifying an embargoed fix in a private mirror
GitHub runs no CI in an advisory's temporary private fork, and merging
from the advisory skips branch protection, so a security fix reached
main with nothing having run on it. The incident-response process now
records where the fix is verified instead, how the mirror is kept in
step with the public branches, and why the mirror must never hold the
public registry credentials: pull request CI pushes the full chart
tree to an anonymously readable registry, which would publish the fix
before the release.

Without those credentials a mirror run of any code change is red at
the registry login, so the process names the jobs that must pass
instead of asking for a green run. It records the main commit the run
was based on and asks for a rerun when main has moved before the merge,
because a change elsewhere on main can break the fix without a merge
conflict. It also records what a sync still starts: a release line
carries the workflows it was cut with, so pushing one runs its build
there, and a tag cut before the guard runs tags.yaml unguarded, which
is why tags are never synced.

Signed-off-by: Alexey Artamonov <aleksei.artamonov@aenix.io>
Assisted-by: LLM
2026-11-25 17:35:33 +03:00
..