aws accessanalyzer
AWS IAM Access Analyzer helps identify potential resource-access risks by enabling you to identify any policies that grant access to an external principal. It does this by using logic-based reasoning to analyze resource-based policies in your AWS environment. An external principal can be another AWS account, a root user, an IAM user or role, a federated user, an AWS service, or an anonymous user. You can also use Access Analyzer to preview and validate public and cross-account access to your resources before deploying permissions changes. This guide describes the AWS IAM Access Analyzer operations that you can call programmatically. For general information about Access Analyzer, see AWS IAM Access Analyzer in the IAM User Guide. To start using Access Analyzer, you first need to create an analyzer
Subcommands
Name | Description |
---|---|
apply-archive-rule | Retroactively applies the archive rule to existing findings that meet the archive rule criteria |
cancel-policy-generation | Cancels the requested policy generation |
create-access-preview | Creates an access preview that allows you to preview Access Analyzer findings for your resource before deploying resource permissions |
create-analyzer | Creates an analyzer for your account |
create-archive-rule | Creates an archive rule for the specified analyzer. Archive rules automatically archive new findings that meet the criteria you define when you create the rule. To learn about filter keys that you can use to create an archive rule, see Access Analyzer filter keys in the IAM User Guide |
delete-analyzer | Deletes the specified analyzer. When you delete an analyzer, Access Analyzer is disabled for the account or organization in the current or specific Region. All findings that were generated by the analyzer are deleted. You cannot undo this action |
delete-archive-rule | Deletes the specified archive rule |
get-access-preview | Retrieves information about an access preview for the specified analyzer |
get-analyzed-resource | Retrieves information about a resource that was analyzed |
get-analyzer | Retrieves information about the specified analyzer |
get-archive-rule | Retrieves information about an archive rule. To learn about filter keys that you can use to create an archive rule, see Access Analyzer filter keys in the IAM User Guide |
get-finding | Retrieves information about the specified finding |
get-generated-policy | Retrieves the policy that was generated using StartPolicyGeneration |
list-access-preview-findings | Retrieves a list of access preview findings generated by the specified access preview |
list-access-previews | Retrieves a list of access previews for the specified analyzer |
list-analyzed-resources | Retrieves a list of resources of the specified type that have been analyzed by the specified analyzer |
list-analyzers | Retrieves a list of analyzers |
list-archive-rules | Retrieves a list of archive rules created for the specified analyzer |
list-findings | Retrieves a list of findings generated by the specified analyzer. To learn about filter keys that you can use to retrieve a list of findings, see Access Analyzer filter keys in the IAM User Guide |
list-policy-generations | Lists all of the policy generations requested in the last seven days |
list-tags-for-resource | Retrieves a list of tags applied to the specified resource |
start-policy-generation | Starts the policy generation request |
start-resource-scan | Immediately starts a scan of the policies applied to the specified resource |
tag-resource | Adds a tag to the specified resource |
untag-resource | Removes a tag from the specified resource |
update-archive-rule | Updates the criteria and values for the specified archive rule |
update-findings | Updates the status for the specified findings |
validate-policy | Requests the validation of a policy and returns a list of findings. The findings help you identify issues and provide actionable recommendations to resolve the issue and enable you to author functional policies that meet security best practices |