Retrieves code snippets from findings that Amazon Inspector detected code vulnerabilities in¶
Description¶
Retrieves code snippets from findings that Amazon Inspector detected code vulnerabilities in.
Usage¶
Arguments¶
-
findingArns[required] An array of finding ARNs for the findings you want to retrieve code snippets from.
Value¶
A list with the following syntax:
list(
codeSnippetResults = list(
list(
findingArn = "string",
startLine = 123,
endLine = 123,
codeSnippet = list(
list(
content = "string",
lineNumber = 123
)
),
suggestedFixes = list(
list(
description = "string",
code = "string"
)
)
)
),
errors = list(
list(
findingArn = "string",
errorCode = "INTERNAL_ERROR"|"ACCESS_DENIED"|"CODE_SNIPPET_NOT_FOUND"|"INVALID_INPUT",
errorMessage = "string"
)
)
)