Class: Aws::ECR::Types::PutRegistryScanningConfigurationRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::ECR::Types::PutRegistryScanningConfigurationRequest
- Defined in:
- gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb
Overview
When making an API call, you may pass PutRegistryScanningConfigurationRequest data as a hash:
{
scan_type: "BASIC", # accepts BASIC, ENHANCED
rules: [
{
scan_frequency: "SCAN_ON_PUSH", # required, accepts SCAN_ON_PUSH, CONTINUOUS_SCAN, MANUAL
repository_filters: [ # required
{
filter: "ScanningRepositoryFilterValue", # required
filter_type: "WILDCARD", # required, accepts WILDCARD
},
],
},
],
}
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#rules ⇒ Array<Types::RegistryScanningRule>
The scanning rules to use for the registry.
-
#scan_type ⇒ String
The scanning type to set for the registry.
Instance Attribute Details
#rules ⇒ Array<Types::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.
3248 3249 3250 3251 3252 3253 |
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 3248 class PutRegistryScanningConfigurationRequest < Struct.new( :scan_type, :rules) SENSITIVE = [] include Aws::Structure end |
#scan_type ⇒ String
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.
3248 3249 3250 3251 3252 3253 |
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 3248 class PutRegistryScanningConfigurationRequest < Struct.new( :scan_type, :rules) SENSITIVE = [] include Aws::Structure end |