CloudTrail Partitioner Logo

CloudTrail Partitioner

0
Free
Visit Website

This project sets up partitioned Athena tables for your CloudTrail logs and updates the partitions nightly. It is based on work by Alex Smolen in his post Partitioning CloudTrail Logs in Athena. You can immediately deploy the CDK app, but I recommend first running this manually to ensure everything is configured, and also because running it manually will (by default) create 90 days of partitions, whereas the nightly CDK will not run until 0600 UTC, and will only create partitions for the current day and tomorrow. Tables are created for each account as cloudtrail_000000000000 and also a view is created that unions all these tables. Related projects This project was based on work by Alex Smolen. This project works great for many, but at enough scale (roughly 100GB of Cloudtrail logs), the way in which Athena is used with this project runs into problems. For this and other reasons, Alex released a new project cloudtrail-parquet-glue which is described in his post Use AWS Glue to make Cloudtrail Parquet partitions and resolves issues #13 and #14 with this project. Setup.

FEATURES

ALTERNATIVES

A tool to analyze and audit AWS environments for security issues and misconfigurations.

An open-source framework for testing and validating the security of AWS services and resources.

Burp extension for identifying cloud buckets and testing for vulnerabilities

Metabadger helps prevent SSRF attacks on AWS EC2 by automating upgrades to the more secure Instance Metadata Service v2 (IMDSv2).

A cloud-based security platform providing WAAP, ZTNA, public cloud security management, and threat intelligence sharing capabilities.

Commercial

A tool that discovers all AWS resources created in an account

Lists AWS resources using the AWS Cloud Control API and writes them to a JSON output file.

A tool to identify publicly accessible S3 objects