TrailScraper is a command-line tool designed to extract and analyze information from AWS CloudTrail logs and work with IAM policies. The tool provides functionality to: - Query CloudTrail events using filters through the CloudTrail API - Download and analyze CloudTrail logs from both regular and organizational trails - Search through downloaded CloudTrail logs using various filters - Generate IAM policies based on CloudTrail records and actual API usage patterns - Extend existing IAM policies by analyzing CloudTrail data to identify required permissions - Filter events by parameters such as assumed role ARN, time ranges, and other criteria TrailScraper can be installed via Homebrew on macOS, pip for Python environments, or run directly using Docker. It requires Python 3.5 or higher and appropriate AWS credentials for accessing CloudTrail data. The tool outputs results in JSON format and supports time-based filtering with natural language expressions like "one hour ago" to "now" for specifying date ranges when querying CloudTrail events.
FEATURES
SIMILAR TOOLS
LambdaGuard is an AWS Lambda auditing tool that provides security configuration checks, statistical analysis, and service dependency mapping for serverless functions.
CloudSploit by Aqua is an open-source multi-cloud security scanning tool that detects security risks and compliance issues across AWS, Azure, GCP, OCI, and GitHub platforms.
FestIn discovers open S3 buckets associated with a domain using crawling and DNS reconnaissance techniques.
A command-line security auditing tool that performs Lynis-based security assessments across AWS, GCP, Azure, and DigitalOcean cloud platforms.
A community-driven repository of pre-built security analytics queries and rules for monitoring and detecting threats in Google Cloud environments across various log sources and activity types.
A deprecated Kubernetes workload policy enforcement tool that helped secure multi-tenant clusters through various security policies and configurations.
AWS Vault securely stores AWS IAM credentials in the operating system's keystore and generates temporary credentials for development environments.
KICS is an open-source Infrastructure as Code security scanner that detects vulnerabilities and misconfigurations through customizable queries and integrates with CI/CD pipelines.
HAWK is a multi-cloud antivirus scanning API that uses CLAMAV and YARA engines to detect malware in AWS S3, Azure Blob Storage, and GCP Cloud Storage objects.