{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/github/main/json-schema/github-secret-scanning-alert-state-schema.json",
"title": "secret-scanning-alert-state",
"description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.",
"x-generated": "2026-10-03",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/github-secret-scanning-api-openapi.yml#/components/schemas/secret-scanning-alert-state",
"type": "string",
"enum": [
"open",
"resolved"
]
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.