Spaces:
Running
Running
|
Download docs/development/security.md from Riksarkivet/ra-mcp-dev: direct link, hf CLI and curl.
- Browser
- Download file 886 Bytes
-
https://huggingface.co/spaces/Riksarkivet/ra-mcp-dev/resolve/main/docs/development/security.md
- Command line
-
hf download hf://spaces/Riksarkivet/ra-mcp-dev/docs/development/security.md
-
curl -L -o security.md https://huggingface.co/spaces/Riksarkivet/ra-mcp-dev/resolve/main/docs/development/security.md
886 Bytes
| # Security & Releases | |
| --- | |
| ## SBOM | |
| ```bash | |
| # SPDX format | |
| dagger call generate-sbom-spdx --source=. | |
| # CycloneDX format | |
| dagger call generate-sbom-cyclone-dx --source=. | |
| ``` | |
| ## Vulnerability Scanning | |
| ```bash | |
| # Scan for CRITICAL and HIGH | |
| dagger call scan-ci --source=. | |
| # Custom severity | |
| dagger call scan --source=. --severity="CRITICAL,HIGH,MEDIUM" --format="table" | |
| ``` | |
| ## Supply Chain | |
| - **SLSA Provenance** (Level 2) — generated by BuildKit during CI | |
| - **Sigstore** — container images are signed | |
| - **SBOM attestations** — embedded in registry manifests | |
| - **OpenSSF Scorecard** — continuous security assessment | |
| ## Releasing | |
| ```bash | |
| # Bump version, commit, tag, push | |
| make release VERSION=0.9.0 | |
| ``` | |
| This triggers: | |
| 1. `release.yml` — generates changelog with git-cliff, creates GitHub Release | |
| 2. `publish.yml` — builds and pushes Docker images (Alpine + Wolfi variants) | |