Security monitoring and alerts
Updated · 2 min read
New in v1.3, Sandbox Studio creates CloudWatch alarms that watch for errors and suspicious activity, and sends them to an Amazon SNS topic. Nobody is subscribed to the topic when you install, so subscribe your team to get the alerts.
Subscribe to security alerts#
To subscribe:
Sign in to the AWS console for the hub account and switch to your home region.
Open Amazon SNS > Topics and select
{Namespace}-sbs-security-alerts(for exampleSandbox-sbs-security-alerts).Choose Create subscription, pick a protocol (for example Email) and enter the endpoint, such as your team's mailing list.
Confirm the subscription from the email AWS sends.
You can also send alerts to chat (Slack or Microsoft Teams through Amazon Q Developer in chat applications), to a paging tool, or to your security tooling.
What is monitored#
Each alarm checks a 5-minute period and sends a message when it goes into alarm and when it recovers.
Alarm | Fires when | What it may mean |
|---|---|---|
| 25 or more application errors | A fault in Sandbox Studio or a dependency. |
| 50 or more denied API requests | Expired sessions, or someone probing the API. |
| Any failure to write to the activity log | Audit records may be missing; investigate promptly. |
| 5 or more clean-up errors | Accounts failing to clean, which may end up quarantined. |
| 100 or more blocked requests in two periods in a row | Users outside the IP allow list, or an attack. |
| 100 or more client errors in two periods in a row | Misbehaving integrations or scanning. |
| 10 or more server errors | The API is failing; users are likely affected. |
Logs#
Application logs: CloudWatch Logs in the hub account, kept for 90 days by default.
AWS WAF logs: every request the web ACL evaluates, in a log group starting
aws-waf-logs-, kept for 365 days.VPC flow logs: network traffic in the VPC the installer created, kept for 365 days.
Activity feed: sign-ins and changes made in the app. See Activity feed in the Administrator Guide.
Sandbox Studio doesn't turn on AWS CloudTrail, Amazon GuardDuty or AWS Security Hub. We recommend enabling them across your organisation.



