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
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.
A tutorial demonstrating how to implement Kubernetes Engine security features to control application privileges through host access controls and network access policies.
Collection of Kubernetes manifests creating pods with elevated privileges for security testing.
A search engine for open Amazon S3 buckets and their contents, allowing users to search for files using keywords, filename extensions, and full path.
S3Scanner is an open-source tool that scans S3 buckets across S3-compatible APIs to identify misconfigurations and security vulnerabilities.
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 Docker security vulnerability where disabling inter-container communication (ICC) fails to block raw ethernet frames, allowing unexpected data transfer between containers via raw sockets.
TerraGoat is a deliberately vulnerable Terraform repository that demonstrates common cloud infrastructure misconfigurations for training and testing security tools.
PINNED

Checkmarx SCA
A software composition analysis tool that identifies vulnerabilities, malicious code, and license risks in open source dependencies throughout the software development lifecycle.

Orca Security
A cloud-native application protection platform that provides agentless security monitoring, vulnerability management, and compliance capabilities across multi-cloud environments.

DryRun
A GitHub application that performs automated security code reviews by analyzing contextual security aspects of code changes during pull requests.