Skip to content

/AWS1/CL_IN2CONNCONTIMGCANCONF

The container image scanning settings for a connector, including how long pushed and pulled images continue to be rescanned for vulnerabilities.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_pushduration TYPE /AWS1/IN2CONTNRIMAGERESCANDUR /AWS1/IN2CONTNRIMAGERESCANDUR

The amount of time after a container image is pushed to a repository during which Amazon Inspector continues to rescan the image for vulnerabilities. Valid values are LIFETIME, DAYS_3, DAYS_7, DAYS_14, DAYS_30, DAYS_60, DAYS_90, and DAYS_180.

iv_pullduration TYPE /AWS1/IN2CNRIMGPULLDATRESCAN00 /AWS1/IN2CNRIMGPULLDATRESCAN00

The amount of time after a container image is last pulled from a repository during which Amazon Inspector continues to rescan the image for vulnerabilities. Valid values are DAYS_3, DAYS_7, DAYS_14, DAYS_30, DAYS_60, DAYS_90, and DAYS_180.


Queryable Attributes

pushDuration

The amount of time after a container image is pushed to a repository during which Amazon Inspector continues to rescan the image for vulnerabilities. Valid values are LIFETIME, DAYS_3, DAYS_7, DAYS_14, DAYS_30, DAYS_60, DAYS_90, and DAYS_180.

Accessible with the following methods

Method Description
GET_PUSHDURATION() Getter for PUSHDURATION, with configurable default
ASK_PUSHDURATION() Getter for PUSHDURATION w/ exceptions if field has no value
HAS_PUSHDURATION() Determine if PUSHDURATION has a value

pullDuration

The amount of time after a container image is last pulled from a repository during which Amazon Inspector continues to rescan the image for vulnerabilities. Valid values are DAYS_3, DAYS_7, DAYS_14, DAYS_30, DAYS_60, DAYS_90, and DAYS_180.

Accessible with the following methods

Method Description
GET_PULLDURATION() Getter for PULLDURATION, with configurable default
ASK_PULLDURATION() Getter for PULLDURATION w/ exceptions if field has no value
HAS_PULLDURATION() Determine if PULLDURATION has a value