Updated on 2026-09-10 GMT+08:00

CLI Command Reference (Access Analysis)

Analyzer

API Name

Command

Description

Operation

Retrieving a List of Analyzers

hcloud IAMAccessAnalyzer ListAnalyzers

Retrieving a List of Analyzers.

Go debug

Create analyzer

hcloud IAMAccessAnalyzer CreateAnalyzer

Create an analyzer for your account or organization.

Go debug

List the specified analyzer

hcloud IAMAccessAnalyzer ShowAnalyzer

Retrieve information about the specified analyzer.

Go debug

Delete the specified analyzer

hcloud IAMAccessAnalyzer DeleteAnalyzer

Delete the specified analyzer. All findings generated by the analyzer will be deleted.

Go debug

Updating the Configuration of an Analyzer

hcloud IAMAccessAnalyzer UpdateAnalyzer

This API is used to update the configuration of an analyzer.

Go debug

Start policy scan for specified resources

hcloud IAMAccessAnalyzer StartResourceScan

Start a scan of the policies applied to the specified resource immediately.

Go debug

ArchiveRule

API Name

Command

Description

Operation

Create archive rule for the specified analyzer

hcloud IAMAccessAnalyzer CreateArchiveRule

Create an archive rule for the specified analyzer. The archive rule will automatically archive new findings that meet the criteria you define when you create the rule.

Go debug

Retrieve a list of archive rules created for the specified analyzer

hcloud IAMAccessAnalyzer ListArchiveRules

Retrieve a list of archive rules created for the specified analyzer.

Go debug

Retrieve information about an archive rule

hcloud IAMAccessAnalyzer ShowArchiveRule

Retrieve information about an archive rule.

Go debug

Delete the specified archive rule

hcloud IAMAccessAnalyzer DeleteArchiveRule

Delete the specified archive rule.

Go debug

Update the Criteria and Values of the Specified Archive Rule

hcloud IAMAccessAnalyzer UpdateArchiveRule

Update the Criteria and Values of the Specified Archive Rule.

Go debug

Apply Archive Rule

hcloud IAMAccessAnalyzer ApplyArchiveRule

Apply archive rule retroactively to archive existing findings that meet the archive rule criteria.

Go debug

Finding

API Name

Command

Description

Operation

Retrieve a list of findings generated by the specified analyzer.

hcloud IAMAccessAnalyzer ListFindings

Retrieve a list of findings generated by the specified analyzer.

Go debug

Update the status of the specified findings

hcloud IAMAccessAnalyzer UpdateFindings

update the status of the specified findings.

Go debug

Retrieve information about the specified finding

hcloud IAMAccessAnalyzer ShowFinding

Retrieve information about the specified finding.

Go debug

Preview

API Name

Command

Description

Operation

Create preview access

hcloud IAMAccessAnalyzer CreateAccessPreview

Create preview access.

Go debug

Retrieve a list of preview access

hcloud IAMAccessAnalyzer ListAccessPreviews

Retrieve a list of preview access.

Go debug

Retrieve information about the specified preview access

hcloud IAMAccessAnalyzer ShowAccessPreview

Retrieve information about the specified preview access.

Go debug

Retrieve a list of findings for the specified preview access

hcloud IAMAccessAnalyzer ListAccessPreviewFindings

Retrieve a list of findings for the specified preview access.

Go debug

Tag

API Name

Command

Description

Operation

Add tags to the specified resource

hcloud IAMAccessAnalyzer TagResource

Add tags to the specified resource.

Go debug

Delete tags from the specified resource

hcloud IAMAccessAnalyzer UntagResource

Delete tags from the specified resource.

Go debug

Validate

API Name

Command

Description

Operation

Validate policy

hcloud IAMAccessAnalyzer ValidatePolicy

Validate a policy and return a list of findings.

Go debug

Check new access granted by Policy

hcloud IAMAccessAnalyzer CheckNoNewAccess

Check new access granted by Policy.

Go debug

Resource Analysis Configuration

API Name

Command

Description

Operation

Listing Resource Analysis Configurations

hcloud IAMAccessAnalyzer ListResourceConfigurations

This API is used to list the resource analysis configuration of a specified analyzer.

Go debug

Creating the Resource Analysis Configuration

hcloud IAMAccessAnalyzer CreateResourceConfigurations

This API is used to create the resource analysis configuration of a specified analyzer.

Go debug

Deleting the Resource Analysis Configuration

hcloud IAMAccessAnalyzer DeleteResourceConfigurations

This API is used to delete the resource analysis configuration of a specified analyzer.

Go debug

Message Notification Configuration

API Name

Command

Description

Operation

Obtaining the Message Notification Configuration List

hcloud IAMAccessAnalyzer ListNotificationSettings

This API is used to obtain the message notification configuration list.

Go debug

Creating a Message Notification Configuration

hcloud IAMAccessAnalyzer CreateNotificationSetting

This API is used to create a message notification configuration.

Go debug

Obtaining a Message Notification Configuration

hcloud IAMAccessAnalyzer ShowNotificationSetting

This API is used to obtain a message notification configuration.

Go debug

Updating a Message Notification Configuration

hcloud IAMAccessAnalyzer UpdateNotificationSetting

This API is used to update a message notification configuration.

Go debug

Deleting a Message Notification Configuration

hcloud IAMAccessAnalyzer DeleteNotificationSetting

This API is used to delete a message notification configuration.

Go debug