implementing-cloud-trail-log-analysis

Featured

Implementing AWS CloudTrail log analysis for security monitoring, threat detection, and forensic investigation using Athena, CloudWatch Logs Insights, and SIEM integration to identify unauthorized access, privilege escalation, and suspicious API activity.

AI & Automation 36,355 stars 4443 forks Updated 2 months ago Apache-2.0

Install

View on GitHub

Quality Score: 94/100

Stars 20%
100
Recency 20%
75
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Implementing CloudTrail Log Analysis ## When to Use - When building security monitoring pipelines for AWS API activity - When investigating security incidents to trace attacker actions across AWS services - When compliance requires audit logging of all administrative and data access operations - When creating detection rules for known attack patterns in AWS environments - When establishing baseline API behavior for anomaly detection **Do not use** for real-time threat detection (use GuardDuty which already analyzes CloudTrail), for application-level logging (use CloudWatch Application Logs), or for network traffic analysis (use VPC Flow Logs). ## Prerequisites - CloudTrail enabled with management events and optionally data events across all accounts - S3 bucket configured as CloudTrail delivery channel with appropriate retention policies - Amazon Athena configured with CloudTrail log table for ad-hoc queries - CloudWatch Logs subscription for real-time analysis with Logs Insights - SIEM integration (Splunk, Elastic, or Security Lake) for production monitoring ## Workflow ### Step 1: Configure CloudTrail for Comprehensive Logging Ensure CloudTrail captures all relevant event types across the organization. ```bash # Create an organization trail (captures all accounts) aws cloudtrail create-trail \ --name org-security-trail \ --s3-bucket-name cloudtrail-logs-org-ACCOUNT \ --is-organization-trail \ --is-multi-region-trail \ --include-global-service-events \ ...

Details

Author
mukul975
Repository
mukul975/Anthropic-Cybersecurity-Skills
Created
8 months ago
Last Updated
2 months ago
Language
Python
License
Apache-2.0

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category