Skip to main content

Available playbooks

GitGuardian provides several built-in playbooks that can be applied to internal incidents, public incidents, or both.

info

This playbook is available only for Internal Monitoring.

Automates sharing incidents with involved developers via email with public share links.

Trigger: Incident created by non-workspace member
Action: Creates public share link and emails developer
Requirements: Public sharing must be enabled in workspace settings

Options:

  • Feedback collection: Developer can submit feedback via the link
  • Resolution capability: Developer can resolve/ignore incident via the link

If the incident is triggered by a workspace member, this playbook won't apply as they can access the incident through the authenticated dashboard.

Auto-share incident link playbook

Auto-grant access to involved developer (in-app)​

info

This playbook is available for both Internal Monitoring and Public Monitoring.

Automatically grants incident access to workspace members with Restricted or Member access levels when they are involved in the incident.

Trigger: The playbook grants access in three situations:

  • New incidents — when a new incident is detected involving a workspace member, that member is granted access automatically.
  • On activation (historical incidents) — when the playbook is first enabled, GitGuardian runs a one-time backfill that grants access to all existing incidents where a current workspace member is the author. Enabling the playbook therefore applies retroactively, not only to incidents detected afterwards.
  • When a member joins — when a new member is added to the workspace while the playbook is active, they are granted access to the existing incidents they are involved in.

Action: Grants the involved user access to view this specific incident. This is done by matching the commit author email against the dashboard user email.

Auto-grant access playbook

Auto-resolve revoked secrets​

info

This playbook is available for both Internal Monitoring and Public Monitoring. It is activated by default for Internal Monitoring.

Automatically resolves incidents when previously valid secrets are revoked.

Trigger: A secret previously checked as valid by GitGuardian becomes invalid.
Action: Automatically close the incident as "Resolved", with reason "Secret was revoked"

Activating this playbook applies to both real-time detection (when an incident is re-checked and found invalid) and all historical incidents that became invalid in the past. Upon activation, you will see a confirmation prompt indicating how many historical incidents will be automatically resolved.

Auto-resolve revoked secrets playbook

Auto-ignore invalid secrets​

info

This playbook is available for both Internal Monitoring and Public Monitoring. It is activated by default for Internal Monitoring.

Automatically ignores open incidents whose secret is known to be invalid.

Trigger: GitGuardian learns that the secret of an open incident is invalid. This happens in four situations:

  • New incidents: an incident is created with a secret that is already checked as invalid.
  • Validity re-checks: a periodic re-check, an on-demand re-check, an endpoint validity refresh, or a manual validity override reports the secret as invalid.
  • Regressions: an incident re-opens while its secret is still invalid.
  • On activation (historical incidents): when the playbook is first enabled, GitGuardian applies it to the existing incidents of your workspace.

Action: Automatically close the incident as "Ignored", with reason "Invalid secret".

Upon activation, you will see a confirmation prompt indicating how many historical incidents will be automatically ignored.

Precedence with Auto-resolve revoked secrets: both playbooks react to the same signal. Auto-resolve revoked secrets runs first and takes the incidents whose secret was checked as valid at least once. Auto-ignore invalid secrets then takes the incidents still open.

Secret validity historyAuto-resolve revoked secretsOutcome
Was checked as valid at least onceActiveResolved, with reason "Secret was revoked"
Was checked as valid at least onceInactiveIgnored, with reason "Invalid secret"
Was never checked as validActive or inactiveIgnored, with reason "Invalid secret"
note

This playbook does not apply to detectors that support custom hosts. For those detectors, validity depends on which host the secret is checked against. See Customize validity checks.

Auto-ignore invalid secrets playbook

Auto-resolution of NHI incidents​

info

This playbook is available for workspaces with NHI Governance, on incidents created from NHI policy breaches. It is activated by default.

Automatically resolves an incident once the credential no longer breaches any policy.

Trigger: Every policy breach of the credential has been fixed for 3 hours, and the secret has no occurrence outside your NHI sources.
Action: Automatically close the incident as "Resolved", by GitGuardian.

A secret also found in a repository keeps its incident open, because removing it from a vault does not remove it from git history. The incident reopens if a breach comes back, and a resolution you made yourself is never reopened.

warning

Resolved does not mean revoked. A breach is fixed when the policy stops matching, which can happen while the credential still works at its provider. See Resolution follows the inventory.

Auto-resolve endpoint incidents when the secret is removed​

info

This playbook is available for workspaces with Endpoint Protection, on incidents created from endpoint findings. It is activated by default.

Automatically resolves an incident once its secret is on no endpoint anymore.

Trigger: Scans have not found the secret on any endpoint of your workspace for 30 hours, and the secret has no occurrence outside your endpoints.
Action: Automatically close the incident as "Resolved", by GitGuardian. The incident timeline says the secret was removed from every endpoint, not revoked.

A secret also found in a repository keeps its incident open, because removing it from a machine does not remove it from git history. The incident reopens if a scan finds the secret again, in any file and on any machine. A resolution you made yourself is never reopened, and an incident you reopened yourself is not resolved again.

While the playbook is active, each scan resolves the incidents whose secret is already gone, and each resolution sends its notification. Deactivate the playbook to keep these incidents open until someone resolves them.

warning

Resolved does not mean revoked. A secret removed from every machine can still work at its provider, or sit on a machine that no agent scans. Revoke it at the provider to make it safe. See Resolve incidents automatically.

Auto-ignore false positives​

info

This playbook is available and enabled by default for both Internal Monitoring and Public Monitoring.

Automatically ignores incidents that the False Positive Remover has tagged as false positives.

Trigger: An incident is identified as a false positive by the False Positive Remover
Action: Automatically close the incident as "Ignored", with reason "False positive (not a secret)"

This playbook works exclusively with generic secrets, as the False Positive Remover only tags generic secrets as false positives. It applies to real-time detection whenever an incident is identified as a false positive, and can also be applied to historical incidents by launching a historical scan on your perimeter.

Activating this playbook applies to both real-time incidents and historical incidents that were already invalid when detected. Upon activation, you will see a confirmation prompt indicating how many historical incidents will be automatically resolved.

Auto-ignore false positive playbook