ci: add DevSecOps security gates #13
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
luchaveztech/larakube-cli!13
Loading…
Reference in a new issue
No description provided.
Delete branch "inv3ntor01/feature/devsecops-pipeline"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What this does
Adds automated security gates to catch vulnerabilities, secrets, and insecure code before they reach production.
1. gitleaks — secrets detection
.pre-commit-config.yamlblocks secrets at commit timesecrets-scan.ymlscans every PR for leaked API keys, tokens, passwords.envsecrets2. pre-commit hooks — defense in depth
pre-commit-ci.ymlruns the full pre-commit suite on GitHub for contributors who don't have hooks installed locally3. Trivy — dependency vulnerability scanning
trivy-scan.ymlscans Composer and npm dependencies for known CVEsWhy now
LaraKube generates infrastructure that other developers run in production (Docker containers, Kubernetes manifests). Before adding more generated infrastructure, we need the security foundation in place to ensure the tool itself ships without known vulnerabilities and contributors don't accidentally leak secrets.
Files added
.pre-commit-config.yaml.github/workflows/secrets-scan.yml.github/workflows/pre-commit-ci.yml.github/workflows/trivy-scan.ymlYou are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.
What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.