Posted On: Sep 28, 2023
Amazon Simple Notification Service (Amazon SNS) now supports AWS CloudTrail logging for the Publish and PublishBatch API actions. By logging these data events, you can get details on when and who made API calls to Amazon SNS, thereby enhancing data visibility for security and operations teams, enabling governance, compliance, and operational auditing.
Amazon SNS is a fully managed messaging service for both application-to-application (A2A) and application-to-person (A2P) communication. The A2A pub/sub functionality provides topics for high-throughput, push-based, many-to-many messaging between distributed systems, microservices, and event-driven serverless applications. The A2P functionality enables you to send messages to users at scale via SMS, mobile push, and email.
AWS CloudTrail logging for the Publish and PublishBatch API actions is available now in all AWS Regions and the AWS GovCloud (US) Regions.
To enable logging for Amazon SNS data events, using the AWS CloudTrail Management Console or the AWS CloudTrail Command Line Interface (CLI), specify Amazon SNS as the data event type, then choose the Amazon SNS topics that you want to monitor.
To learn more, see the following: