AWS Trusted Advisor and AWS Organizations - AWS Organizations

AWS Trusted Advisor and AWS Organizations

AWS Trusted Advisor inspects your AWS environment and makes recommendations when opportunities exist to save money, to improve system availability and performance, or to help close security gaps. When integrated with Organizations, you can receive Trusted Advisor check results for all of the accounts in your organization and download reports to view the summaries of your checks and any affected resources.

For more information, see Organizational view for AWS Trusted Advisor in the AWS Support User Guide.

Use the following information to help you to help you integrate AWS Trusted Advisor with AWS Organizations.

Service-linked roles created when you enable integration

The following service-linked role is automatically created in your organization's accounts when you enable trusted access. These roles allow Trusted Advisor to perform supported operations within the accounts in your organization.

You can delete or modify these roles only if you disable trusted access between Trusted Advisor and Organizations, or if you remove the member account from the organization.

  • AWSServiceRoleForTrustedAdvisorReporting

Service principals used by the service-linked roles

The service-linked roles in the previous section can be assumed only by the service principals authorized by the trust relationships defined for the role. The service-linked roles used by Trusted Advisor grant access to the following service principals:

  • reporting.trustedadvisor.amazonaws.com

Enabling trusted access with Trusted Advisor

For information about the permissions needed to enable trusted access, see Permissions required to enable trusted access.

You can enable trusted access using only the AWS Trusted Advisor console or tools.

To enable trusted access using the Trusted Advisor console

See Enable organizational view in the AWS Support User Guide.

Disabling trusted access with Trusted Advisor

For information about the permissions needed to disable trusted access, see Permissions required to disable trusted access.

After you disable this feature, Trusted Advisor stops recording check information for all other accounts in your organization. You can't view or download existing reports or create new reports.

You can disable trusted access using either the AWS Trusted Advisor console or the AWS Organizations console.

Important

We strongly recommend that whenever possible, you use the AWS Trusted Advisor console or tools to disable integration with Organizations. This lets AWS Trusted Advisor perform any clean up that it requires, such as deleting resources or access roles that are no longer needed by the service. Proceed with these steps only if you can’t disable integration using the tools provided by AWS Trusted Advisor.

If you disable trusted access by using the AWS Trusted Advisor console or tools then you don’t need to complete these steps.

To disable trusted access using the Trusted Advisor console

See Disable organizational view in the AWS Support User Guide.

You can disable trusted access by using either the AWS Organizations console, by running an Organizations AWS CLI command, or by calling an Organizations API operation in one of the AWS SDKs.

Old console

To disable trusted service access using the Organizations console

  1. Sign in to the AWS Organizations console. You must sign in as an IAM user, assume an IAM role, or sign in as the root user (not recommended) in the organization’s management account.

  2. On the Settings tab under Trusted access for AWS services, find the row for AWS Trusted Advisor and then choose Disable access.

  3. In the dialog box, choose Disable access for service-name.

  4. If you are the administrator of only AWS Organizations, tell the administrator of AWS Trusted Advisor that they can now disable that service using its console or tools from working with AWS Organizations.

New console

To disable trusted service access using the Organizations console

  1. Sign in to the AWS Organizations console. You must sign in as an IAM user, assume an IAM role, or sign in as the root user (not recommended) in the organization’s management account.

  2. On the Services page, find the row for AWS Trusted Advisor and then choose the service’s name.

  3. Choose Enable trusted access.

  4. In the confirmation dialog box, enter disable in the box, and then choose Disable trusted access.

  5. If you are the administrator of only AWS Organizations, tell the administrator of AWS Trusted Advisor that they can now disable that service using its console or tools from working with AWS Organizations.

AWS CLI, AWS API

To disable trusted service access using the Organizations CLI/SDK

You can use the following AWS CLI commands or API operations to disable trusted service access:

  • AWS CLI: aws organizations disable-aws-service-access

    You can run the following command to disable AWS Trusted Advisor as a trusted service with Organizations.

    $ aws organizations disable-aws-service-access \ --service-principal reporting.trustedadvisor.amazonaws.com

    This command produces no output when successful.

  • AWS API: DisableAWSServiceAccess