Creating a simple audit trail for auditing Lambda configurations

Let's create an audit trail for the Greeter function that we created back in Chapter 3Designing a Kotlin Serverless Application. This can easily be extended to all of the Lambda functions that we developed in Chapter 5Improve your App with Firebase Service but for the sake of comprehension, let's keep it simple and implement an audit trail for a single function.

In the web console of AWS, navigate to the CloudTrail dashboard and click on Create a Trail. The process detailed in the following sections describes the configuration.

Get Hands-On Serverless Applications with Kotlin now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.