Skip to content

/AWS1/IF_IN2=>LISTFINDINGAGGREGATIONS()

About ListFindingAggregations

Lists aggregated finding data for your environment based on specific criteria.

Method Signature

METHODS /AWS1/IF_IN2~LISTFINDINGAGGREGATIONS
  IMPORTING
    !IV_AGGREGATIONTYPE TYPE /AWS1/IN2AGGREGATIONTYPE OPTIONAL
    !IV_NEXTTOKEN TYPE /AWS1/IN2NEXTTOKEN OPTIONAL
    !IV_MAXRESULTS TYPE /AWS1/IN2LISTFNDGAGGRSMAXRSLTS OPTIONAL
    !IT_ACCOUNTIDS TYPE /AWS1/CL_IN2STRINGFILTER=>TT_STRINGFILTERLIST OPTIONAL
    !IO_AGGREGATIONREQUEST TYPE REF TO /AWS1/CL_IN2AGGREGATIONREQUEST OPTIONAL
  RETURNING
    VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_in2listfndgaggrsrsp
  RAISING
    /AWS1/CX_IN2INTERNALSERVEREX
    /AWS1/CX_IN2THROTTLINGEX
    /AWS1/CX_IN2VALIDATIONEX
    /AWS1/CX_IN2CLIENTEXC
    /AWS1/CX_IN2SERVEREXC
    /AWS1/CX_RT_TECHNICAL_GENERIC
    /AWS1/CX_RT_SERVICE_GENERIC.

IMPORTING

Required arguments:

iv_aggregationtype TYPE /AWS1/IN2AGGREGATIONTYPE /AWS1/IN2AGGREGATIONTYPE

The type of the aggregation request.

Optional arguments:

iv_nexttoken TYPE /AWS1/IN2NEXTTOKEN /AWS1/IN2NEXTTOKEN

A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. If your response returns more than the maxResults maximum value it will also return a nextToken value. For subsequent calls, use the nextToken value returned from the previous request to continue listing results after the first page.

iv_maxresults TYPE /AWS1/IN2LISTFNDGAGGRSMAXRSLTS /AWS1/IN2LISTFNDGAGGRSMAXRSLTS

The maximum number of results the response can return. If your request would return more than the maximum the response will return a nextToken value, use this value when you call the action again to get the remaining results.

it_accountids TYPE /AWS1/CL_IN2STRINGFILTER=>TT_STRINGFILTERLIST TT_STRINGFILTERLIST

The Amazon Web Services account IDs to retrieve finding aggregation data for.

io_aggregationrequest TYPE REF TO /AWS1/CL_IN2AGGREGATIONREQUEST /AWS1/CL_IN2AGGREGATIONREQUEST

Details of the aggregation request that is used to filter your aggregation results.

RETURNING

oo_output TYPE REF TO /aws1/cl_in2listfndgaggrsrsp /AWS1/CL_IN2LISTFNDGAGGRSRSP

Examples

Syntax Example

This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.

DATA(lo_result) = lo_client->listfindingaggregations(
  io_aggregationrequest = new /aws1/cl_in2aggregationrequest(
    io_accountaggregation = new /aws1/cl_in2accountaggregation(
      iv_findingtype = |string|
      iv_resourcetype = |string|
      iv_sortby = |string|
      iv_sortorder = |string|
    )
    io_amiaggregation = new /aws1/cl_in2amiaggregation(
      it_amis = VALUE /aws1/cl_in2stringfilter=>tt_stringfilterlist(
        (
          new /aws1/cl_in2stringfilter(
            iv_comparison = |string|
            iv_value = |string|
          )
        )
      )
      iv_sortby = |string|
      iv_sortorder = |string|
    )
    io_awsecrcontaineraggr = new /aws1/cl_in2awsecrcontaineragg(
      it_architectures = VALUE /aws1/cl_in2stringfilter=>tt_stringfilterlist(
        (
          new /aws1/cl_in2stringfilter(
            iv_comparison = |string|
            iv_value = |string|
          )
        )
      )
      it_imageshas = VALUE /aws1/cl_in2stringfilter=>tt_stringfilterlist(
        (
          new /aws1/cl_in2stringfilter(
            iv_comparison = |string|
            iv_value = |string|
          )
        )
      )
      it_imagetags = VALUE /aws1/cl_in2stringfilter=>tt_stringfilterlist(
        (
          new /aws1/cl_in2stringfilter(
            iv_comparison = |string|
            iv_value = |string|
          )
        )
      )
      it_inusecount = VALUE /aws1/cl_in2numberfilter=>tt_numberfilterlist(
        (
          new /aws1/cl_in2numberfilter(
            iv_lowerinclusive = '0.1'
            iv_upperinclusive = '0.1'
          )
        )
      )
      it_lastinuseat = VALUE /aws1/cl_in2datefilter=>tt_datefilterlist(
        (
          new /aws1/cl_in2datefilter(
            iv_endinclusive = '20150101000000.0000000'
            iv_startinclusive = '20150101000000.0000000'
          )
        )
      )
      it_repositories = VALUE /aws1/cl_in2stringfilter=>tt_stringfilterlist(
        (
          new /aws1/cl_in2stringfilter(
            iv_comparison = |string|
            iv_value = |string|
          )
        )
      )
      it_resourceids = VALUE /aws1/cl_in2stringfilter=>tt_stringfilterlist(
        (
          new /aws1/cl_in2stringfilter(
            iv_comparison = |string|
            iv_value = |string|
          )
        )
      )
      iv_sortby = |string|
      iv_sortorder = |string|
    )
    io_coderepositoryaggregation = new /aws1/cl_in2coderepositoryaggr(
      it_projectnames = VALUE /aws1/cl_in2stringfilter=>tt_stringfilterlist(
        (
          new /aws1/cl_in2stringfilter(
            iv_comparison = |string|
            iv_value = |string|
          )
        )
      )
      it_providertypes = VALUE /aws1/cl_in2stringfilter=>tt_stringfilterlist(
        (
          new /aws1/cl_in2stringfilter(
            iv_comparison = |string|
            iv_value = |string|
          )
        )
      )
      it_resourceids = VALUE /aws1/cl_in2stringfilter=>tt_stringfilterlist(
        (
          new /aws1/cl_in2stringfilter(
            iv_comparison = |string|
            iv_value = |string|
          )
        )
      )
      iv_sortby = |string|
      iv_sortorder = |string|
    )
    io_containerimageaggregation = new /aws1/cl_in2containerimageaggr(
      it_architectures = VALUE /aws1/cl_in2stringfilter=>tt_stringfilterlist(
        (
          new /aws1/cl_in2stringfilter(
            iv_comparison = |string|
            iv_value = |string|
          )
        )
      )
      it_cloudaccountids = VALUE /aws1/cl_in2stringfilter=>tt_stringfilterlist(
        (
          new /aws1/cl_in2stringfilter(
            iv_comparison = |string|
            iv_value = |string|
          )
        )
      )
      it_cloudorgids = VALUE /aws1/cl_in2stringfilter=>tt_stringfilterlist(
        (
          new /aws1/cl_in2stringfilter(
            iv_comparison = |string|
            iv_value = |string|
          )
        )
      )
      it_cloudpartitions = VALUE /aws1/cl_in2stringfilter=>tt_stringfilterlist(
        (
          new /aws1/cl_in2stringfilter(
            iv_comparison = |string|
            iv_value = |string|
          )
        )
      )
      it_cloudproviders = VALUE /aws1/cl_in2stringfilter=>tt_stringfilterlist(
        (
          new /aws1/cl_in2stringfilter(
            iv_comparison = |string|
            iv_value = |string|
          )
        )
      )
      it_cloudregions = VALUE /aws1/cl_in2stringfilter=>tt_stringfilterlist(
        (
          new /aws1/cl_in2stringfilter(
            iv_comparison = |string|
            iv_value = |string|
          )
        )
      )
      it_imagedigests = VALUE /aws1/cl_in2stringfilter=>tt_stringfilterlist(
        (
          new /aws1/cl_in2stringfilter(
            iv_comparison = |string|
            iv_value = |string|
          )
        )
      )
      it_imagetags = VALUE /aws1/cl_in2stringfilter=>tt_stringfilterlist(
        (
          new /aws1/cl_in2stringfilter(
            iv_comparison = |string|
            iv_value = |string|
          )
        )
      )
      it_inusecount = VALUE /aws1/cl_in2numberfilter=>tt_numberfilterlist(
        (
          new /aws1/cl_in2numberfilter(
            iv_lowerinclusive = '0.1'
            iv_upperinclusive = '0.1'
          )
        )
      )
      it_lastinuseat = VALUE /aws1/cl_in2datefilter=>tt_datefilterlist(
        (
          new /aws1/cl_in2datefilter(
            iv_endinclusive = '20150101000000.0000000'
            iv_startinclusive = '20150101000000.0000000'
          )
        )
      )
      it_registries = VALUE /aws1/cl_in2stringfilter=>tt_stringfilterlist(
        (
          new /aws1/cl_in2stringfilter(
            iv_comparison = |string|
            iv_value = |string|
          )
        )
      )
      it_repositories = VALUE /aws1/cl_in2stringfilter=>tt_stringfilterlist(
        (
          new /aws1/cl_in2stringfilter(
            iv_comparison = |string|
            iv_value = |string|
          )
        )
      )
      it_resourceids = VALUE /aws1/cl_in2stringfilter=>tt_stringfilterlist(
        (
          new /aws1/cl_in2stringfilter(
            iv_comparison = |string|
            iv_value = |string|
          )
        )
      )
      iv_sortby = |string|
      iv_sortorder = |string|
    )
    io_ec2instanceaggregation = new /aws1/cl_in2ec2instanceaggr(
      it_amis = VALUE /aws1/cl_in2stringfilter=>tt_stringfilterlist(
        (
          new /aws1/cl_in2stringfilter(
            iv_comparison = |string|
            iv_value = |string|
          )
        )
      )
      it_instanceids = VALUE /aws1/cl_in2stringfilter=>tt_stringfilterlist(
        (
          new /aws1/cl_in2stringfilter(
            iv_comparison = |string|
            iv_value = |string|
          )
        )
      )
      it_instancetags = VALUE /aws1/cl_in2mapfilter=>tt_mapfilterlist(
        (
          new /aws1/cl_in2mapfilter(
            iv_comparison = |string|
            iv_key = |string|
            iv_value = |string|
          )
        )
      )
      it_operatingsystems = VALUE /aws1/cl_in2stringfilter=>tt_stringfilterlist(
        (
          new /aws1/cl_in2stringfilter(
            iv_comparison = |string|
            iv_value = |string|
          )
        )
      )
      iv_sortby = |string|
      iv_sortorder = |string|
    )
    io_findingtypeaggregation = new /aws1/cl_in2findingtypeaggr(
      iv_findingtype = |string|
      iv_resourcetype = |string|
      iv_sortby = |string|
      iv_sortorder = |string|
    )
    io_imagelayeraggregation = new /aws1/cl_in2imagelayeraggr(
      it_cloudaccountids = VALUE /aws1/cl_in2stringfilter=>tt_stringfilterlist(
        (
          new /aws1/cl_in2stringfilter(
            iv_comparison = |string|
            iv_value = |string|
          )
        )
      )
      it_cloudorgids = VALUE /aws1/cl_in2stringfilter=>tt_stringfilterlist(
        (
          new /aws1/cl_in2stringfilter(
            iv_comparison = |string|
            iv_value = |string|
          )
        )
      )
      it_cloudpartitions = VALUE /aws1/cl_in2stringfilter=>tt_stringfilterlist(
        (
          new /aws1/cl_in2stringfilter(
            iv_comparison = |string|
            iv_value = |string|
          )
        )
      )
      it_cloudproviders = VALUE /aws1/cl_in2stringfilter=>tt_stringfilterlist(
        (
          new /aws1/cl_in2stringfilter(
            iv_comparison = |string|
            iv_value = |string|
          )
        )
      )
      it_cloudregions = VALUE /aws1/cl_in2stringfilter=>tt_stringfilterlist(
        (
          new /aws1/cl_in2stringfilter(
            iv_comparison = |string|
            iv_value = |string|
          )
        )
      )
      it_layerhashes = VALUE /aws1/cl_in2stringfilter=>tt_stringfilterlist(
        (
          new /aws1/cl_in2stringfilter(
            iv_comparison = |string|
            iv_value = |string|
          )
        )
      )
      it_repositories = VALUE /aws1/cl_in2stringfilter=>tt_stringfilterlist(
        (
          new /aws1/cl_in2stringfilter(
            iv_comparison = |string|
            iv_value = |string|
          )
        )
      )
      it_resourceids = VALUE /aws1/cl_in2stringfilter=>tt_stringfilterlist(
        (
          new /aws1/cl_in2stringfilter(
            iv_comparison = |string|
            iv_value = |string|
          )
        )
      )
      iv_sortby = |string|
      iv_sortorder = |string|
    )
    io_lambdafunctionaggregation = new /aws1/cl_in2lambdafunctionaggr(
      it_functionnames = VALUE /aws1/cl_in2stringfilter=>tt_stringfilterlist(
        (
          new /aws1/cl_in2stringfilter(
            iv_comparison = |string|
            iv_value = |string|
          )
        )
      )
      it_functiontags = VALUE /aws1/cl_in2mapfilter=>tt_mapfilterlist(
        (
          new /aws1/cl_in2mapfilter(
            iv_comparison = |string|
            iv_key = |string|
            iv_value = |string|
          )
        )
      )
      it_resourceids = VALUE /aws1/cl_in2stringfilter=>tt_stringfilterlist(
        (
          new /aws1/cl_in2stringfilter(
            iv_comparison = |string|
            iv_value = |string|
          )
        )
      )
      it_runtimes = VALUE /aws1/cl_in2stringfilter=>tt_stringfilterlist(
        (
          new /aws1/cl_in2stringfilter(
            iv_comparison = |string|
            iv_value = |string|
          )
        )
      )
      iv_sortby = |string|
      iv_sortorder = |string|
    )
    io_lambdalayeraggregation = new /aws1/cl_in2lambdalayeraggr(
      it_functionnames = VALUE /aws1/cl_in2stringfilter=>tt_stringfilterlist(
        (
          new /aws1/cl_in2stringfilter(
            iv_comparison = |string|
            iv_value = |string|
          )
        )
      )
      it_layerarns = VALUE /aws1/cl_in2stringfilter=>tt_stringfilterlist(
        (
          new /aws1/cl_in2stringfilter(
            iv_comparison = |string|
            iv_value = |string|
          )
        )
      )
      it_resourceids = VALUE /aws1/cl_in2stringfilter=>tt_stringfilterlist(
        (
          new /aws1/cl_in2stringfilter(
            iv_comparison = |string|
            iv_value = |string|
          )
        )
      )
      iv_sortby = |string|
      iv_sortorder = |string|
    )
    io_packageaggregation = new /aws1/cl_in2packageaggregation(
      it_packagenames = VALUE /aws1/cl_in2stringfilter=>tt_stringfilterlist(
        (
          new /aws1/cl_in2stringfilter(
            iv_comparison = |string|
            iv_value = |string|
          )
        )
      )
      iv_sortby = |string|
      iv_sortorder = |string|
    )
    io_repositoryaggregation = new /aws1/cl_in2repositoryaggr(
      it_repositories = VALUE /aws1/cl_in2stringfilter=>tt_stringfilterlist(
        (
          new /aws1/cl_in2stringfilter(
            iv_comparison = |string|
            iv_value = |string|
          )
        )
      )
      iv_sortby = |string|
      iv_sortorder = |string|
    )
    io_serverlessfunctionaggr = new /aws1/cl_in2svrlsfunctionaggr(
      it_cloudaccountids = VALUE /aws1/cl_in2stringfilter=>tt_stringfilterlist(
        (
          new /aws1/cl_in2stringfilter(
            iv_comparison = |string|
            iv_value = |string|
          )
        )
      )
      it_cloudorgids = VALUE /aws1/cl_in2stringfilter=>tt_stringfilterlist(
        (
          new /aws1/cl_in2stringfilter(
            iv_comparison = |string|
            iv_value = |string|
          )
        )
      )
      it_cloudpartitions = VALUE /aws1/cl_in2stringfilter=>tt_stringfilterlist(
        (
          new /aws1/cl_in2stringfilter(
            iv_comparison = |string|
            iv_value = |string|
          )
        )
      )
      it_cloudproviders = VALUE /aws1/cl_in2stringfilter=>tt_stringfilterlist(
        (
          new /aws1/cl_in2stringfilter(
            iv_comparison = |string|
            iv_value = |string|
          )
        )
      )
      it_cloudregions = VALUE /aws1/cl_in2stringfilter=>tt_stringfilterlist(
        (
          new /aws1/cl_in2stringfilter(
            iv_comparison = |string|
            iv_value = |string|
          )
        )
      )
      it_functionnames = VALUE /aws1/cl_in2stringfilter=>tt_stringfilterlist(
        (
          new /aws1/cl_in2stringfilter(
            iv_comparison = |string|
            iv_value = |string|
          )
        )
      )
      it_functiontags = VALUE /aws1/cl_in2mapfilter=>tt_mapfilterlist(
        (
          new /aws1/cl_in2mapfilter(
            iv_comparison = |string|
            iv_key = |string|
            iv_value = |string|
          )
        )
      )
      it_resourceids = VALUE /aws1/cl_in2stringfilter=>tt_stringfilterlist(
        (
          new /aws1/cl_in2stringfilter(
            iv_comparison = |string|
            iv_value = |string|
          )
        )
      )
      it_runtimes = VALUE /aws1/cl_in2stringfilter=>tt_stringfilterlist(
        (
          new /aws1/cl_in2stringfilter(
            iv_comparison = |string|
            iv_value = |string|
          )
        )
      )
      iv_sortby = |string|
      iv_sortorder = |string|
    )
    io_titleaggregation = new /aws1/cl_in2titleaggregation(
      it_titles = VALUE /aws1/cl_in2stringfilter=>tt_stringfilterlist(
        (
          new /aws1/cl_in2stringfilter(
            iv_comparison = |string|
            iv_value = |string|
          )
        )
      )
      it_vulnerabilityids = VALUE /aws1/cl_in2stringfilter=>tt_stringfilterlist(
        (
          new /aws1/cl_in2stringfilter(
            iv_comparison = |string|
            iv_value = |string|
          )
        )
      )
      iv_findingtype = |string|
      iv_resourcetype = |string|
      iv_sortby = |string|
      iv_sortorder = |string|
    )
    io_vminstanceaggregation = new /aws1/cl_in2vminstanceaggr(
      it_cloudaccountids = VALUE /aws1/cl_in2stringfilter=>tt_stringfilterlist(
        (
          new /aws1/cl_in2stringfilter(
            iv_comparison = |string|
            iv_value = |string|
          )
        )
      )
      it_cloudorgids = VALUE /aws1/cl_in2stringfilter=>tt_stringfilterlist(
        (
          new /aws1/cl_in2stringfilter(
            iv_comparison = |string|
            iv_value = |string|
          )
        )
      )
      it_cloudpartitions = VALUE /aws1/cl_in2stringfilter=>tt_stringfilterlist(
        (
          new /aws1/cl_in2stringfilter(
            iv_comparison = |string|
            iv_value = |string|
          )
        )
      )
      it_cloudproviders = VALUE /aws1/cl_in2stringfilter=>tt_stringfilterlist(
        (
          new /aws1/cl_in2stringfilter(
            iv_comparison = |string|
            iv_value = |string|
          )
        )
      )
      it_cloudregions = VALUE /aws1/cl_in2stringfilter=>tt_stringfilterlist(
        (
          new /aws1/cl_in2stringfilter(
            iv_comparison = |string|
            iv_value = |string|
          )
        )
      )
      it_instancetags = VALUE /aws1/cl_in2mapfilter=>tt_mapfilterlist(
        (
          new /aws1/cl_in2mapfilter(
            iv_comparison = |string|
            iv_key = |string|
            iv_value = |string|
          )
        )
      )
      it_operatingsystems = VALUE /aws1/cl_in2stringfilter=>tt_stringfilterlist(
        (
          new /aws1/cl_in2stringfilter(
            iv_comparison = |string|
            iv_value = |string|
          )
        )
      )
      it_resourceids = VALUE /aws1/cl_in2stringfilter=>tt_stringfilterlist(
        (
          new /aws1/cl_in2stringfilter(
            iv_comparison = |string|
            iv_value = |string|
          )
        )
      )
      it_vmimagereferences = VALUE /aws1/cl_in2stringfilter=>tt_stringfilterlist(
        (
          new /aws1/cl_in2stringfilter(
            iv_comparison = |string|
            iv_value = |string|
          )
        )
      )
      iv_sortby = |string|
      iv_sortorder = |string|
    )
  )
  it_accountids = VALUE /aws1/cl_in2stringfilter=>tt_stringfilterlist(
    (
      new /aws1/cl_in2stringfilter(
        iv_comparison = |string|
        iv_value = |string|
      )
    )
  )
  iv_aggregationtype = |string|
  iv_maxresults = 123
  iv_nexttoken = |string|
).

This is an example of reading all possible response values

lo_result = lo_result.
IF lo_result IS NOT INITIAL.
  lv_aggregationtype = lo_result->get_aggregationtype( ).
  LOOP AT lo_result->get_responses( ) into lo_row.
    lo_row_1 = lo_row.
    IF lo_row_1 IS NOT INITIAL.
      lo_accountaggregationrespo = lo_row_1->get_accountaggregation( ).
      IF lo_accountaggregationrespo IS NOT INITIAL.
        lv_accountid = lo_accountaggregationrespo->get_accountid( ).
        lo_severitycounts = lo_accountaggregationrespo->get_severitycounts( ).
        IF lo_severitycounts IS NOT INITIAL.
          lv_long = lo_severitycounts->get_all( ).
          lv_long = lo_severitycounts->get_medium( ).
          lv_long = lo_severitycounts->get_high( ).
          lv_long = lo_severitycounts->get_critical( ).
          lv_long = lo_severitycounts->get_low( ).
          lv_long = lo_severitycounts->get_informational( ).
          lv_long = lo_severitycounts->get_untriaged( ).
        ENDIF.
        lv_long = lo_accountaggregationrespo->get_exploitavailablecount( ).
        lv_long = lo_accountaggregationrespo->get_fixavailablecount( ).
      ENDIF.
      lo_amiaggregationresponse = lo_row_1->get_amiaggregation( ).
      IF lo_amiaggregationresponse IS NOT INITIAL.
        lv_amiid = lo_amiaggregationresponse->get_ami( ).
        lv_accountid = lo_amiaggregationresponse->get_accountid( ).
        lv_provider = lo_amiaggregationresponse->get_cloudprovider( ).
        lv_providerpartition = lo_amiaggregationresponse->get_cloudpartition( ).
        lv_providerregion = lo_amiaggregationresponse->get_cloudregion( ).
        lv_providerorgid = lo_amiaggregationresponse->get_cloudorgid( ).
        lv_provideraccountid = lo_amiaggregationresponse->get_cloudaccountid( ).
        lo_severitycounts = lo_amiaggregationresponse->get_severitycounts( ).
        IF lo_severitycounts IS NOT INITIAL.
          lv_long = lo_severitycounts->get_all( ).
          lv_long = lo_severitycounts->get_medium( ).
          lv_long = lo_severitycounts->get_high( ).
          lv_long = lo_severitycounts->get_critical( ).
          lv_long = lo_severitycounts->get_low( ).
          lv_long = lo_severitycounts->get_informational( ).
          lv_long = lo_severitycounts->get_untriaged( ).
        ENDIF.
        lv_long = lo_amiaggregationresponse->get_affectedinstances( ).
      ENDIF.
      lo_awsecrcontaineraggregat = lo_row_1->get_awsecrcontaineraggr( ).
      IF lo_awsecrcontaineraggregat IS NOT INITIAL.
        lv_nonemptystring = lo_awsecrcontaineraggregat->get_resourceid( ).
        lv_string = lo_awsecrcontaineraggregat->get_imagesha( ).
        lv_string = lo_awsecrcontaineraggregat->get_repository( ).
        lv_string = lo_awsecrcontaineraggregat->get_architecture( ).
        LOOP AT lo_awsecrcontaineraggregat->get_imagetags( ) into lo_row_2.
          lo_row_3 = lo_row_2.
          IF lo_row_3 IS NOT INITIAL.
            lv_nonemptystring = lo_row_3->get_value( ).
          ENDIF.
        ENDLOOP.
        lv_accountid = lo_awsecrcontaineraggregat->get_accountid( ).
        lo_severitycounts = lo_awsecrcontaineraggregat->get_severitycounts( ).
        IF lo_severitycounts IS NOT INITIAL.
          lv_long = lo_severitycounts->get_all( ).
          lv_long = lo_severitycounts->get_medium( ).
          lv_long = lo_severitycounts->get_high( ).
          lv_long = lo_severitycounts->get_critical( ).
          lv_long = lo_severitycounts->get_low( ).
          lv_long = lo_severitycounts->get_informational( ).
          lv_long = lo_severitycounts->get_untriaged( ).
        ENDIF.
        lv_datetimetimestamp = lo_awsecrcontaineraggregat->get_lastinuseat( ).
        lv_long = lo_awsecrcontaineraggregat->get_inusecount( ).
      ENDIF.
      lo_ec2instanceaggregationr = lo_row_1->get_ec2instanceaggregation( ).
      IF lo_ec2instanceaggregationr IS NOT INITIAL.
        lv_nonemptystring = lo_ec2instanceaggregationr->get_instanceid( ).
        lv_amiid = lo_ec2instanceaggregationr->get_ami( ).
        lv_string = lo_ec2instanceaggregationr->get_operatingsystem( ).
        LOOP AT lo_ec2instanceaggregationr->get_instancetags( ) into ls_row_4.
          lv_key = ls_row_4-key.
          lo_value = ls_row_4-value.
          IF lo_value IS NOT INITIAL.
            lv_mapvalue = lo_value->get_value( ).
          ENDIF.
        ENDLOOP.
        lv_string = lo_ec2instanceaggregationr->get_accountid( ).
        lo_severitycounts = lo_ec2instanceaggregationr->get_severitycounts( ).
        IF lo_severitycounts IS NOT INITIAL.
          lv_long = lo_severitycounts->get_all( ).
          lv_long = lo_severitycounts->get_medium( ).
          lv_long = lo_severitycounts->get_high( ).
          lv_long = lo_severitycounts->get_critical( ).
          lv_long = lo_severitycounts->get_low( ).
          lv_long = lo_severitycounts->get_informational( ).
          lv_long = lo_severitycounts->get_untriaged( ).
        ENDIF.
        lv_long = lo_ec2instanceaggregationr->get_networkfindings( ).
      ENDIF.
      lo_findingtypeaggregationr = lo_row_1->get_findingtypeaggregation( ).
      IF lo_findingtypeaggregationr IS NOT INITIAL.
        lv_accountid = lo_findingtypeaggregationr->get_accountid( ).
        lo_severitycounts = lo_findingtypeaggregationr->get_severitycounts( ).
        IF lo_severitycounts IS NOT INITIAL.
          lv_long = lo_severitycounts->get_all( ).
          lv_long = lo_severitycounts->get_medium( ).
          lv_long = lo_severitycounts->get_high( ).
          lv_long = lo_severitycounts->get_critical( ).
          lv_long = lo_severitycounts->get_low( ).
          lv_long = lo_severitycounts->get_informational( ).
          lv_long = lo_severitycounts->get_untriaged( ).
        ENDIF.
        lv_long = lo_findingtypeaggregationr->get_exploitavailablecount( ).
        lv_long = lo_findingtypeaggregationr->get_fixavailablecount( ).
        lv_string = lo_findingtypeaggregationr->get_cloudprovider( ).
        lv_string = lo_findingtypeaggregationr->get_cloudaccountid( ).
        lv_string = lo_findingtypeaggregationr->get_cloudorgid( ).
        lv_string = lo_findingtypeaggregationr->get_cloudregion( ).
        lv_string = lo_findingtypeaggregationr->get_cloudpartition( ).
      ENDIF.
      lo_imagelayeraggregationre = lo_row_1->get_imagelayeraggregation( ).
      IF lo_imagelayeraggregationre IS NOT INITIAL.
        lv_nonemptystring = lo_imagelayeraggregationre->get_repository( ).
        lv_nonemptystring = lo_imagelayeraggregationre->get_resourceid( ).
        lv_nonemptystring = lo_imagelayeraggregationre->get_layerhash( ).
        lv_accountid = lo_imagelayeraggregationre->get_accountid( ).
        lv_string = lo_imagelayeraggregationre->get_cloudprovider( ).
        lv_string = lo_imagelayeraggregationre->get_cloudaccountid( ).
        lv_string = lo_imagelayeraggregationre->get_cloudorgid( ).
        lv_string = lo_imagelayeraggregationre->get_cloudregion( ).
        lv_string = lo_imagelayeraggregationre->get_cloudpartition( ).
        lo_severitycounts = lo_imagelayeraggregationre->get_severitycounts( ).
        IF lo_severitycounts IS NOT INITIAL.
          lv_long = lo_severitycounts->get_all( ).
          lv_long = lo_severitycounts->get_medium( ).
          lv_long = lo_severitycounts->get_high( ).
          lv_long = lo_severitycounts->get_critical( ).
          lv_long = lo_severitycounts->get_low( ).
          lv_long = lo_severitycounts->get_informational( ).
          lv_long = lo_severitycounts->get_untriaged( ).
        ENDIF.
      ENDIF.
      lo_packageaggregationrespo = lo_row_1->get_packageaggregation( ).
      IF lo_packageaggregationrespo IS NOT INITIAL.
        lv_nonemptystring = lo_packageaggregationrespo->get_packagename( ).
        lv_accountid = lo_packageaggregationrespo->get_accountid( ).
        lo_severitycounts = lo_packageaggregationrespo->get_severitycounts( ).
        IF lo_severitycounts IS NOT INITIAL.
          lv_long = lo_severitycounts->get_all( ).
          lv_long = lo_severitycounts->get_medium( ).
          lv_long = lo_severitycounts->get_high( ).
          lv_long = lo_severitycounts->get_critical( ).
          lv_long = lo_severitycounts->get_low( ).
          lv_long = lo_severitycounts->get_informational( ).
          lv_long = lo_severitycounts->get_untriaged( ).
        ENDIF.
      ENDIF.
      lo_repositoryaggregationre = lo_row_1->get_repositoryaggregation( ).
      IF lo_repositoryaggregationre IS NOT INITIAL.
        lv_nonemptystring = lo_repositoryaggregationre->get_repository( ).
        lv_accountid = lo_repositoryaggregationre->get_accountid( ).
        lv_provider = lo_repositoryaggregationre->get_cloudprovider( ).
        lv_providerpartition = lo_repositoryaggregationre->get_cloudpartition( ).
        lv_providerregion = lo_repositoryaggregationre->get_cloudregion( ).
        lv_providerorgid = lo_repositoryaggregationre->get_cloudorgid( ).
        lv_provideraccountid = lo_repositoryaggregationre->get_cloudaccountid( ).
        lo_severitycounts = lo_repositoryaggregationre->get_severitycounts( ).
        IF lo_severitycounts IS NOT INITIAL.
          lv_long = lo_severitycounts->get_all( ).
          lv_long = lo_severitycounts->get_medium( ).
          lv_long = lo_severitycounts->get_high( ).
          lv_long = lo_severitycounts->get_critical( ).
          lv_long = lo_severitycounts->get_low( ).
          lv_long = lo_severitycounts->get_informational( ).
          lv_long = lo_severitycounts->get_untriaged( ).
        ENDIF.
        lv_long = lo_repositoryaggregationre->get_affectedimages( ).
      ENDIF.
      lo_titleaggregationrespons = lo_row_1->get_titleaggregation( ).
      IF lo_titleaggregationrespons IS NOT INITIAL.
        lv_nonemptystring = lo_titleaggregationrespons->get_title( ).
        lv_string = lo_titleaggregationrespons->get_vulnerabilityid( ).
        lv_accountid = lo_titleaggregationrespons->get_accountid( ).
        lo_severitycounts = lo_titleaggregationrespons->get_severitycounts( ).
        IF lo_severitycounts IS NOT INITIAL.
          lv_long = lo_severitycounts->get_all( ).
          lv_long = lo_severitycounts->get_medium( ).
          lv_long = lo_severitycounts->get_high( ).
          lv_long = lo_severitycounts->get_critical( ).
          lv_long = lo_severitycounts->get_low( ).
          lv_long = lo_severitycounts->get_informational( ).
          lv_long = lo_severitycounts->get_untriaged( ).
        ENDIF.
      ENDIF.
      lo_lambdalayeraggregationr = lo_row_1->get_lambdalayeraggregation( ).
      IF lo_lambdalayeraggregationr IS NOT INITIAL.
        lv_nonemptystring = lo_lambdalayeraggregationr->get_functionname( ).
        lv_nonemptystring = lo_lambdalayeraggregationr->get_resourceid( ).
        lv_nonemptystring = lo_lambdalayeraggregationr->get_layerarn( ).
        lv_accountid = lo_lambdalayeraggregationr->get_accountid( ).
        lo_severitycounts = lo_lambdalayeraggregationr->get_severitycounts( ).
        IF lo_severitycounts IS NOT INITIAL.
          lv_long = lo_severitycounts->get_all( ).
          lv_long = lo_severitycounts->get_medium( ).
          lv_long = lo_severitycounts->get_high( ).
          lv_long = lo_severitycounts->get_critical( ).
          lv_long = lo_severitycounts->get_low( ).
          lv_long = lo_severitycounts->get_informational( ).
          lv_long = lo_severitycounts->get_untriaged( ).
        ENDIF.
      ENDIF.
      lo_lambdafunctionaggregati = lo_row_1->get_lambdafunctionaggr( ).
      IF lo_lambdafunctionaggregati IS NOT INITIAL.
        lv_nonemptystring = lo_lambdafunctionaggregati->get_resourceid( ).
        lv_string = lo_lambdafunctionaggregati->get_functionname( ).
        lv_string = lo_lambdafunctionaggregati->get_runtime( ).
        LOOP AT lo_lambdafunctionaggregati->get_lambdatags( ) into ls_row_4.
          lv_key = ls_row_4-key.
          lo_value = ls_row_4-value.
          IF lo_value IS NOT INITIAL.
            lv_mapvalue = lo_value->get_value( ).
          ENDIF.
        ENDLOOP.
        lv_accountid = lo_lambdafunctionaggregati->get_accountid( ).
        lo_severitycounts = lo_lambdafunctionaggregati->get_severitycounts( ).
        IF lo_severitycounts IS NOT INITIAL.
          lv_long = lo_severitycounts->get_all( ).
          lv_long = lo_severitycounts->get_medium( ).
          lv_long = lo_severitycounts->get_high( ).
          lv_long = lo_severitycounts->get_critical( ).
          lv_long = lo_severitycounts->get_low( ).
          lv_long = lo_severitycounts->get_informational( ).
          lv_long = lo_severitycounts->get_untriaged( ).
        ENDIF.
        lv_datetimetimestamp = lo_lambdafunctionaggregati->get_lastmodifiedat( ).
      ENDIF.
      lo_coderepositoryaggregati = lo_row_1->get_coderepositoryaggr( ).
      IF lo_coderepositoryaggregati IS NOT INITIAL.
        lv_string = lo_coderepositoryaggregati->get_projectnames( ).
        lv_string = lo_coderepositoryaggregati->get_providertype( ).
        lo_severitycounts = lo_coderepositoryaggregati->get_severitycounts( ).
        IF lo_severitycounts IS NOT INITIAL.
          lv_long = lo_severitycounts->get_all( ).
          lv_long = lo_severitycounts->get_medium( ).
          lv_long = lo_severitycounts->get_high( ).
          lv_long = lo_severitycounts->get_critical( ).
          lv_long = lo_severitycounts->get_low( ).
          lv_long = lo_severitycounts->get_informational( ).
          lv_long = lo_severitycounts->get_untriaged( ).
        ENDIF.
        lv_long = lo_coderepositoryaggregati->get_exploitavailactfndgscnt( ).
        lv_long = lo_coderepositoryaggregati->get_fixavailactivefndgscount( ).
        lv_string = lo_coderepositoryaggregati->get_accountid( ).
        lv_string = lo_coderepositoryaggregati->get_resourceid( ).
      ENDIF.
      lo_vminstanceaggregationre = lo_row_1->get_vminstanceaggregation( ).
      IF lo_vminstanceaggregationre IS NOT INITIAL.
        lv_nonemptystring = lo_vminstanceaggregationre->get_resourceid( ).
        lv_provider = lo_vminstanceaggregationre->get_cloudprovider( ).
        lv_provideraccountid = lo_vminstanceaggregationre->get_cloudaccountid( ).
        lv_providerpartition = lo_vminstanceaggregationre->get_cloudpartition( ).
        lv_providerregion = lo_vminstanceaggregationre->get_cloudregion( ).
        lv_providerorgid = lo_vminstanceaggregationre->get_cloudorgid( ).
        lv_string = lo_vminstanceaggregationre->get_vmimagereference( ).
        lv_string = lo_vminstanceaggregationre->get_operatingsystem( ).
        LOOP AT lo_vminstanceaggregationre->get_tags( ) into ls_row_4.
          lv_key = ls_row_4-key.
          lo_value = ls_row_4-value.
          IF lo_value IS NOT INITIAL.
            lv_mapvalue = lo_value->get_value( ).
          ENDIF.
        ENDLOOP.
        lv_string = lo_vminstanceaggregationre->get_accountid( ).
        lo_severitycounts = lo_vminstanceaggregationre->get_severitycounts( ).
        IF lo_severitycounts IS NOT INITIAL.
          lv_long = lo_severitycounts->get_all( ).
          lv_long = lo_severitycounts->get_medium( ).
          lv_long = lo_severitycounts->get_high( ).
          lv_long = lo_severitycounts->get_critical( ).
          lv_long = lo_severitycounts->get_low( ).
          lv_long = lo_severitycounts->get_informational( ).
          lv_long = lo_severitycounts->get_untriaged( ).
        ENDIF.
        lv_long = lo_vminstanceaggregationre->get_networkfindings( ).
        lv_long = lo_vminstanceaggregationre->get_exploitavailactfndgscnt( ).
        lv_long = lo_vminstanceaggregationre->get_fixavailactivefndgscount( ).
      ENDIF.
      lo_containerimageaggregati = lo_row_1->get_containerimageaggr( ).
      IF lo_containerimageaggregati IS NOT INITIAL.
        lv_nonemptystring = lo_containerimageaggregati->get_resourceid( ).
        lv_provider = lo_containerimageaggregati->get_cloudprovider( ).
        lv_provideraccountid = lo_containerimageaggregati->get_cloudaccountid( ).
        lv_providerpartition = lo_containerimageaggregati->get_cloudpartition( ).
        lv_providerregion = lo_containerimageaggregati->get_cloudregion( ).
        lv_providerorgid = lo_containerimageaggregati->get_cloudorgid( ).
        lv_string = lo_containerimageaggregati->get_imagedigest( ).
        lv_string = lo_containerimageaggregati->get_repository( ).
        lv_string = lo_containerimageaggregati->get_registry( ).
        lv_string = lo_containerimageaggregati->get_architecture( ).
        LOOP AT lo_containerimageaggregati->get_imagetags( ) into lo_row_2.
          lo_row_3 = lo_row_2.
          IF lo_row_3 IS NOT INITIAL.
            lv_nonemptystring = lo_row_3->get_value( ).
          ENDIF.
        ENDLOOP.
        lv_string = lo_containerimageaggregati->get_accountid( ).
        lo_severitycounts = lo_containerimageaggregati->get_severitycounts( ).
        IF lo_severitycounts IS NOT INITIAL.
          lv_long = lo_severitycounts->get_all( ).
          lv_long = lo_severitycounts->get_medium( ).
          lv_long = lo_severitycounts->get_high( ).
          lv_long = lo_severitycounts->get_critical( ).
          lv_long = lo_severitycounts->get_low( ).
          lv_long = lo_severitycounts->get_informational( ).
          lv_long = lo_severitycounts->get_untriaged( ).
        ENDIF.
        lv_datetimetimestamp = lo_containerimageaggregati->get_lastinuseat( ).
        lv_long = lo_containerimageaggregati->get_inusecount( ).
        lv_long = lo_containerimageaggregati->get_exploitavailactfndgscnt( ).
        lv_long = lo_containerimageaggregati->get_fixavailactivefndgscount( ).
      ENDIF.
      lo_serverlessfunctionaggre = lo_row_1->get_serverlessfunctionaggr( ).
      IF lo_serverlessfunctionaggre IS NOT INITIAL.
        lv_nonemptystring = lo_serverlessfunctionaggre->get_resourceid( ).
        lv_provider = lo_serverlessfunctionaggre->get_cloudprovider( ).
        lv_provideraccountid = lo_serverlessfunctionaggre->get_cloudaccountid( ).
        lv_providerpartition = lo_serverlessfunctionaggre->get_cloudpartition( ).
        lv_providerregion = lo_serverlessfunctionaggre->get_cloudregion( ).
        lv_providerorgid = lo_serverlessfunctionaggre->get_cloudorgid( ).
        lv_string = lo_serverlessfunctionaggre->get_functionname( ).
        lv_string = lo_serverlessfunctionaggre->get_runtime( ).
        LOOP AT lo_serverlessfunctionaggre->get_tags( ) into ls_row_4.
          lv_key = ls_row_4-key.
          lo_value = ls_row_4-value.
          IF lo_value IS NOT INITIAL.
            lv_mapvalue = lo_value->get_value( ).
          ENDIF.
        ENDLOOP.
        lv_string = lo_serverlessfunctionaggre->get_accountid( ).
        lo_severitycounts = lo_serverlessfunctionaggre->get_severitycounts( ).
        IF lo_severitycounts IS NOT INITIAL.
          lv_long = lo_severitycounts->get_all( ).
          lv_long = lo_severitycounts->get_medium( ).
          lv_long = lo_severitycounts->get_high( ).
          lv_long = lo_severitycounts->get_critical( ).
          lv_long = lo_severitycounts->get_low( ).
          lv_long = lo_severitycounts->get_informational( ).
          lv_long = lo_severitycounts->get_untriaged( ).
        ENDIF.
        lv_datetimetimestamp = lo_serverlessfunctionaggre->get_lastmodifiedat( ).
        lv_long = lo_serverlessfunctionaggre->get_exploitavailactfndgscnt( ).
        lv_long = lo_serverlessfunctionaggre->get_fixavailactivefndgscount( ).
      ENDIF.
    ENDIF.
  ENDLOOP.
  lv_nexttoken = lo_result->get_nexttoken( ).
ENDIF.