Skip to content

SECOPS-2268: Add Gitleaks to CI #55

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

peakematt
Copy link
Contributor

Motivation / Implements

This PR updates .circleci/config.yml to configure Gitleaks to run on PRs on this repo. The Apollo Security team uses Gitleaks to test our repositories for secrets.

Once this is accepted and merged, the Security team plans to make a passing Gitleaks check a requirement for PRs to merge into this repo. This will prevent secrets from being introduced to our repos.

In the event that a secret is detected on a repo, the CI job will add a comment to the PR associated with the detection to provide instructions on how to properly resolve the detection. Additionally, if a secret is detected, the Apollo Security team will be notified so that we can be available to assist in resolving the detection.

If maintainers reviewing this PR have questions, please see this Apollo-internal Slack link.

Changed

  • Updated .circleci/config.yml in this repo to contain appropriate configuration to enable Gitleaks as a CI check.

@peakematt peakematt marked this pull request as ready for review October 13, 2023 19:44
@peakematt
Copy link
Contributor Author

I'm not sure that I've changed anything that would cause the build steps to fail? 🤔 Happy to do anything I can to make this mergeable!

@peakematt peakematt requested a review from mayakoneval October 13, 2023 19:44
@mayakoneval
Copy link
Contributor

hi @peakematt so sorry for the serious delay - is this still needed?

@trevor-scheer
Copy link
Contributor

@peakematt is this superseded by #51 and can I close this out?

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.

3 participants