Module secret_scanning_api

Source

Enums§

SecretScanningSlashGetAlertError
struct for typed errors of method secret_scanning_slash_get_alert
SecretScanningSlashListAlertsForEnterpriseError
struct for typed errors of method secret_scanning_slash_list_alerts_for_enterprise
SecretScanningSlashListAlertsForOrgError
struct for typed errors of method secret_scanning_slash_list_alerts_for_org
SecretScanningSlashListAlertsForRepoError
struct for typed errors of method secret_scanning_slash_list_alerts_for_repo
SecretScanningSlashListLocationsForAlertError
struct for typed errors of method secret_scanning_slash_list_locations_for_alert
SecretScanningSlashUpdateAlertError
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 or security_events scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the public_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 or security_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 or security_events scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the public_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 or security_events scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the public_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 or security_events scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the public_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 or security_events scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the public_repo scope instead.