GetAnalyzer

Updated at:

Queries the details of an analyzer with a specified name.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

AnalyzerName

string

Yes

The analyzer name.

analyzer1

Response elements

Element

Type

Description

Example

object

Schema of Response

Analyzer

object

The analyzer information.

Arn

string

The ARN of the analyzer.

acs:accessanalyzer:cn-hangzhou:123456789012:analyzer/analyser1

Name

string

The analyzer name.

analyzer1

Status

string

The status of the analyzer. Valid values:

  • Active: The analyzer is running.

  • Creating: The analyzer is being created.

  • Failed: The analyzer failed.

  • Disabled: The analyzer is disabled.

Active

AnalyzerError

object

The analyzer error message.

Message

string

Access denied

Code

string

Valid values:

  • RESOURCE_DIRECTORY_DELETED :
  • DELEGATED_ADMINISTRATOR_DEREGISTERED :

DELEGATED_ADMINISTRATOR_DEREGISTERED

Type

string

The type of the analyzer. Valid values:

  • ExternalAccess: external access.

  • OverPrivileged: over-privileged access.

ExternalAccess

Scope

string

The scan scope of the analyzer. Valid values:

  • Account: account.

  • ResourceDirectory: resource directory.

Account

CreatedTime

string

The time when the analyzer was created.

2026-05-18T08:07:24Z

LastAnalyzedResource

object

The most recently analyzed resource by the analyzer.

ResourceArn

string

acs:ram::1944809621972557:role/testrole

AnalyzedTime

string

2026-05-18T08:07:24Z

Configuration

object

The configuration of the analyzer instance.

OverPrivilegedConfiguration

object

UnusedAccessAge

integer

90

RequestId

string

The request ID.

29DC0726-CDA5-5D68-9723-5F3A044CB8ED

Examples

Success response

JSON format

{
  "Analyzer": {
    "Arn": "acs:accessanalyzer:cn-hangzhou:123456789012:analyzer/analyser1",
    "Name": "analyzer1",
    "Status": "Active",
    "AnalyzerError": {
      "Message": "Access denied",
      "Code": "DELEGATED_ADMINISTRATOR_DEREGISTERED"
    },
    "Type": "ExternalAccess",
    "Scope": "Account",
    "CreatedTime": "2026-05-18T08:07:24Z",
    "LastAnalyzedResource": {
      "ResourceArn": "acs:ram::1944809621972557:role/testrole",
      "AnalyzedTime": "2026-05-18T08:07:24Z"
    },
    "Configuration": {
      "OverPrivilegedConfiguration": {
        "UnusedAccessAge": 90
      }
    }
  },
  "RequestId": "29DC0726-CDA5-5D68-9723-5F3A044CB8ED"
}

Error codes

HTTP status code

Error code

Error message

Description

400 InvalidParameter.%s The specified parameter %s is not valid. The specified parameter %s is not valid.
400 MissingParameter.%s The specified parameter %s is missing. The parameter %s is required.
500 InternalError The request processing has failed due to some unknown error. An internal error occurred.
404 EntityNotExist.%s The %s does not exist. %s does not exist

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.