Struct gapi_grpc::google::cloud::websecurityscanner::v1::ScanConfig [−][src]
A ScanConfig resource contains the configurations to launch a scan.
Fields
name: String
The resource name of the ScanConfig. The name follows the format of ‘projects/{projectId}/scanConfigs/{scanConfigId}’. The ScanConfig IDs are generated by the system.
display_name: String
Required. The user provided display name of the ScanConfig.
max_qps: i32
The maximum QPS during scanning. A valid value ranges from 5 to 20 inclusively. If the field is unspecified or its value is set 0, server will default to 15. Other values outside of [5, 20] range will be rejected with INVALID_ARGUMENT error.
starting_urls: Vec<String>
Required. The starting URLs from which the scanner finds site pages.
authentication: Option<Authentication>
The authentication configuration. If specified, service will use the authentication configuration during scanning.
user_agent: i32
The user agent used during scanning.
blacklist_patterns: Vec<String>
The excluded URL patterns as described in https://cloud.google.com/security-command-center/docs/how-to-use-web-security-scanner#excluding_urls
schedule: Option<Schedule>
The schedule of the ScanConfig.
export_to_security_command_center: i32
Controls export of scan configurations and results to Security Command Center.
risk_level: i32
The risk level selected for the scan
managed_scan: bool
Whether the scan config is managed by Web Security Scanner, output only.
static_ip_scan: bool
Whether the scan configuration has enabled static IP address scan feature. If enabled, the scanner will access applications from static IP addresses.
Implementations
impl ScanConfig
[src][−]
pub fn user_agent(&self) -> UserAgent
[src][−]
Returns the enum value of user_agent
, or the default if the field is set to an invalid enum value.
pub fn set_user_agent(&mut self, value: UserAgent)
[src][−]
Sets user_agent
to the provided enum value.
pub fn export_to_security_command_center(&self) -> ExportToSecurityCommandCenter
[src][−]
Returns the enum value of export_to_security_command_center
, or the default if the field is set to an invalid enum value.
pub fn set_export_to_security_command_center(
&mut self,
value: ExportToSecurityCommandCenter
)
[src][−]
&mut self,
value: ExportToSecurityCommandCenter
)
Sets export_to_security_command_center
to the provided enum value.
pub fn risk_level(&self) -> RiskLevel
[src][−]
Returns the enum value of risk_level
, or the default if the field is set to an invalid enum value.
pub fn set_risk_level(&mut self, value: RiskLevel)
[src][−]
Sets risk_level
to the provided enum value.
Trait Implementations
impl Clone for ScanConfig
[src][+]
impl Debug for ScanConfig
[src][+]
impl Default for ScanConfig
[src][+]
impl Message for ScanConfig
[src][+]
impl PartialEq<ScanConfig> for ScanConfig
[src][+]
impl StructuralPartialEq for ScanConfig
[src]
Auto Trait Implementations
impl RefUnwindSafe for ScanConfig
impl Send for ScanConfig
impl Sync for ScanConfig
impl Unpin for ScanConfig
impl UnwindSafe for ScanConfig
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T> Instrument for T
[src][+]
impl<T> Instrument for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> IntoRequest<T> for T
[src][+]
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src][+]
V: MultiLane<T>,