Skip to content

/AWS1/CL_IN2COVEREDRESOURCE

An object that contains details about a resource covered by Amazon Inspector.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_resourcetype TYPE /AWS1/IN2COVERAGERESOURCETYPE /AWS1/IN2COVERAGERESOURCETYPE

The type of the covered resource.

iv_resourceid TYPE /AWS1/IN2RESOURCEID /AWS1/IN2RESOURCEID

The ID of the covered resource.

iv_accountid TYPE /AWS1/IN2ACCOUNTID /AWS1/IN2ACCOUNTID

The Amazon Web Services account ID of the covered resource.

iv_scantype TYPE /AWS1/IN2SCANTYPE /AWS1/IN2SCANTYPE

The Amazon Inspector scan type covering the resource.

Optional arguments:

io_scanstatus TYPE REF TO /AWS1/CL_IN2SCANSTATUS /AWS1/CL_IN2SCANSTATUS

The status of the scan covering the resource.

io_resourcemetadata TYPE REF TO /AWS1/CL_IN2RESOURCESCANMET /AWS1/CL_IN2RESOURCESCANMET

An object that contains details about the metadata.

iv_lastscannedat TYPE /AWS1/IN2DATETIMETIMESTAMP /AWS1/IN2DATETIMETIMESTAMP

The date and time the resource was last checked for vulnerabilities.

iv_scanmode TYPE /AWS1/IN2SCANMODE /AWS1/IN2SCANMODE

The scan method that is applied to the instance.


Queryable Attributes

resourceType

The type of the covered resource.

Accessible with the following methods

Method Description
GET_RESOURCETYPE() Getter for RESOURCETYPE, with configurable default
ASK_RESOURCETYPE() Getter for RESOURCETYPE w/ exceptions if field has no value
HAS_RESOURCETYPE() Determine if RESOURCETYPE has a value

resourceId

The ID of the covered resource.

Accessible with the following methods

Method Description
GET_RESOURCEID() Getter for RESOURCEID, with configurable default
ASK_RESOURCEID() Getter for RESOURCEID w/ exceptions if field has no value
HAS_RESOURCEID() Determine if RESOURCEID has a value

accountId

The Amazon Web Services account ID of the covered resource.

Accessible with the following methods

Method Description
GET_ACCOUNTID() Getter for ACCOUNTID, with configurable default
ASK_ACCOUNTID() Getter for ACCOUNTID w/ exceptions if field has no value
HAS_ACCOUNTID() Determine if ACCOUNTID has a value

scanType

The Amazon Inspector scan type covering the resource.

Accessible with the following methods

Method Description
GET_SCANTYPE() Getter for SCANTYPE, with configurable default
ASK_SCANTYPE() Getter for SCANTYPE w/ exceptions if field has no value
HAS_SCANTYPE() Determine if SCANTYPE has a value

scanStatus

The status of the scan covering the resource.

Accessible with the following methods

Method Description
GET_SCANSTATUS() Getter for SCANSTATUS

resourceMetadata

An object that contains details about the metadata.

Accessible with the following methods

Method Description
GET_RESOURCEMETADATA() Getter for RESOURCEMETADATA

lastScannedAt

The date and time the resource was last checked for vulnerabilities.

Accessible with the following methods

Method Description
GET_LASTSCANNEDAT() Getter for LASTSCANNEDAT, with configurable default
ASK_LASTSCANNEDAT() Getter for LASTSCANNEDAT w/ exceptions if field has no value
HAS_LASTSCANNEDAT() Determine if LASTSCANNEDAT has a value

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

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_COVEREDRESOURCES

TYPES TT_COVEREDRESOURCES TYPE STANDARD TABLE OF REF TO /AWS1/CL_IN2COVEREDRESOURCE WITH DEFAULT KEY
.