Skip to content
This repository was archived by the owner on Jul 13, 2026. It is now read-only.

feat: add security governance (CODEOWNERS, SECURITY.md, .gitignore hardening) - #73

Merged
pdettori merged 2 commits into
mainfrom
orchestrate/security
Mar 19, 2026
Merged

pdettori merged 2 commits into
mainfrom
orchestrate/security

Conversation

@pdettori

Copy link
Copy Markdown
Member

Summary

Phase 5 of repo orchestration — security governance files.

New files

.github/CODEOWNERS

  • Routes all PRs to @kagenti/maintainers for review
  • Explicit ownership for src/, plugins/, .github/, governance docs
  • Triggers GitHub's automatic review request on every PR

SECURITY.md

  • Private vulnerability reporting via GitHub Security Advisories (link included)
  • Response timeline table (48h ack, 7-day initial assessment)
  • Security controls table referencing all controls deployed in this repo (trivy, dependabot, bandit, codeql, scorecard, SHA-pinned actions)
  • Security-sensitive areas highlighted for reviewers

Updated files

.gitignore — added missing security-critical patterns:

Pattern Reason
.env.*, .env.local Credential env files
.vscode/ VS Code workspace settings
.idea/ JetBrains IDE files (was commented out)
*.pem, *.key, *.p12, *.jks TLS/crypto private keys
kubeconfig, *kubeconfig* Kubernetes credentials
credentials.*, secrets.* Generic secret files

Already present (not changed)

File Notes
LICENSE Apache 2.0 already in repo
CONTRIBUTING.md References kagenti/kagenti main CONTRIBUTING guide

Recommended branch protection rules for main

These cannot be set via PR — a maintainer should configure in Settings → Branches:

  • Require pull request reviews before merging (1 approval minimum)
  • Require status checks: build (3.11), build (3.12), dependency-review, bandit, trivy-fs
  • Require branches to be up to date before merging
  • Do not allow bypassing the above settings
  • Restrict force pushes to main
  • Require conversation resolution before merging

Establish security governance baseline:

- .github/CODEOWNERS: auto-review routing to @kagenti/maintainers
  for all files, with explicit ownership for src/, plugins/, .github/,
  and governance docs
- SECURITY.md: vulnerability reporting via GitHub Security Advisories,
  response timeline, supported versions, security controls table
  (trivy, dependabot, bandit, codeql, scorecard, SHA-pinned actions),
  and security-sensitive areas for reviewers
- .gitignore: add missing patterns:
  - .env.* and .env.local (credential files)
  - .vscode/ (VS Code workspace)
  - .idea/ (JetBrains IDEs, was commented out)
  - *.pem, *.key, *.p12, *.jks (TLS/crypto keys)
  - kubeconfig, *kubeconfig* (Kubernetes credentials)
  - credentials.*, secrets.* (generic secret files)

LICENSE (Apache 2.0) and CONTRIBUTING.md were already present.

Assisted-By: Claude (Anthropic AI) <[email protected]>
Signed-off-by: Paolo Dettori <[email protected]>
Comment thread .github/CODEOWNERS Resolved
Replace @kagenti/maintainers with @kagenti/plugin-adapters-maintainers
per reviewer feedback.

Assisted-By: Claude (Anthropic AI) <[email protected]>
Signed-off-by: Paolo Dettori <[email protected]>

@pdettori pdettori left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated — all occurrences of @kagenti/maintainers in CODEOWNERS replaced with @kagenti/plugin-adapters-maintainers.

@julianstephen julianstephen left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@evaline-ju evaline-ju left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@pdettori
pdettori merged commit 6159e63 into main Mar 19, 2026
12 checks passed
@pdettori
pdettori deleted the orchestrate/security branch March 19, 2026 15:05
pdettori added a commit that referenced this pull request Mar 19, 2026
Address review feedback: use repo-specific team instead of org-wide
maintainers group, consistent with PR #73.

Assisted-By: Claude (Anthropic AI) <[email protected]>
Signed-off-by: Paolo Dettori <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants