listFindings
inline suspend fun InspectorClient.listFindings(crossinline block: ListFindingsRequest.Builder.() -> Unit): ListFindingsResponse
Lists findings that are generated by the assessment runs that are specified by the ARNs of the assessment runs.
Samples
fun main() {
//sampleStart
// Lists findings that are generated by the assessment runs that are specified by the ARNs of the
// assessment runs.
val resp = inspectorClient.listFindings {
assessmentRunArns = listOf<String>(
"arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-4r1V2mAw/run/0-MKkpXXPE"
)
maxResults = 123
}
//sampleEnd
}