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:

  1. Sign in to the AWS console for the hub account and switch to your home region.

  2. Open Amazon SNS > Topics and select {Namespace}-sbs-security-alerts (for example Sandbox-sbs-security-alerts).

  3. Choose Create subscription, pick a protocol (for example Email) and enter the endpoint, such as your team's mailing list.

  4. 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

{Namespace}-sbs-application-errors

25 or more application errors

A fault in Sandbox Studio or a dependency.

{Namespace}-sbs-authorizer-denials

50 or more denied API requests

Expired sessions, or someone probing the API.

{Namespace}-sbs-audit-write-failures

Any failure to write to the activity log

Audit records may be missing; investigate promptly.

{Namespace}-sbs-cleanup-errors

5 or more clean-up errors

Accounts failing to clean, which may end up quarantined.

{Namespace}-sbs-waf-blocked-requests

100 or more blocked requests in two periods in a row

Users outside the IP allow list, or an attack.

{Namespace}-sbs-api-4xx-errors

100 or more client errors in two periods in a row

Misbehaving integrations or scanning.

{Namespace}-sbs-api-5xx-errors

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.