Build: add security-policy and vulnerability-reporting annotations#138
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds OCI image annotations to the CSSC Dashboard build so consumers can discover the repository’s security policy and vulnerability reporting endpoint directly from image metadata, and documents those annotations.
Changes:
- Adds two new
com.toddysm.security.*annotations to the shared annotation set inbuild-cssc-dashboard.yml, applied at both index and per-platform manifest scope. - Documents the new annotations in the reference and guide markdown tables.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
.github/workflows/build-cssc-dashboard.yml |
Adds two new OCI annotations to the shared annotation array for dashboard image builds. |
docs/reference/image-annotations.md |
Documents the new security-related annotations in the custom annotations reference table. |
docs/guides/build/reading-image-annotations.md |
Documents the new security-related annotations in the “reading annotations” guide table. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements #134 — adds two custom OCI annotations to the CSSC Dashboard service images so the security policy and the vulnerability-reporting endpoint travel with the image metadata.
Changes
build-cssc-dashboard.yml: two new annotations in the shared annotation set (applied at both index and per-platform manifest scope):com.toddysm.security.policy=${SERVER_URL}/${REPO}?tab=security-ov-file(the repository security policy).com.toddysm.security.reporturl=${SERVER_URL}/${REPO}/security/advisories/new(programmatic vulnerability-report intake).docs/reference/image-annotations.md: documented both in the custom-annotations table.docs/guides/build/reading-image-annotations.md: documented both in the guide table.URLs are built from the existing
SERVER_URL/REPOenv vars for portability. actionlint clean; VS Code get_errors clean.Closes #134.