AWS Security ChangesHomeSearch

AWS awscloudtrail documentation change

Service: awscloudtrail · 2025-05-31 · Documentation low

File: awscloudtrail/latest/userguide/using-service-linked-roles.md

Summary

Restructured documentation to remove detailed service-linked role permissions and creation/deletion procedures, replaced with topic links and simplified region support information. Added references to organization trails/event data stores and event context management roles.

Security assessment

The changes primarily reorganize content and remove technical details about role permissions without evidence of addressing a specific security vulnerability. While service-linked roles are security-related constructs, the modifications focus on documentation structure rather than patching weaknesses or introducing new security controls.

Diff

diff --git a/awscloudtrail/latest/userguide/using-service-linked-roles.md b/awscloudtrail/latest/userguide/using-service-linked-roles.md
index cce3c8d5d..dd636185d 100644
--- a//awscloudtrail/latest/userguide/using-service-linked-roles.md
+++ b//awscloudtrail/latest/userguide/using-service-linked-roles.md
@@ -5 +5 @@
-Service-linked role permissions for CloudTrailCreating a service-linked role for CloudTrailEditing a service-linked role for CloudTrailDeleting a service-linked role for CloudTrailSupported Regions for CloudTrail service-linked roles
+Supported Regions for CloudTrail service-linked rolesSupported Regions for CloudTrail service-linked roles
@@ -7 +7 @@ Service-linked role permissions for CloudTrailCreating a service-linked role for
-# Using service-linked roles for AWS CloudTrail
+# Using service-linked roles for CloudTrail
@@ -11 +11 @@ AWS CloudTrail uses AWS Identity and Access Management (IAM)[ service-linked rol
-A service-linked role makes setting up CloudTrail easier because you don’t have to manually add the necessary permissions. CloudTrail defines the permissions of its service-linked roles, and unless defined otherwise, only CloudTrail can assume its roles. The defined permissions include the trust policy and the permissions policy, and that permissions policy cannot be attached to any other IAM entity.
+###### Topics
@@ -13 +13 @@ A service-linked role makes setting up CloudTrail easier because you don’t hav
-For information about other services that support service-linked roles, see [AWS Services That Work with IAM](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_aws-services-that-work-with-iam.html) and look for the services that have **Yes** in the **Service-Linked Role** column. Choose a **Yes** with a link to view the service-linked role documentation for that service.
+  * [Using roles for creating and managing CloudTrail organization trails and CloudTrail Lake organization event data stores in CloudTrail](./using-service-linked-roles-create-slr-for-org-trails.html)
@@ -15 +15 @@ For information about other services that support service-linked roles, see [AWS
-## Service-linked role permissions for CloudTrail
+  * Supported Regions for CloudTrail service-linked roles
@@ -17 +17 @@ For information about other services that support service-linked roles, see [AWS
-CloudTrail uses the service-linked role named **AWSServiceRoleForCloudTrail** – This service linked role is used for supporting organization trails and organization event data stores.
+  * [Using roles for creating and managing CloudTrail event context in CloudTrail](./using-service-linked-roles-create-slr-for-context-management.html)
@@ -19 +19 @@ CloudTrail uses the service-linked role named **AWSServiceRoleForCloudTrail** 
-The AWSServiceRoleForCloudTrail service-linked role trusts the following services to assume the role:
+  * Supported Regions for CloudTrail service-linked roles
@@ -21 +20,0 @@ The AWSServiceRoleForCloudTrail service-linked role trusts the following service
-  * `cloudtrail.amazonaws.com`
@@ -24,0 +24 @@ The AWSServiceRoleForCloudTrail service-linked role trusts the following service
+## Supported Regions for CloudTrail service-linked roles
@@ -26,71 +26 @@ The AWSServiceRoleForCloudTrail service-linked role trusts the following service
-This role is used to support the creation and management of CloudTrail organization trails and CloudTrail Lake organization event data stores in CloudTrail. For more information, see [Creating a trail for an organization](./creating-trail-organization.html).
-
-The [CloudTrailServiceRolePolicy](https://docs.aws.amazon.com/aws-managed-policy/latest/reference/CloudTrailServiceRolePolicy.html) policy attached to the role allows CloudTrail to complete the following actions on the specified resources:
-
-  * Actions on all CloudTrail resources:
-
-    * `All`
-
-  * Actions on all AWS Organizations resources:
-
-    * `organizations:DescribeAccount`
-
-    * `organizations:DescribeOrganization`
-
-    * `organizations:ListAccounts`
-
-    * `organizations:ListAWSServiceAccessForOrganization`
-
-  * Actions on all Organizations resources for the CloudTrail service principal to list the delegated administrators for the organization: 
-
-    * `organizations:ListDelegatedAdministrators`
-
-  * Actions for [disabling Lake federation](./query-disable-federation.html) on an organization event data store:
-
-    * `glue:DeleteTable`
-
-    * `lakeformation:DeRegisterResource`
-
-
-
-
-You must configure permissions to allow an IAM entity (such as a user, group, or role) to create, edit, or delete a service-linked role. For more information, see [Service-Linked Role Permissions](https://docs.aws.amazon.com/IAM/latest/UserGuide/using-service-linked-roles.html#service-linked-role-permissions) in the _IAM User Guide_.
-
-## Creating a service-linked role for CloudTrail
-
-You don't need to manually create a service-linked role. When you create an organization trail or organization event data store, or add a delegated administrator in the CloudTrail console, or by using the AWS CLI or API operation, CloudTrail creates the service-linked role for you if it does not already exist. 
-
-If you delete this service-linked role, and then need to create it again, you can use the same process to re-create the role in your account. When you create an organization trail or organization event data store, or add a delegated administrator, CloudTrail creates the service-linked role for you again. 
-
-## Editing a service-linked role for CloudTrail
-
-CloudTrail does not allow you to edit the AWSServiceRoleForCloudTrail service-linked role. After you create a service-linked role, you cannot change the name of the role because various entities might reference the role. However, you can edit the description of the role using IAM. For more information, see [Editing a Service-Linked Role](https://docs.aws.amazon.com/IAM/latest/UserGuide/using-service-linked-roles.html#edit-service-linked-role) in the _IAM User Guide_.
-
-## Deleting a service-linked role for CloudTrail
-
-You don't need to manually delete the AWSServiceRoleForCloudTrail role. If an AWS account is removed from an Organizations organization, the AWSServiceRoleForCloudTrail role is automatically removed from that AWS account. You cannot detach or remove policies from the AWSServiceRoleForCloudTrail service-linked role in an organization management account without removing the account from the organization.
-
-You can also use the IAM console, the AWS CLI or the AWS API to manually delete the service-linked role. To do this, you must first manually clean up the resources for your service-linked role, and then you can manually delete it. 
-
-###### Note
-
-If the CloudTrail service is using the role when you try to delete the resources, then deletion might fail. If that happens, wait for a few minutes and try the operation again.
-
-To remove a resource being used by the AWSServiceRoleForCloudTrail role, you can do one of the following:
-
-  * Remove the AWS account from the organization in Organizations.
-
-  * Update the trail so that it is no longer an organization trail. For more information, see [Updating a trail with the CloudTrail console](./cloudtrail-update-a-trail-console.html).
-
-  * Update the event data store so that it is no longer an organization event data store. For more information, see [Update an event data store with the console](./query-event-data-store-update.html).
-
-  * Delete the trail. For more information, see [Deleting a trail with the CloudTrail console](./cloudtrail-delete-trails-console.html).
-
-  * Delete the event data store. For more information, see [Delete an event data store with the console](./query-event-data-store-delete.html).
-
-
-
-
-**To manually delete the service-linked role using IAM**
-
-Use the IAM console, the AWS CLI, or the AWS API to delete the AWSServiceRoleForCloudTrail service-linked role. For more information, see [Deleting a service-linked role](https://docs.aws.amazon.com/IAM/latest/UserGuide/using-service-linked-roles.html#delete-service-linked-role) in the _IAM User Guide_.
+CloudTrail supports using service-linked roles in all of the AWS Regions where CloudTrail and Organizations are both available. For more information, see [AWS Regions and endpoints](https://docs.aws.amazon.com/general/latest/gr/rande.html) in the _AWS General Reference_.
@@ -100 +30 @@ Use the IAM console, the AWS CLI, or the AWS API to delete the AWSServiceRoleFor
-CloudTrail supports using service-linked roles in all of the AWS Regions where CloudTrail and Organizations are both available. For more information, see [AWS service endpoints](https://docs.aws.amazon.com/general/latest/gr/rande.html) in the _AWS General Reference_.
+CloudTrail supports using service-linked roles in all of the Regions where CloudTrail and EventBridge are available. For more information, see [AWS Regions and endpoints](https://docs.aws.amazon.com/general/latest/gr/rande.html).
@@ -110 +40 @@ Troubleshooting
-AWS managed policies
+Organization trails and event data stores role