04 · SECRETS

Secret scanning

Gauntlet scans your code repositories for exposed secrets such as API keys, passwords, tokens and cloud credentials, and shows where each one is in the repository, so you can rotate the credential and remove it from the code.

The Gauntlet secret scanning dashboard: exposed secrets listed per repository
  • EXPOSED SECRETS IN CODE
  • FILE AND LOCATION FOR EACH
  • GITHUB · GITLAB · BITBUCKET

Challenge

Why secrets end up in code

  • Secrets get committed by accident

    A key pasted into a config file for a quick test, a .env file swept into a commit, a token in a CI script: these are routine mistakes, and once pushed they stay in the repository.

  • Many repositories, many teams

    Keeping track of exposed secrets across many repositories and several teams is slow when every repository has to be checked by hand.

  • Manual review is late review

    A secret found during a quarterly review has been exposed for months. Finding it on the next scan shortens that window to the time between scans.

Approach

What Gauntlet does

  • Automated secret scanning across repositories

    Gauntlet scans your connected repositories for exposed secrets and reports each one with its type and the file it is in.

  • Connects to GitHub, GitLab and Bitbucket

    Connect the repositories you want scanned and Gauntlet reports the exposed secrets it finds in them.

  • One list per repository

    Findings are listed per repository, so each team works from its own list.

01 · Exposed secrets, listed

Connect a repository and see what is exposed

  • The dashboard lists the credentials, tokens and keys found in each repository.
  • Connect a repository from the dashboard; results appear after the first scan.
The Gauntlet secret scanning dashboard: the list of exposed secrets with type, source file and status

02 · Type, file, repository

What you need to rotate and remove a secret

  • Each finding shows the secret type and the file it is in, so the right person can rotate the credential and remove it from the code.
  • Gauntlet reports the secret and does not change your repository: rotating the credential and removing it stay with your team.
The Gauntlet detail view for one exposed secret: its type, repository, branch and file

FAQ

Common questions

What does Gauntlet secret scanning find?

Gauntlet scans your code repositories for exposed secrets such as API keys, passwords, tokens and cloud credentials. Each finding shows the secret type and the file it was found in.

How do I find exposed API keys and passwords in source code?

Connect the repository from the Gauntlet dashboard; results appear after the first scan as a list of the credentials, tokens and keys found in it, with the file for each.

Which repositories can Gauntlet scan for secrets?

Gauntlet connects to GitHub, GitLab, Bitbucket and other code repositories. Findings are listed per repository, so each team works from its own list.

What should I do when a secret is found?

Rotate the credential, then remove it from the code. The finding gives the secret type and the file, so both steps go to someone who can act on them; Gauntlet reports the secret and does not change your repository.

See your findings, with the steps to fix each.

A demo takes one call.

  • No agents
  • AWS
  • Azure
  • Google Cloud
The Gauntlet analytics dashboard: security score, alerts by severity and cloud posture for AWS, Azure and Google Cloud