GitGuardian icon

GitGuardian

Interact with the GitGuardian API

Scan → Scan Content

AI-generated

Summary

Scan content for secrets within a given text and optionally include a file name.

Inputs

  • content (required) — The content to scan for secrets.
  • filename — Optional file name to include in the scan.

Output shape

a list of items consisting of scan results

Returns the scan results as a JSON object. The exact format and fields depend on the GitGuardian API response.

Examples

Example 1: Scanning a text for secrets

Input the text in the Content parameter and provide an optional file name.

Discussion