Secret Scanning
Retrieve secret scanning alerts from a repository.
Operations
Example
List secret scanning alerts for an organization, with the TypeScript SDK:
ts
import { GitHubV3REST } from "github";
const client = new GitHubV3REST({
baseUrl: "https://api.github.com",
});
const result = await client.secretScanning.listAlertsForOrg({
org: "org",
});
console.log(result);Nine more languages
The same call exists in every SDK. See SDKs for the other nine.