Skip to content

docs(security): Split and consolidate security hardening guidance#49

Merged
yunseo-kim merged 8 commits into
mainfrom
docs/security-hardening-guidance
Jun 14, 2026
Merged

docs(security): Split and consolidate security hardening guidance#49
yunseo-kim merged 8 commits into
mainfrom
docs/security-hardening-guidance

Conversation

@yunseo-kim

@yunseo-kim yunseo-kim commented Jun 14, 2026

Copy link
Copy Markdown
Member

Summary

  • What changed?
    • Refactored SECURITY.md to streamline the security policy overview and reduce duplication.
    • Extracted artifact attestation guidance into a dedicated docs/security/artifact-attestations.md companion doc.
    • Consolidated workflow hardening guidance in docs/security/workflow-hardening.md.
    • Updated docs/security/dependency-security.md and docs/security/slsa-compliance-framework.md to clarify dependency defense layers, feasible Source L3 controls, and release provenance guidance.
  • Why is this needed?
    • The security documentation had grown overlapping sections across SECURITY.md and the companion docs. Splitting artifact attestations into their own doc and consolidating hardening guidance makes the policy easier to maintain and consume.

Related Issues

  • Closes #
  • Related #

Change Type

  • Bug fix
  • Feature
  • Refactor
  • Documentation
  • Test/CI
  • Breaking change
  • Other:

Changelog

  • Category: Changed
  • User-facing note: Reorganized security documentation by splitting artifact attestation guidance into a dedicated doc and consolidating workflow hardening guidance.

Changelog update:

  • CHANGELOG.md [Unreleased] updated
  • Not needed because this change is not user-facing

Checklist

General

  • PR title follows Conventional Commits format: type(scope): Summary
  • This PR does not expose backend/internal implementation details in a public repo.
  • No secrets, tokens, keys, or private endpoints are included.
  • Changes stay within this repository's intended scope.

CI/Workflow Changes (if applicable)

If this PR modifies GitHub Actions workflows or CI/CD configuration, it must comply with our Supply Chain Integrity requirements:

  • All uses: references are pinned to full 40-character commit SHAs (with # vX.Y.Z comment)
  • step-security/harden-runner is included as the first step in every job
  • Job-level permissions are used instead of top-level permissions

Protocol / Compatibility Impact

  • No protocol/spec impact
  • Protocol/spec updated
  • Conformance tests updated
  • Breaking change is versioned and migration notes are included

If impacted, describe compatibility impact:

Testing

  • Unit tests added/updated
  • Integration or conformance tests added/updated
  • Tests pass
  • Lint and format pass
  • Type check passes
  • Manual verification performed

Describe test evidence:

  • bun run lint:md and bun run format:check were run locally.
  • Markdown links and structure were reviewed manually.

Documentation

  • README updated
  • Spec/docs updated
  • Changelog decision completed above

Rollout / Risk

  • Risk level: Low
  • Rollback plan: Revert the merge commit or open a follow-up PR to restore the previous documentation structure.

Reviewer Checklist

  • Scope is clear and minimal
  • Security and boundary checks passed
  • Tests and docs are sufficient
  • Compatibility impact is correctly handled

Document the organization preference for SLSA Build L3+ provenance, SBOM attestations, and linked artifacts metadata.

Clarify when to use SLSA GitHub Generator, reusable workflow attestation, direct actions/attest, and SBOM release assets.

Signed-off-by: Yunseo Kim <[email protected]>
Move OIDC and artifact verification details into the workflow hardening guide.

Clarify SLSA GitHub Generator builder versus generator options and add the GitHub SLSA Level 3 attestation reference.

Signed-off-by: Yunseo Kim <[email protected]>
Keep SECURITY.md focused on policy-level reporting, monitoring, and supply-chain requirements.

Move detailed workflow and artifact verification guidance behind companion document links.

Signed-off-by: Yunseo Kim <[email protected]>
Add a dependency defense overview that explains how lockfiles, updates, cooldowns, dependency review, and OSV scanning fit together.

Nest Dependabot cooldown guidance under update automation and remove redundant comparison tables.

Signed-off-by: Yunseo Kim <[email protected]>
Describe Source L3 as controls to follow wherever feasible rather than a guaranteed level for a 1-person organization.

Require independent review when another trusted reviewer is available and call out human review for bot-authored PRs.

Signed-off-by: Yunseo Kim <[email protected]>
Move release provenance, SBOM attestation, linked artifacts, and verification guidance into a dedicated security companion document.

Leave workflow hardening focused on GitHub Actions permissions, runner security, action pinning, and OIDC configuration.

Signed-off-by: Yunseo Kim <[email protected]>
Add the artifact attestation guide to the security policy companion document list and point release integrity guidance at it.

Connect the SLSA Build L3 implementation notes and mitigation table to the new canonical attestation guide.

Signed-off-by: Yunseo Kim <[email protected]>
Point custom release workflows toward the SLSA GitHub Generator generic generator README before adapting provenance examples.

Clarify that the generic generator is the common fit for bespoke build and release jobs.

Signed-off-by: Yunseo Kim <[email protected]>
@yunseo-kim yunseo-kim marked this pull request as ready for review June 14, 2026 10:42
@yunseo-kim yunseo-kim merged commit 5aca727 into main Jun 14, 2026
10 checks passed
@yunseo-kim yunseo-kim deleted the docs/security-hardening-guidance branch June 14, 2026 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant