Skip to content

/AWS1/CL_IOT=>LISTRELATEDRESRCSFORAUDFNDG()

About ListRelatedResourcesForAuditFinding

The related resources of an Audit finding. The following resources can be returned from calling this API:

  • DEVICE_CERTIFICATE

  • CA_CERTIFICATE

  • IOT_POLICY

  • COGNITO_IDENTITY_POOL

  • CLIENT_ID

  • ACCOUNT_SETTINGS

  • ROLE_ALIAS

  • IAM_ROLE

  • ISSUER_CERTIFICATE

This API is similar to DescribeAuditFinding's RelatedResources but provides pagination and is not limited to 10 resources. When calling DescribeAuditFinding for the intermediate CA revoked for active device certificates check, RelatedResources will not be populated. You must use this API, ListRelatedResourcesForAuditFinding, to list the certificates.

Method Signature

IMPORTING

Required arguments:

IV_FINDINGID TYPE /AWS1/IOTFINDINGID /AWS1/IOTFINDINGID

The finding Id.

Optional arguments:

IV_NEXTTOKEN TYPE /AWS1/IOTNEXTTOKEN /AWS1/IOTNEXTTOKEN

A token that can be used to retrieve the next set of results, or null if there are no additional results.

IV_MAXRESULTS TYPE /AWS1/IOTMAXRESULTS /AWS1/IOTMAXRESULTS

The maximum number of results to return at one time.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_IOTLSTRELATEDRESRCS01 /AWS1/CL_IOTLSTRELATEDRESRCS01

Domain /AWS1/RT_ACCOUNT_ID
Primitive Type NUMC