GitGuardian icon

GitGuardian

Interact with the GitGuardian API

Scan → Scan Content and Create Incidents

AI-generated

Summary

Scan content and create incidents for potential secrets in specified documents.

Inputs

  • documents (required) — Specify the documents to scan for secrets, including the filename and content.
  • sourceUuid (required) — Provide the UUID of the source where the incidents will be created.

Output shape

a list of incident records created from the scan

Each incident record includes details about the scan results. Ensure valid credentials are set up for API access.

Examples

Example 1: Scanning sensitive documents for secrets.

Provide the documents to be scanned with their filenames and content along with the source UUID.

Discussion