pub struct SecretScanningAlertWebhook {Show 22 fields
pub number: Option<AlertNumber>,
pub created_at: Option<AlertCreatedAt>,
pub updated_at: Option<NullableAlertUpdatedAt>,
pub url: Option<AlertUrl>,
pub html_url: Option<AlertHtmlUrl>,
pub locations_url: Option<String>,
pub resolution: Option<SecretScanningAlertResolutionWebhook>,
pub resolved_at: Option<DateTime<Utc>>,
pub resolved_by: Option<NullableSimpleUser>,
pub resolution_comment: Option<String>,
pub secret_type: Option<String>,
pub secret_type_display_name: Option<String>,
pub validity: Option<String>,
pub push_protection_bypassed: Option<bool>,
pub push_protection_bypassed_by: Option<NullableSimpleUser>,
pub push_protection_bypassed_at: Option<DateTime<Utc>>,
pub push_protection_bypass_request_reviewer: Option<NullableSimpleUser>,
pub push_protection_bypass_request_reviewer_comment: Option<String>,
pub push_protection_bypass_request_comment: Option<String>,
pub push_protection_bypass_request_html_url: Option<String>,
pub publicly_leaked: Option<bool>,
pub multi_repo: Option<bool>,
}Fields§
§number: Option<AlertNumber>§created_at: Option<AlertCreatedAt>§updated_at: Option<NullableAlertUpdatedAt>§url: Option<AlertUrl>§html_url: Option<AlertHtmlUrl>§locations_url: Option<String>The REST API URL of the code locations for this alert.
resolution: Option<SecretScanningAlertResolutionWebhook>§resolved_at: Option<DateTime<Utc>>The time that the alert was resolved in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.
resolved_by: Option<NullableSimpleUser>§resolution_comment: Option<String>An optional comment to resolve an alert.
secret_type: Option<String>The type of secret that secret scanning detected.
secret_type_display_name: Option<String>User-friendly name for the detected secret, matching the secret_type. For a list of built-in patterns, see "Supported secret scanning patterns."
validity: Option<String>The token status as of the latest validity check.
push_protection_bypassed: Option<bool>Whether push protection was bypassed for the detected secret.
push_protection_bypassed_by: Option<NullableSimpleUser>§push_protection_bypassed_at: Option<DateTime<Utc>>The time that push protection was bypassed in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.
push_protection_bypass_request_reviewer: Option<NullableSimpleUser>§push_protection_bypass_request_reviewer_comment: Option<String>An optional comment when reviewing a push protection bypass.
push_protection_bypass_request_comment: Option<String>An optional comment when requesting a push protection bypass.
push_protection_bypass_request_html_url: Option<String>The URL to a push protection bypass request.
publicly_leaked: Option<bool>Whether the detected secret was publicly leaked.
multi_repo: Option<bool>Whether the detected secret was found in multiple repositories in the same organization or business.
Trait Implementations§
Source§impl Clone for SecretScanningAlertWebhook
impl Clone for SecretScanningAlertWebhook
Source§fn clone(&self) -> SecretScanningAlertWebhook
fn clone(&self) -> SecretScanningAlertWebhook
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more