security_cloudtrail_scan
AWS CloudTrail log threat scan — Scans AWS CloudTrail events (events= JSON {Records:[...]}, array or JSON lines, or url= to a .json/.json.gz log file, up to 50k events) for signs of compromise: logging/GuardDuty/Config tampering, root activity, console logins without MFA and brute force, admin policy attachments, new access keys and login profiles, MFA removal, public bucket/snapshot exposure, security groups opened to 0.0.0.0/0, destructive deletes and KMS key deletion, AccessDenied probing, enumeration bursts, bulk secret reads, offensive tool user agents and RunInstances in rare regions. Returns findings, risk score, verdict and top identities/IPs/regions. Price: $0.008 USDC (Base, via x402).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"events": "<events>"
},
"name": "security_cloudtrail_scan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| events | Yes | e.g. {"Records":[{"eventTime":"2026-11-20T01:00:00Z","eventName":"StopLogging","userIdentity":{"type":"IAMUser","arn":"arn:aws:iam::123456789012:user/bob"},"sourceIPAddress":"203.0.113.7","awsRegion":"us-east-1"}]} |