Skip to main content

Drone CI


GitGuardian CI/CD integration with Drone CI is performed through our CLI application gg-shield. gg-shield is a wrapper around GitGuardian API for secrets detection that requires an API key to work.


Drone CI


  1. Create an API key within the API section of your GitGuardian workspace.
  2. Add this API key to the GITGUARDIAN_API_KEY environment variable in your project settings. It should be available for Drone CI runners.
  3. In order to add gg-shield to your pipelines, configure your .drone.yml to add a gg-shield scanning job.
kind: pipelinetype: dockername: default
steps:- name: gg-shield  image: gitguardian/ggshield:latest  commands:  - ggshield scan ci