DEV Community

Dashboard Interativo de CVE's - AWS Inspector + Lambda + S3

This tutorial describes how to set up an AWS solution to process AWS Inspector reports, store them in an S3 bucket, process them with a Lambda function, and generate an interactive HTML dashboard. The solution automates the processing of vulnerability reports generated by AWS Inspector. The reports are stored in an S3 bucket, encrypted with AWS KMS, and processed by a Lambda function using Python 3.13 and the AWS Lambda Powertools library. The Lambda function generates an interactive HTML dashboard that displays statistics and details of vulnerabilities found in EC2 instances and ECR images. The solution uses an S3 bucket to store the reports, with separate folders for JSON reports and HTML reports. The AWS KMS service is used to encrypt the reports in the S3 bucket. The Lambda function is triggered by S3 events, processes only JSON files, and saves the resulting HTML report to the S3 bucket. The solution requires configuration of an S3 bucket, a Lambda function, and an AWS KMS key. The tutorial provides step-by-step instructions for setting up the solution, including creating an AWS KMS key, configuring the S3 bucket and Lambda function, and applying a key policy.
favicon
dev.to
dev.to
Image for the article: Dashboard Interativo de CVE's - AWS Inspector + Lambda + S3