Enums§
- Secret
Scanning Slash GetAlert Error - struct for typed errors of method
secret_scanning_slash_get_alert
- Secret
Scanning Slash List Alerts ForEnterprise Error - struct for typed errors of method
secret_scanning_slash_list_alerts_for_enterprise
- Secret
Scanning Slash List Alerts ForOrg Error - struct for typed errors of method
secret_scanning_slash_list_alerts_for_org
- Secret
Scanning Slash List Alerts ForRepo Error - struct for typed errors of method
secret_scanning_slash_list_alerts_for_repo
- Secret
Scanning Slash List Locations ForAlert Error - struct for typed errors of method
secret_scanning_slash_list_locations_for_alert
- Secret
Scanning Slash Update Alert Error - struct for typed errors of method
secret_scanning_slash_update_alert
Functions§
- secret_
scanning_ slash_ get_ alert - Gets a single secret scanning alert detected in an eligible repository. The authenticated user must be an administrator for the repository or for the organization that owns the repository to use this endpoint. OAuth app tokens and personal access tokens (classic) need the
repo
orsecurity_events
scope to use this endpoint. If this endpoint is only used with public repositories, the token can use thepublic_repo
scope instead. - secret_
scanning_ slash_ list_ alerts_ for_ enterprise - Lists secret scanning alerts for eligible repositories in an enterprise, from newest to oldest. Alerts are only returned for organizations in the enterprise for which the authenticated user is an organization owner or a security manager. The authenticated user must be a member of the enterprise in order to use this endpoint. OAuth app tokens and personal access tokens (classic) need the
repo
scope orsecurity_events
scope to use this endpoint. - secret_
scanning_ slash_ list_ alerts_ for_ org - Lists secret scanning alerts for eligible repositories in an organization, from newest to oldest. The authenticated user must be an administrator or security manager for the organization to use this endpoint. OAuth app tokens and personal access tokens (classic) need the
repo
orsecurity_events
scope to use this endpoint. If this endpoint is only used with public repositories, the token can use thepublic_repo
scope instead. - secret_
scanning_ slash_ list_ alerts_ for_ repo - Lists secret scanning alerts for an eligible repository, from newest to oldest. The authenticated user must be an administrator for the repository or for the organization that owns the repository to use this endpoint. OAuth app tokens and personal access tokens (classic) need the
repo
orsecurity_events
scope to use this endpoint. If this endpoint is only used with public repositories, the token can use thepublic_repo
scope instead. - secret_
scanning_ slash_ list_ locations_ for_ alert - Lists all locations for a given secret scanning alert for an eligible repository. The authenticated user must be an administrator for the repository or for the organization that owns the repository to use this endpoint. OAuth app tokens and personal access tokens (classic) need the
repo
orsecurity_events
scope to use this endpoint. If this endpoint is only used with public repositories, the token can use thepublic_repo
scope instead. - secret_
scanning_ slash_ update_ alert - Updates the status of a secret scanning alert in an eligible repository. The authenticated user must be an administrator for the repository or for the organization that owns the repository to use this endpoint. OAuth app tokens and personal access tokens (classic) need the
repo
orsecurity_events
scope to use this endpoint. If this endpoint is only used with public repositories, the token can use thepublic_repo
scope instead.