pub struct SecretScanningAlert {Show 18 fields
pub number: Option<i32>,
pub created_at: Option<String>,
pub updated_at: Option<Option<String>>,
pub url: Option<String>,
pub html_url: Option<String>,
pub locations_url: Option<String>,
pub state: Option<SecretScanningAlertState>,
pub resolution: Option<Option<SecretScanningAlertResolution>>,
pub resolved_at: Option<Option<String>>,
pub resolved_by: Option<Option<Box<NullableSimpleUser>>>,
pub resolution_comment: Option<Option<String>>,
pub secret_type: Option<String>,
pub secret_type_display_name: Option<String>,
pub secret: Option<String>,
pub push_protection_bypassed: Option<Option<bool>>,
pub push_protection_bypassed_by: Option<Option<Box<NullableSimpleUser>>>,
pub push_protection_bypassed_at: Option<Option<String>>,
pub validity: Option<Validity>,
}
Fields§
§number: Option<i32>
The security alert number.
created_at: Option<String>
The time that the alert was created in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
.
updated_at: Option<Option<String>>
The time that the alert was last updated in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
.
url: Option<String>
The REST API URL of the alert resource.
html_url: Option<String>
The GitHub URL of the alert resource.
locations_url: Option<String>
The REST API URL of the code locations for this alert.
state: Option<SecretScanningAlertState>
§resolution: Option<Option<SecretScanningAlertResolution>>
§resolved_at: Option<Option<String>>
The time that the alert was resolved in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
.
resolved_by: Option<Option<Box<NullableSimpleUser>>>
§resolution_comment: Option<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 "Secret scanning patterns."
secret: Option<String>
The secret that was detected.
push_protection_bypassed: Option<Option<bool>>
Whether push protection was bypassed for the detected secret.
push_protection_bypassed_by: Option<Option<Box<NullableSimpleUser>>>
§push_protection_bypassed_at: Option<Option<String>>
The time that push protection was bypassed in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
.
validity: Option<Validity>
The token status as of the latest validity check.
Implementations§
Source§impl SecretScanningAlert
impl SecretScanningAlert
pub fn new() -> SecretScanningAlert
Trait Implementations§
Source§impl Clone for SecretScanningAlert
impl Clone for SecretScanningAlert
Source§fn clone(&self) -> SecretScanningAlert
fn clone(&self) -> SecretScanningAlert
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more