Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ci): add security gates #115

Merged
merged 1 commit into from
Jun 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@

version: 2.1

orbs:
prodsec: snyk/prodsec-orb@1

defaults: &defaults
resource_class: small
docker:
- image: cimg/base:2024.06

jobs:
security-scans:
<<: *defaults
steps:
- checkout
- prodsec/security_scans:
mode: auto

workflows:
CICD:
jobs:
- prodsec/secrets-scan:
name: Scan repository for secrets
context:
- snyk-bot-slack
channel: alerts-api

- security-scans:
name: Security Scans
context:
- platformeng_api
5 changes: 5 additions & 0 deletions .gitleaksignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# expired and unusable local dev values
14a8456fb802d3682ed457ac6b8e6a3fc5aebc0d:.env.local:generic-api-key:2
875a53ff6c7624afc83b9ef2b2c8b8b98324a7ce:.env.local:generic-api-key:6
875a53ff6c7624afc83b9ef2b2c8b8b98324a7ce:.env.local:generic-api-key:2
14a8456fb802d3682ed457ac6b8e6a3fc5aebc0d:.env.local:generic-api-key:6
Loading