Skip to content

/AWS1/CL_IN2AMIAGGRRESPONSE

A response that contains the results of a finding aggregation by AMI.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_ami TYPE /AWS1/IN2AMIID /AWS1/IN2AMIID

The ID of the AMI that findings were aggregated for.

Optional arguments:

iv_accountid TYPE /AWS1/IN2ACCOUNTID /AWS1/IN2ACCOUNTID

The Amazon Web Services account ID for the AMI.

iv_cloudprovider TYPE /AWS1/IN2PROVIDER /AWS1/IN2PROVIDER

The cloud service provider associated with this Amazon Machine Image (AMI) aggregation. Valid values:

  • AWS – Findings from Amazon Web Services resources.

  • AZURE – Findings from Microsoft Azure resources.

iv_cloudpartition TYPE /AWS1/IN2PROVIDERPARTITION /AWS1/IN2PROVIDERPARTITION

The cloud infrastructure partition associated with this AMI aggregation. Valid values:

  • aws – Amazon Web Services commercial Regions.

  • aws-cn – Amazon Web Services China Regions.

  • aws-us-gov – Amazon Web Services GovCloud (US) Regions.

  • AzureCloud – Azure commercial Regions.

iv_cloudregion TYPE /AWS1/IN2PROVIDERREGION /AWS1/IN2PROVIDERREGION

The cloud Region associated with this AMI aggregation. The value format depends on the cloud provider:

  • An Amazon Web Services Region, such as us-east-1.

  • An Azure region, such as eastus.

iv_cloudorgid TYPE /AWS1/IN2PROVIDERORGID /AWS1/IN2PROVIDERORGID

The cloud organization ID for the AMI aggregation.

iv_cloudaccountid TYPE /AWS1/IN2PROVIDERACCOUNTID /AWS1/IN2PROVIDERACCOUNTID

The cloud account ID for the AMI aggregation.

io_severitycounts TYPE REF TO /AWS1/CL_IN2SEVERITYCOUNTS /AWS1/CL_IN2SEVERITYCOUNTS

An object that contains the count of matched findings per severity.

iv_affectedinstances TYPE /AWS1/IN2LONG /AWS1/IN2LONG

The IDs of Amazon EC2 instances using this AMI.


Queryable Attributes

ami

The ID of the AMI that findings were aggregated for.

Accessible with the following methods

Method Description
GET_AMI() Getter for AMI, with configurable default
ASK_AMI() Getter for AMI w/ exceptions if field has no value
HAS_AMI() Determine if AMI has a value

accountId

The Amazon Web Services account ID for the AMI.

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

cloudProvider

The cloud service provider associated with this Amazon Machine Image (AMI) aggregation. Valid values:

  • AWS – Findings from Amazon Web Services resources.

  • AZURE – Findings from Microsoft Azure resources.

Accessible with the following methods

Method Description
GET_CLOUDPROVIDER() Getter for CLOUDPROVIDER, with configurable default
ASK_CLOUDPROVIDER() Getter for CLOUDPROVIDER w/ exceptions if field has no value
HAS_CLOUDPROVIDER() Determine if CLOUDPROVIDER has a value

cloudPartition

The cloud infrastructure partition associated with this AMI aggregation. Valid values:

  • aws – Amazon Web Services commercial Regions.

  • aws-cn – Amazon Web Services China Regions.

  • aws-us-gov – Amazon Web Services GovCloud (US) Regions.

  • AzureCloud – Azure commercial Regions.

Accessible with the following methods

Method Description
GET_CLOUDPARTITION() Getter for CLOUDPARTITION, with configurable default
ASK_CLOUDPARTITION() Getter for CLOUDPARTITION w/ exceptions if field has no valu
HAS_CLOUDPARTITION() Determine if CLOUDPARTITION has a value

cloudRegion

The cloud Region associated with this AMI aggregation. The value format depends on the cloud provider:

  • An Amazon Web Services Region, such as us-east-1.

  • An Azure region, such as eastus.

Accessible with the following methods

Method Description
GET_CLOUDREGION() Getter for CLOUDREGION, with configurable default
ASK_CLOUDREGION() Getter for CLOUDREGION w/ exceptions if field has no value
HAS_CLOUDREGION() Determine if CLOUDREGION has a value

cloudOrgId

The cloud organization ID for the AMI aggregation.

Accessible with the following methods

Method Description
GET_CLOUDORGID() Getter for CLOUDORGID, with configurable default
ASK_CLOUDORGID() Getter for CLOUDORGID w/ exceptions if field has no value
HAS_CLOUDORGID() Determine if CLOUDORGID has a value

cloudAccountId

The cloud account ID for the AMI aggregation.

Accessible with the following methods

Method Description
GET_CLOUDACCOUNTID() Getter for CLOUDACCOUNTID, with configurable default
ASK_CLOUDACCOUNTID() Getter for CLOUDACCOUNTID w/ exceptions if field has no valu
HAS_CLOUDACCOUNTID() Determine if CLOUDACCOUNTID has a value

severityCounts

An object that contains the count of matched findings per severity.

Accessible with the following methods

Method Description
GET_SEVERITYCOUNTS() Getter for SEVERITYCOUNTS

affectedInstances

The IDs of Amazon EC2 instances using this AMI.

Accessible with the following methods

Method Description
GET_AFFECTEDINSTANCES() Getter for AFFECTEDINSTANCES, with configurable default
ASK_AFFECTEDINSTANCES() Getter for AFFECTEDINSTANCES w/ exceptions if field has no v
HAS_AFFECTEDINSTANCES() Determine if AFFECTEDINSTANCES has a value