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. 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.Summary
Functions
-
apply_archive_rule(Client, Input)
Retroactively applies the archive rule to existing findings that meet the archive rule criteria.
- apply_archive_rule(Client, Input0, Options0)
-
create_analyzer(Client, Input)
Creates an analyzer for your account.
- create_analyzer(Client, Input0, Options0)
-
create_archive_rule(Client, AnalyzerName, Input)
Creates an archive rule for the specified analyzer.
- create_archive_rule(Client, AnalyzerName, Input0, Options0)
-
delete_analyzer(Client, AnalyzerName, Input)
Deletes the specified analyzer.
- delete_analyzer(Client, AnalyzerName, Input0, Options0)
-
delete_archive_rule(Client, AnalyzerName, RuleName, Input)
Deletes the specified archive rule.
- delete_archive_rule(Client, AnalyzerName, RuleName, Input0, Options0)
-
get_analyzed_resource(Client, AnalyzerArn, ResourceArn)
Retrieves information about a resource that was analyzed.
- get_analyzed_resource(Client, AnalyzerArn, ResourceArn, QueryMap, HeadersMap)
- get_analyzed_resource(Client, AnalyzerArn, ResourceArn, QueryMap, HeadersMap, Options0)
-
get_analyzer(Client, AnalyzerName)
Retrieves information about the specified analyzer.
- get_analyzer(Client, AnalyzerName, QueryMap, HeadersMap)
- get_analyzer(Client, AnalyzerName, QueryMap, HeadersMap, Options0)
-
get_archive_rule(Client, AnalyzerName, RuleName)
Retrieves information about an archive rule.
- get_archive_rule(Client, AnalyzerName, RuleName, QueryMap, HeadersMap)
- get_archive_rule(Client, AnalyzerName, RuleName, QueryMap, HeadersMap, Options0)
-
get_finding(Client, Id, AnalyzerArn)
Retrieves information about the specified finding.
- get_finding(Client, Id, AnalyzerArn, QueryMap, HeadersMap)
- get_finding(Client, Id, AnalyzerArn, QueryMap, HeadersMap, Options0)
-
list_analyzed_resources(Client, Input)
Retrieves a list of resources of the specified type that have been analyzed by the specified analyzer..
- list_analyzed_resources(Client, Input0, Options0)
-
list_analyzers(Client)
Retrieves a list of analyzers.
- list_analyzers(Client, QueryMap, HeadersMap)
- list_analyzers(Client, QueryMap, HeadersMap, Options0)
-
list_archive_rules(Client, AnalyzerName)
Retrieves a list of archive rules created for the specified analyzer.
- list_archive_rules(Client, AnalyzerName, QueryMap, HeadersMap)
- list_archive_rules(Client, AnalyzerName, QueryMap, HeadersMap, Options0)
-
list_findings(Client, Input)
Retrieves a list of findings generated by the specified analyzer.
- list_findings(Client, Input0, Options0)
-
list_tags_for_resource(Client, ResourceArn)
Retrieves a list of tags applied to the specified resource.
- list_tags_for_resource(Client, ResourceArn, QueryMap, HeadersMap)
- list_tags_for_resource(Client, ResourceArn, QueryMap, HeadersMap, Options0)
-
start_resource_scan(Client, Input)
Immediately starts a scan of the policies applied to the specified resource.
- start_resource_scan(Client, Input0, Options0)
-
tag_resource(Client, ResourceArn, Input)
Adds a tag to the specified resource.
- tag_resource(Client, ResourceArn, Input0, Options0)
-
untag_resource(Client, ResourceArn, Input)
Removes a tag from the specified resource.
- untag_resource(Client, ResourceArn, Input0, Options0)
-
update_archive_rule(Client, AnalyzerName, RuleName, Input)
Updates the criteria and values for the specified archive rule.
- update_archive_rule(Client, AnalyzerName, RuleName, Input0, Options0)
-
update_findings(Client, Input)
Updates the status for the specified findings.
- update_findings(Client, Input0, Options0)
Functions
apply_archive_rule(Client, Input)
Retroactively applies the archive rule to existing findings that meet the archive rule criteria.
apply_archive_rule(Client, Input0, Options0)
create_analyzer(Client, Input)
Creates an analyzer for your account.
create_analyzer(Client, Input0, Options0)
create_archive_rule(Client, AnalyzerName, Input)
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.create_archive_rule(Client, AnalyzerName, Input0, Options0)
delete_analyzer(Client, AnalyzerName, Input)
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_analyzer(Client, AnalyzerName, Input0, Options0)
delete_archive_rule(Client, AnalyzerName, RuleName, Input)
Deletes the specified archive rule.
delete_archive_rule(Client, AnalyzerName, RuleName, Input0, Options0)
get_analyzed_resource(Client, AnalyzerArn, ResourceArn)
Retrieves information about a resource that was analyzed.
get_analyzed_resource(Client, AnalyzerArn, ResourceArn, QueryMap, HeadersMap)
get_analyzed_resource(Client, AnalyzerArn, ResourceArn, QueryMap, HeadersMap, Options0)
get_analyzer(Client, AnalyzerName)
Retrieves information about the specified analyzer.
get_analyzer(Client, AnalyzerName, QueryMap, HeadersMap)
get_analyzer(Client, AnalyzerName, QueryMap, HeadersMap, Options0)
get_archive_rule(Client, AnalyzerName, RuleName)
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_archive_rule(Client, AnalyzerName, RuleName, QueryMap, HeadersMap)
get_archive_rule(Client, AnalyzerName, RuleName, QueryMap, HeadersMap, Options0)
get_finding(Client, Id, AnalyzerArn)
Retrieves information about the specified finding.
get_finding(Client, Id, AnalyzerArn, QueryMap, HeadersMap)
get_finding(Client, Id, AnalyzerArn, QueryMap, HeadersMap, Options0)
list_analyzed_resources(Client, Input)
Retrieves a list of resources of the specified type that have been analyzed by the specified analyzer..
list_analyzed_resources(Client, Input0, Options0)
list_analyzers(Client)
Retrieves a list of analyzers.
list_analyzers(Client, QueryMap, HeadersMap)
list_analyzers(Client, QueryMap, HeadersMap, Options0)
list_archive_rules(Client, AnalyzerName)
Retrieves a list of archive rules created for the specified analyzer.
list_archive_rules(Client, AnalyzerName, QueryMap, HeadersMap)
list_archive_rules(Client, AnalyzerName, QueryMap, HeadersMap, Options0)
list_findings(Client, Input)
Retrieves a list of findings generated by the specified analyzer.
To learn about filter keys that you can use to create an archive rule, see Access Analyzer filter keys in the IAM User Guide.list_findings(Client, Input0, Options0)
list_tags_for_resource(Client, ResourceArn)
Retrieves a list of tags applied to the specified resource.
list_tags_for_resource(Client, ResourceArn, QueryMap, HeadersMap)
list_tags_for_resource(Client, ResourceArn, QueryMap, HeadersMap, Options0)
start_resource_scan(Client, Input)
Immediately starts a scan of the policies applied to the specified resource.
start_resource_scan(Client, Input0, Options0)
tag_resource(Client, ResourceArn, Input)
Adds a tag to the specified resource.
tag_resource(Client, ResourceArn, Input0, Options0)
untag_resource(Client, ResourceArn, Input)
Removes a tag from the specified resource.
untag_resource(Client, ResourceArn, Input0, Options0)
update_archive_rule(Client, AnalyzerName, RuleName, Input)
Updates the criteria and values for the specified archive rule.
update_archive_rule(Client, AnalyzerName, RuleName, Input0, Options0)
update_findings(Client, Input)
Updates the status for the specified findings.