Code Security
Endpoints to manage Code security using the REST API.
Operations
Example
Get code security configurations for an enterprise, with the TypeScript SDK:
ts
import { GitHubV3REST } from "github";
const client = new GitHubV3REST({
baseUrl: "https://api.github.com",
});
const result = await client.codeSecurity.getConfigurationsForEnterprise({
enterprise: "enterprise",
});
console.log(result);Nine more languages
The same call exists in every SDK. See SDKs for the other nine.