/AWS1/IF_AAN=>UPDATEFINDINGS()¶
About UpdateFindings¶
Updates the status for the specified findings.
Method Signature¶
METHODS /AWS1/IF_AAN~UPDATEFINDINGS
IMPORTING
!IV_ANALYZERARN TYPE /AWS1/AANANALYZERARN OPTIONAL
!IV_STATUS TYPE /AWS1/AANFINDINGSTATUSUPDATE OPTIONAL
!IT_IDS TYPE /AWS1/CL_AANFINDINGIDLIST_W=>TT_FINDINGIDLIST OPTIONAL
!IV_RESOURCEARN TYPE /AWS1/AANRESOURCEARN OPTIONAL
!IV_CLIENTTOKEN TYPE /AWS1/AANSTRING OPTIONAL
RAISING
/AWS1/CX_AANACCESSDENIEDEX
/AWS1/CX_AANINTERNALSERVEREX
/AWS1/CX_AANRESOURCENOTFOUNDEX
/AWS1/CX_AANTHROTTLINGEX
/AWS1/CX_AANVALIDATIONEX
/AWS1/CX_AANCLIENTEXC
/AWS1/CX_AANSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_analyzerarn TYPE /AWS1/AANANALYZERARN /AWS1/AANANALYZERARN¶
The ARN of the analyzer that generated the findings to update.
iv_status TYPE /AWS1/AANFINDINGSTATUSUPDATE /AWS1/AANFINDINGSTATUSUPDATE¶
The state represents the action to take to update the finding Status. Use
ARCHIVEto change an Active finding to an Archived finding. UseACTIVEto change an Archived finding to an Active finding.
Optional arguments:¶
it_ids TYPE /AWS1/CL_AANFINDINGIDLIST_W=>TT_FINDINGIDLIST TT_FINDINGIDLIST¶
The IDs of the findings to update.
iv_resourcearn TYPE /AWS1/AANRESOURCEARN /AWS1/AANRESOURCEARN¶
The ARN of the resource identified in the finding.
iv_clienttoken TYPE /AWS1/AANSTRING /AWS1/AANSTRING¶
A client token.
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.
lo_client->updatefindings(
it_ids = VALUE /aws1/cl_aanfindingidlist_w=>tt_findingidlist(
( new /aws1/cl_aanfindingidlist_w( |string| ) )
)
iv_analyzerarn = |string|
iv_clienttoken = |string|
iv_resourcearn = |string|
iv_status = |string|
).