setting-up-cloudtrail-multi-region

por aws

Habilita um trilho AWS CloudTrail multirregião com armazenamento de logs em S3, integração com CloudWatch Logs e consultas do CloudWatch Logs Insights para monitoramento de segurança e…

npx skills add https://github.com/aws/agent-toolkit-for-aws --skill setting-up-cloudtrail-multi-region

Setting Up CloudTrail Multi-Region

Overview

Domain expertise for enabling AWS CloudTrail across all regions to capture comprehensive API activity logs and configuring CloudWatch Logs Insights for security monitoring, compliance auditing, and operational analysis.

Set up a multi-region trail

To create a centralized multi-region CloudTrail trail with S3 storage, CloudWatch Logs integration, and log analysis, follow the procedure exactly. See CloudTrail multi-region setup procedure.

Troubleshooting

S3 bucket already exists

Choose a different globally unique name, or add a timestamp or organization identifier.

Permission denied errors

Verify your identity with aws sts get-caller-identity. Ensure your user/role has required actions attached. Do NOT use *FullAccess managed policies.

Trail not logging

Verify IAM role permissions, check S3 bucket policy allows CloudTrail access, and ensure the trail is started with start-logging.

Missing events in CloudWatch

Allow 5-15 minutes for initial log delivery. Verify the CloudWatch Logs role ARN is correct and the log group exists in the same region as the trail.

Opt-in region events not appearing

This is normal — events from opt-in regions may take several hours. Wait up to 24 hours before investigating further.

Mais skills de aws

agents-build
aws
Use to extend an existing agent project with memory, app integration, VPC, multi-agent, migration, model, browser, code interpreter, payments, or resource…
official
agents-connect
aws
Use when connecting your agent to external APIs, tools, or services via Gateway, or restricting tool access with Cedar policies. Handles gateway setup, target…
official
agents-debug
aws
Use quando seu agente ou ambiente estiver quebrado — respostas erradas, erros, timeouts, falhas de ferramentas ou problemas de CLI. Lê traces e logs para diagnosticar causas raiz.…
official
agents-deploy
aws
Use when deploying your agent to AWS, or when a deploy has failed. Handles pre-flight validation, CDK/IAM/quota error diagnosis, version management, rollback,…
official
agents-get-started
aws
Use quando um desenvolvedor quiser criar um novo projeto de agente ou começar com o AgentCore. Lida com seleção de framework, scaffolding de projeto, primeiro deploy e…
official
agents-harden
aws
Use when preparing your agent for production — IAM scoping, inbound auth (JWT, SigV4), secrets management, cold start optimization, session lifecycle, rate…
official
agents-pay
aws
Use quando ESTE agente precisar pagar por conteúdo protegido por x402 em tempo de execução: encontrar um paywall no meio da tarefa, resolver isso via AgentCore Payments e aplicar…
official
amazon-aurora-mysql
aws
Amazon Aurora MySQL — cria, modifica e orienta sobre clusters Aurora MySQL especificamente (mecanismo compatível com MySQL, Aurora serverless, consulta paralela).…
official