View Source aws_accessanalyzer (aws v0.7.14)
Identity and Access Management 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 Amazon Web Services environment. An external principal can be another Amazon Web Services account, a root user, an IAM user or role, a federated user, an Amazon Web Services service, or an anonymous user. You can also use IAM Access Analyzer to preview and validate public and cross-account access to your resources before deploying permissions changes. This guide describes the Identity and Access Management Access Analyzer operations that you can call programmatically. For general information about IAM Access Analyzer, see Identity and Access Management Access Analyzer in the IAM User Guide.
To start using IAM Access Analyzer, you first need to create an analyzer.Link to this section Summary
Functions
Creates an archive rule for the specified analyzer.
Deletes the specified analyzer.
Retrieves information about an archive rule.
StartPolicyGeneration
.Retrieves a list of findings generated by the specified analyzer.
Requests the validation of a policy and returns a list of findings.
Link to this section Functions
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 IAM Access Analyzer filter keys in the IAM User Guide.Deletes the specified analyzer.
When you delete an analyzer, IAM 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(Client, AnalyzerName, RuleName, Input0, Options0)
View Sourceget_access_preview(Client, AccessPreviewId, AnalyzerArn, QueryMap, HeadersMap)
View Sourceget_access_preview(Client, AccessPreviewId, AnalyzerArn, QueryMap, HeadersMap, Options0)
View Sourceget_analyzed_resource(Client, AnalyzerArn, ResourceArn, QueryMap, HeadersMap)
View Sourceget_analyzed_resource(Client, AnalyzerArn, ResourceArn, QueryMap, HeadersMap, Options0)
View Sourceget_analyzer(Client, AnalyzerName, QueryMap, HeadersMap, Options0)
View SourceRetrieves information about an archive rule.
To learn about filter keys that you can use to create an archive rule, see IAM Access Analyzer filter keys in the IAM User Guide.get_archive_rule(Client, AnalyzerName, RuleName, QueryMap, HeadersMap)
View Sourceget_archive_rule(Client, AnalyzerName, RuleName, QueryMap, HeadersMap, Options0)
View Sourceget_finding(Client, Id, AnalyzerArn, QueryMap, HeadersMap, Options0)
View SourceStartPolicyGeneration
.
get_generated_policy(Client, JobId, QueryMap, HeadersMap, Options0)
View Sourcelist_access_preview_findings(Client, AccessPreviewId, Input0, Options0)
View Sourcelist_access_previews(Client, AnalyzerArn, QueryMap, HeadersMap, Options0)
View Sourcelist_archive_rules(Client, AnalyzerName, QueryMap, HeadersMap, Options0)
View SourceRetrieves 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 IAM Access Analyzer filter keys in the IAM User Guide.list_tags_for_resource(Client, ResourceArn, QueryMap, HeadersMap, Options0)
View Sourceupdate_archive_rule(Client, AnalyzerName, RuleName, Input0, Options0)
View SourceRequests 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.