Skip to content

/AWS1/CL_IN2EC2CONFIGURATION

Enables agent-based scanning, which scans instances that are not managed by SSM.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_scanmode TYPE /AWS1/IN2EC2SCANMODE /AWS1/IN2EC2SCANMODE

The scan method that is applied to the instance.

Optional arguments:

iv_activatevmscanner TYPE /AWS1/IN2BOOLEAN /AWS1/IN2BOOLEAN

Whether to activate Amazon Inspector VM scanner for Amazon EC2 scanning.


Queryable Attributes

scanMode

The scan method that is applied to the instance.

Accessible with the following methods

Method Description
GET_SCANMODE() Getter for SCANMODE, with configurable default
ASK_SCANMODE() Getter for SCANMODE w/ exceptions if field has no value
HAS_SCANMODE() Determine if SCANMODE has a value

activateVMScanner

Whether to activate Amazon Inspector VM scanner for Amazon EC2 scanning.

Accessible with the following methods

Method Description
GET_ACTIVATEVMSCANNER() Getter for ACTIVATEVMSCANNER, with configurable default
ASK_ACTIVATEVMSCANNER() Getter for ACTIVATEVMSCANNER w/ exceptions if field has no v
HAS_ACTIVATEVMSCANNER() Determine if ACTIVATEVMSCANNER has a value