Class: Aws::ECR::Types::RegistryScanningRule

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb

Overview

Note:

When making an API call, you may pass RegistryScanningRule data as a hash:

{
  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
    },
  ],
}

The details of a scanning rule for a private registry.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#repository_filtersArray<Types::ScanningRepositoryFilter>

The repository filters associated with the scanning configuration for a private registry.



3410
3411
3412
3413
3414
3415
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 3410

class RegistryScanningRule < Struct.new(
  :scan_frequency,
  :repository_filters)
  SENSITIVE = []
  include Aws::Structure
end

#scan_frequencyString

The frequency that scans are performed at for a private registry. When the ENHANCED scan type is specified, the supported scan frequencies are CONTINUOUS_SCAN and SCAN_ON_PUSH. When the BASIC scan type is specified, the SCAN_ON_PUSH and MANUAL scan frequencies are supported.

Returns:

  • (String)


3410
3411
3412
3413
3414
3415
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 3410

class RegistryScanningRule < Struct.new(
  :scan_frequency,
  :repository_filters)
  SENSITIVE = []
  include Aws::Structure
end