Skip to content

GitGuardian Shield Circle CI Orb - Find exposed credentials in your commits

License

Notifications You must be signed in to change notification settings

GitGuardian/gg-shield-orb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


GitGuardian Shield CircleCI Orb

CircleCI Registry Docker Image Version (latest semver) License GitHub stars

Find exposed credentials in your commits using GitGuardian shield.

The GitGuardian shield (gg-shield) is a CLI application that runs in your local environment or in a CI environment to help you detect more than 200 types of secrets, as well as other potential security vulnerabilities or policy breaks.

GitGuardian shield uses our public API through py-gitguardian to scan your files and detect potential secrets or issues in your code. The /v1/scan endpoint of the public API is stateless. We will not store any files you are sending or any secrets we have detected.

You'll need an API Key from GitGuardian to use gg-shield.

Installation

To add GitGuardian shield to your pipelines configure your .circleci/config.yml to add the ggshield orb:

version: 2.1

orbs:
  ggshield: gitguardian/ggshield@volatile

workflows:
  main:
    jobs:
      - ggshield/scan:
          name: ggshield-scan # best practice is to name each orb job
          base_revision: <<pipeline.git.base_revision>>
          revision: <<pipeline.git.revision>>

Do not forget to add your GitGuardian API Key to the GITGUARDIAN_API_KEY environment variable in your project settings.

License

This project is licensed under the MIT License - read LICENSE file for details.