Retrieving a List of Analyzers
Function
This API is used to retrieve a list of analyzers.
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:list |
List |
analyzer * |
- |
- |
- |
URI
GET /v5/analyzers
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
limit |
No |
Integer |
Maximum number of results on a page Minimum: 1 Maximum: 200 Default: 100 |
|
marker |
No |
String |
Page marker Minimum: 4 Maximum: 400 |
|
type |
No |
String |
Type of an access analyzer.
|
Request Parameters
None
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
analyzers |
Array of AnalyzerSummary objects |
Analyzer list details. |
|
page_info |
PageInfo object |
Information on the page |
|
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. |
|
Parameter |
Type |
Description |
|---|---|---|
|
key |
String |
Tag key |
|
value |
String |
String value associated with the tag key. |
|
Parameter |
Type |
Description |
|---|---|---|
|
current_count |
Integer |
Number of items on the current page |
|
next_marker |
String |
If present, it indicates that the available output is more than the output contained in the current response. Use this value in the marker request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this operation until the next_marker response returns null. |
Example Requests
Retrieving a list of analyzers
GET https://{hostname}/v5/analyzers
Example Responses
Status code: 200
OK
{
"analyzers" : [ {
"created_at" : "2023-09-07T07:26:23.440Z",
"id" : "{analyzer_id}",
"last_analyzed_resource" : "iam::{domain_id}:agency:{agency_name}",
"last_resource_analyzed_at" : "2023-09-07T07:26:23.440Z",
"name" : "my-analyzer",
"status" : "active",
"tags" : [ {
"key" : "key-1",
"value" : "value-1"
} ],
"type" : "account",
"urn" : "AccessAnalyzer:{region_id}:{domain_id}:analyzer:{analyzer_id}"
} ],
"page_info" : {
"current_count" : 1,
"next_marker" : null
}
}
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