#[non_exhaustive]pub struct PutRegistryScanningConfigurationInput { /* private fields */ }
Implementations
sourceimpl PutRegistryScanningConfigurationInput
impl PutRegistryScanningConfigurationInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutRegistryScanningConfiguration, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutRegistryScanningConfiguration, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<PutRegistryScanningConfiguration
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PutRegistryScanningConfigurationInput
.
sourceimpl PutRegistryScanningConfigurationInput
impl PutRegistryScanningConfigurationInput
sourcepub fn scan_type(&self) -> Option<&ScanType>
pub fn scan_type(&self) -> Option<&ScanType>
The scanning type to set for the registry.
When a registry scanning configuration is not defined, by default the BASIC
scan type is used. When basic scanning is used, you may specify filters to determine which individual repositories, or all repositories, are scanned when new images are pushed to those repositories. Alternatively, you can do manual scans of images with basic scanning.
When the ENHANCED
scan type is set, Amazon Inspector provides automated vulnerability scanning. You may choose between continuous scanning or scan on push and you may specify filters to determine which individual repositories, or all repositories, are scanned.
sourcepub fn rules(&self) -> Option<&[RegistryScanningRule]>
pub fn rules(&self) -> Option<&[RegistryScanningRule]>
The scanning rules to use for the registry. A scanning rule is used to determine which repository filters are used and at what frequency scanning will occur.
Trait Implementations
sourceimpl Clone for PutRegistryScanningConfigurationInput
impl Clone for PutRegistryScanningConfigurationInput
sourcefn clone(&self) -> PutRegistryScanningConfigurationInput
fn clone(&self) -> PutRegistryScanningConfigurationInput
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more