Skip to content

bobsoapwins/security-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

129 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Security Test Repository

Hello and welcome to my test repository! This is where I experiment with various Github security features such as security checks, audit logs etc. See below for more details. You can fork this repo to experiment with to your liking or use this as a template for your own repo.


Security Architecture

Layer Control
Branch Protection Rulesets enforce signed commits, required reviews, status checks (See docs/RULESET_SETUP.md)
Code Ownership All files owned by @bobsoapwins via CODEOWNERS
Static Analysis CodeQL scans every push & PR for vulnerabilities
Secret Detection Gitleaks + TruffleHog scan every push & PR
Dependency Review Every PR dependency change vetted against GitHub Advisory DB
PR Validation Enforces Conventional Commits titles, branch naming, security checklist
Audit Logging All repository events logged to audit-logs/
Access Monitoring Collaborator/deploy-key changes trigger immediate security alerts
Dependabot Weekly automated dependency update PRs
Repository Lockdown Emergency manual workflow to freeze the repository

Workflows

Workflow Trigger Purpose
security-scan.yml Push, PR, weekly CodeQL static analysis
secret-scan.yml Push, PR, daily Gitleaks + TruffleHog secret detection
dependency-review.yml PR Vulnerability check for dependency changes
pr-validation.yml PR Title format, branch name, security checklist
audit-log.yml All events Structured event log in audit-logs/
access-monitor.yml Member/deploy-key/branch-protection events Alert on access changes
lockdown.yml Manual (workflow_dispatch) Emergency repository lockdown

Contributing

  1. Create a branch following the naming convention: <type>/<slug>
    • Example: feature/add-encryption, fix/auth-bypass
  2. Open a PR with the security checklist fully completed
  3. All status checks must pass before merging
  4. At least one CODEOWNER approval is required

See SECURITY.md for the full security policy and vulnerability reporting process.

About

A repo to test Github security measures

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Contributors