GitGuardian icon

GitGuardian

Interact with the GitGuardian API

Scan → Multi Content Scan

AI-generated

Summary

Scan multiple documents for secrets using GitGuardian.

Inputs

  • documents (required) — A collection of documents to scan, each requiring a file name and content.
  • documents.document.filename (required) — The name of the file to scan.
  • documents.document.content (required) — The content of the document to scan for secrets.

Output shape

a list of scan results

Each result corresponds to the input documents. If there are errors or incidents detected, they will be included.

Examples

Example 1: Scanning a set of code snippets for sensitive information such as API keys or passwords.

Provide a list of documents with their corresponding filenames and content to detect potential secrets.

Discussion