Skip to content

/AWS1/CL_IN2SCOPECONFIGURATION

The scope of resources that Amazon Inspector scans for a single scanning type, including the scope level, the targeted resources, and the current state.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_scopetype TYPE /AWS1/IN2SCOPETYPE /AWS1/IN2SCOPETYPE

The type of scope. Valid values are TENANT, which scans all resources in the Azure tenant, and SUBSCRIPTION, which scans only the resources in the specified Azure subscriptions.

Optional arguments:

it_scopevalues TYPE /AWS1/CL_IN2SCOPEVALUELIST_W=>TT_SCOPEVALUELIST TT_SCOPEVALUELIST

The list of scope values. For subscription-level scope, these are Azure subscription IDs.

iv_state TYPE /AWS1/IN2SCOPESTATE /AWS1/IN2SCOPESTATE

The current state of the scope configuration.

iv_statereason TYPE /AWS1/IN2STRING /AWS1/IN2STRING

The reason for the current state of the scope configuration.


Queryable Attributes

scopeType

The type of scope. Valid values are TENANT, which scans all resources in the Azure tenant, and SUBSCRIPTION, which scans only the resources in the specified Azure subscriptions.

Accessible with the following methods

Method Description
GET_SCOPETYPE() Getter for SCOPETYPE, with configurable default
ASK_SCOPETYPE() Getter for SCOPETYPE w/ exceptions if field has no value
HAS_SCOPETYPE() Determine if SCOPETYPE has a value

scopeValues

The list of scope values. For subscription-level scope, these are Azure subscription IDs.

Accessible with the following methods

Method Description
GET_SCOPEVALUES() Getter for SCOPEVALUES, with configurable default
ASK_SCOPEVALUES() Getter for SCOPEVALUES w/ exceptions if field has no value
HAS_SCOPEVALUES() Determine if SCOPEVALUES has a value

state

The current state of the scope configuration.

Accessible with the following methods

Method Description
GET_STATE() Getter for STATE, with configurable default
ASK_STATE() Getter for STATE w/ exceptions if field has no value
HAS_STATE() Determine if STATE has a value

stateReason

The reason for the current state of the scope configuration.

Accessible with the following methods

Method Description
GET_STATEREASON() Getter for STATEREASON, with configurable default
ASK_STATEREASON() Getter for STATEREASON w/ exceptions if field has no value
HAS_STATEREASON() Determine if STATEREASON has a value