cloudtrail-data:PutAuditEvents is a Write access-level action in the cloudtrail-data service. Grants permission to ingest your application events into CloudTrail Lake
ARNs that cloudtrail-data:PutAuditEvents can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants cloudtrail-data:PutAuditEvents.
Filters actions based on the presence of tag key-value pairs in the request
A minimal policy that allows cloudtrail-data:PutAuditEvents. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowCloudtraildataPutAuditEvents",
"Effect": "Allow",
"Action": "cloudtrail-data:PutAuditEvents",
"Resource": "*"
}
]
}