/AWS1/CL_IMGIMAGESCANNINGCONF¶
Contains settings for Image Builder image resource and container image scans.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_imagescanningenabled TYPE /AWS1/IMGNULLABLEBOOLEAN /AWS1/IMGNULLABLEBOOLEAN¶
Specifies whether Amazon Inspector scans for vulnerabilities when you create a new image, and whether Image Builder saves the findings. Amazon Inspector must be enabled in the account. Image tests must also be enabled. For AMI output, Amazon Inspector scans the test instance. For container output, Amazon Inspector scans the container image that Image Builder pushes to the Amazon ECR repository from your
ecrConfigurationsettings.
io_ecrconfiguration TYPE REF TO /AWS1/CL_IMGECRCONFIGURATION /AWS1/CL_IMGECRCONFIGURATION¶
Contains Amazon ECR settings for vulnerability scans.
Queryable Attributes¶
imageScanningEnabled¶
Specifies whether Amazon Inspector scans for vulnerabilities when you create a new image, and whether Image Builder saves the findings. Amazon Inspector must be enabled in the account. Image tests must also be enabled. For AMI output, Amazon Inspector scans the test instance. For container output, Amazon Inspector scans the container image that Image Builder pushes to the Amazon ECR repository from your
ecrConfigurationsettings.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_IMAGESCANNINGENABLED() |
Getter for IMAGESCANNINGENABLED, with configurable default |
ASK_IMAGESCANNINGENABLED() |
Getter for IMAGESCANNINGENABLED w/ exceptions if field has n |
HAS_IMAGESCANNINGENABLED() |
Determine if IMAGESCANNINGENABLED has a value |
ecrConfiguration¶
Contains Amazon ECR settings for vulnerability scans.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ECRCONFIGURATION() |
Getter for ECRCONFIGURATION |