Listing the Specified Analyzer
Function
This API is used to retrieve information about the specified analyzer.
Authorization Information
Each account has all the permissions required to call all APIs, but IAM users must be assigned the following required identity policy-based permissions. For details about the required permissions, see Permissions Policies and Supported Actions.
|
Action |
Access Level |
Resource Type (*: required) |
Condition Key |
Alias |
Dependencies |
|---|---|---|---|---|---|
|
AccessAnalyzer:analyzer:get |
Read |
analyzer * |
g:ResourceTag/<tag-key> |
- |
- |
URI
GET /v5/analyzers/{analyzer_id}
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
analyzer_id |
Yes |
String |
Unique identifier of an analyzer Minimum: 1 Maximum: 36 |
Request Parameters
None
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
analyzer |
AnalyzerSummary object |
Information about an analyzer |
|
Parameter |
Type |
Description |
|---|---|---|
|
configuration |
AnalyzerConfiguration object |
Analyzer settings. |
|
created_at |
String |
Time when an analyzer is created |
|
id |
String |
Unique identifier of an analyzer |
|
last_analyzed_resource |
String |
Unique identifier of the resource that was recently analyzed. |
|
last_resource_analyzed_at |
String |
Last time when the access was analyzed. |
|
last_all_analyzed_at |
String |
Last time when all resources were analyzed. |
|
name |
String |
Name of an analyzer |
|
organization_id |
String |
Organization ID. |
|
status |
String |
Status of an access analyzer.
|
|
status_reason |
StatusReason object |
More details about the current status of the analyzer |
|
tags |
Array of Tag objects |
List of custom tags. |
|
type |
String |
Type of an access analyzer.
|
|
urn |
String |
Unique resource identifier of an analyzer. |
|
Parameter |
Type |
Description |
|---|---|---|
|
unused_access |
unused_access object |
Settings of an unused access analyzer. |
|
Parameter |
Type |
Description |
|---|---|---|
|
unused_access_age |
Integer |
Preset number of days for generating findings. Minimum: 1 Maximum: 180 Default: 90 |
|
unused_analysis_rule |
UnusedAnalysisRule object |
Unused analysis rule. |
|
Parameter |
Type |
Description |
|---|---|---|
|
exclusions |
Array of UnusedAnalysisRuleCriteria objects |
Exclusion rule. |
|
Parameter |
Type |
Description |
|---|---|---|
|
account_ids |
Array of strings |
Account ID list. Minimum: 1 Maximum: 36 Array Length: 1 - 2000 |
|
resource_tags |
Array of Tag objects |
Resource tag list. Array Length: 1 - 20 |
|
Parameter |
Type |
Description |
|---|---|---|
|
code |
String |
Reason for the analyzer status.
|
|
details |
String |
Reason details for the status of the analyzer. |
Example Requests
Retrieving information about the specified analyzer.
GET https://{hostname}/v5/analyzers/{analyzer_id}
Example Responses
Status code: 200
OK
{
"analyzer" : {
"created_at" : "2023-09-07T07:51:10.502Z",
"id" : "{analyzer_id}",
"last_analyzed_resource" : "iam::{domain_id}:agency:{agency_name}",
"last_resource_analyzed_at" : "2023-09-07T07:51:10.502Z",
"name" : "my-analyzer",
"status" : "active",
"tags" : [ {
"key" : "key-1",
"value" : "value-1"
} ],
"type" : "account",
"urn" : "AccessAnalyzer:{region_id}:{domain_id}:analyzer:{analyzer_id}"
}
}
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
OK |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot