list_indicators
¶
list_indicators(
graph_arn: GraphArn,
investigation_id: InvestigationId,
*,
config_overrides: Optional[DetectiveClientConfig] = None,
indicator_type: Optional[IndicatorType] = None,
next_token: Optional[AiPaginationToken] = None,
max_results: Optional[MaxResults] = None,
) -> ListIndicatorsResponse
Gets the indicators from an investigation. You can use the information from the indicators to determine if an IAM user and/or IAM role is involved in an unusual activity that could indicate malicious behavior and its impact.
Parameters:
-
graph_arn(GraphArn) –The Amazon Resource Name (ARN) of the behavior graph.
-
investigation_id(InvestigationId) –The investigation ID of the investigation report.
-
indicator_type(Optional[IndicatorType], default:None) –For the list of indicators of compromise that are generated by Detective investigations, see Detective investigations.
-
next_token(Optional[AiPaginationToken], default:None) –Lists if there are more results available. The value of nextToken is a unique pagination token for each page. Repeat the call using the returned token to retrieve the next page. Keep all other arguments unchanged.
Each pagination token expires after 24 hours. Using an expired pagination token will return a Validation Exception error.
-
max_results(Optional[MaxResults], default:None) –Lists the maximum number of indicators in a page.
Raises:
-
AccessDeniedException–The request issuer does not have permission to access this resource or perform this operation.
-
InternalServerException–The request was valid but failed because of a problem with the service.
-
ResourceNotFoundException–The request refers to a nonexistent resource.
-
TooManyRequestsException–The request cannot be completed because too many other requests are occurring at the same time.
-
ValidationException–The request parameters are invalid.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_detective/_services/detective.py
1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 | |