GitLab check
Release tags are not protected
Trigger condition
A repository tag has both a confirmed GitLab Release association and a confirmed, literal protected: false from GitLab's tags API. A release association is confirmed only when release.tag_name exactly matches the tag's own name. An explicit release: null is treated as no association; a missing release field, an empty release object, or a malformed or mismatched tag_name is treated as unknown, not as confirmed absence -- a tag in any of those states is outside this check's scope, even if it looks like a version tag.
Evidence
States the count and a sorted, bounded list of affected tag names (e.g. 'GitLab reports that 2 tags associated with releases are unprotected: v1.2.0, v1.3.0.').
Impact
A protected tag rule controls who may create a tag matching the protected pattern, and blocks deleting or overwriting that tag through local Git commands or third-party Git clients. GitLab itself can still delete a protected tag through its own UI or API, but only for someone who is both on that tag's 'Allowed to create' list and holds the Maintainer or Owner role on the project. Without protection, any user who has the repository permissions Git itself requires to push or delete a tag -- without needing to meet either of those two extra requirements -- can create, overwrite, or delete the tag directly through Git, independent of who was actually involved in that release. This finding reports only that the tag itself is unprotected, not that an unauthorized change has occurred. See GitLab's protected tags documentation (https://docs.gitlab.com/user/project/protected_tags/).
Recommendation
Protect each listed release tag, or configure a protected tag wildcard pattern aligned with this project's release naming convention (e.g. v*) so future release tags are protected automatically. Review which roles (and, on GitLab Premium/Ultimate, which groups or users) are allowed to create a tag matching that pattern, and verify that release automation still succeeds after the change.
Important limitations
Only a tag with a release.tag_name confirmed to exactly match the tag's own name is evaluated as having a release association -- a tag with release: null is treated as having no association, and a missing release field, an empty release object, or a malformed or mismatched tag_name is treated as unknown; none of these ever count toward this check, even if the tag looks like a version tag. A missing or malformed protected value is unknown and never flagged, rather than assumed protected or unprotected. The evidence list is bounded to the first 20 (sorted) tag names; any remaining tags are summarized by count. If the tags endpoint is unavailable (e.g. a 403 or 404, including on a later page), this check is skipped for the audit run rather than reporting a false clean result. Live verification against a real GitLab instance remains outstanding for this check.