Security & IAM permissions

Outseen connects to your AWS account through one CloudFormation stack you deploy and can delete at any time. This page lists everything it is allowed to do, what data leaves your account, what Outseen keeps, and how to watch it or switch it off.

The template is public: https://outseen-public-cfn.s3.amazonaws.com/onboarding.yaml. The policies below are copied from it.

Outseen's AWS account

Outseen's AWS account ID is 711162121527. Your stack trusts one role in it, arn:aws:iam::711162121527:role/OutseenCustomerAccessRole. Both are fixed in the template, not parameters, and this page is served from outseen.com, so you can check that the account in the template is ours. The stack also sends events to one fixed address, https://app.outseen.com/api/ingest.

What the stack creates

  • OutseenMonitorRole: a read-only IAM role that only Outseen's access role can assume, and only with the External ID made for this AWS account.
  • An EventBridge rule per region that forwards the calls listed below to Outseen over HTTPS, minimized first (see below). Failed calls never leave your account.
  • An EventBridge connection holding this account's ingest key, stored by AWS in your Secrets Manager.
  • A role for EventBridge that can only call events:InvokeApiDestination on that one destination.
  • A dead-letter queue (SQS, encrypted) that keeps any event EventBridge couldn't deliver for 24 hours, for 14 days, in your account.
  • Optionally, security alerts to an email you choose (see Monitoring below).
  • Optionally, a CloudTrail trail that records only write events, and an S3 bucket for its logs (TLS only, versioned, deleted after 30 days by default). Choose it only if the account has no trail: AWS bills a second trail at $2.00 per 100,000 events.

Who can assume the role

Only OutseenCustomerAccessRole, not Outseen's whole account, and only when it presents your External ID. Each AWS account you connect gets its own random External ID, so one customer's ID can't be used against another. Sessions last 15 minutes and are named outseen, so they're easy to find in your CloudTrail.

On Outseen's side, that access role can only assume roles named OutseenMonitorRole, and only with an External ID. The only identity that can use it is the Outseen API, whose own permissions are that and reading AWS list prices.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Principal": { "AWS": "arn:aws:iam::711162121527:role/OutseenCustomerAccessRole" },
      "Action": "sts:AssumeRole",
      "Condition": {
        "StringEquals": { "sts:ExternalId": "<YourExternalId>" }
      }
    }
  ]
}

Default permissions: read-only

No data-plane access: Outseen can't read your databases, buckets, or what runs on your instances. It can't list your buckets, and it can't write tags or change anything. Each permission and what it's for:

PermissionWhat Outseen uses it for
ec2:DescribeImagesPrice the AMI's operating system and licenses (Windows, Red Hat, SUSE, SQL Server).
ec2:DescribeSpotPriceHistoryPrice a Spot launch at the current Spot price.
ec2:DescribeInstancesPrice instances when they are started, and confirm an EC2 resize after an approver asks for a smaller size.
rds:DescribeDBInstancesPrice a database when it is started, and confirm an RDS resize after an approver asks for a smaller size.
rds:DescribeDBClustersPrice a new Aurora instance by its cluster's storage mode and Serverless v2 capacity range.
elasticache:DescribeCacheClustersConfirm an ElastiCache resize after an approver asks for a smaller size.
sagemaker:DescribeEndpointConfigPrice a new SageMaker endpoint by its config's instance types and counts.
cloudtrail:LookupEventsOnce a day, recover launches EventBridge failed to deliver. Optional: AllowMissedEventCheck.
ec2:StopInstances, rds:StopDBInstance, rds:StopDBClusterOnly with EnableAutoQuarantine=true, and only for resources carrying your tag.

AWS doesn't let you limit cloudtrail:LookupEvents to certain events, so it can read your recent CloudTrail event history. Outseen only queries the launch event names your stack forwards (14 with the current template), for the last 25 hours. If you don't want that, deploy with AllowMissedEventCheck=false: undelivered events then stay in your dead-letter queue instead.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "PriceAndConfirmLaunches",
      "Effect": "Allow",
      "Action": [
        "ec2:DescribeImages",
        "ec2:DescribeSpotPriceHistory",
        "ec2:DescribeInstances",
        "rds:DescribeDBInstances",
        "rds:DescribeDBClusters",
        "elasticache:DescribeCacheClusters",
        "sagemaker:DescribeEndpointConfig"
      ],
      "Resource": "*"
    },
    {
      "Sid": "RecoverMissedLaunches",
      "Effect": "Allow",
      "Action": "cloudtrail:LookupEvents",
      "Resource": "*"
    }
  ]
}

Optional: stopping resources (off by default)

This permission exists only if you deploy with EnableAutoQuarantine=true. Outseen can then stop EC2 instances and RDS databases in your account that were rejected or timed out, and AWS only allows it for resources that carry the tag you chose. The default is a dedicated tag, outseen-quarantine-eligible=true; avoid broad tags such as env=dev. Outseen can't write tags, so it can't make a resource stoppable. So:

  • Resources without your tag are never stopped. They're marked rejected, and Outseen emails the approvers and, when it can match them to a teammate, the person who launched it.
  • Nothing is ever terminated or deleted.
  • Stopping ends compute charges, not storage: EBS volumes, Elastic IPs and RDS storage and backups still bill.
  • AWS starts a stopped RDS database again after 7 days. Outseen doesn't stop it a second time.
  • ElastiCache, NAT gateways, load balancers, Redshift, EKS and SageMaker are priced and sent for approval, but never stopped.

Before turning it on, test with one non-critical instance, check that stopping a database fits its backup and recovery plans, and consider a service control policy or permissions boundary that keeps production out of reach.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "StopTaggedResourcesOnly",
      "Effect": "Allow",
      "Action": ["ec2:StopInstances", "rds:StopDBInstance", "rds:StopDBCluster"],
      "Resource": [
        "arn:aws:ec2:*:<YourAccountId>:instance/*",
        "arn:aws:rds:*:<YourAccountId>:db:*",
        "arn:aws:rds:*:<YourAccountId>:cluster:*"
      ],
      "Condition": {
        "StringEquals": { "aws:ResourceTag/<YourTagKey>": "<YourTagValue>" }
      }
    }
  ]
}

Which calls are forwarded

  • Created: RunInstances, CreateVolume, CreateNatGateway, CreateDBInstance, CreateDBCluster, CreateCacheCluster, CreateCluster (Redshift and EKS), CreateNodegroup, CreateNotebookInstance, CreateEndpoint, CreateLoadBalancer, CreateBucket
  • Started again: StartInstances, StartDBInstance
  • Resized: ModifyInstanceAttribute, ModifyDBInstance, ModifyCacheCluster

Only successful calls. Launches by Auto Scaling, EKS node groups and Spot are recorded but not sent for approval, so a scale-out doesn't flood your approvers. Launches through CloudFormation still go to approval, because a person started them.

What data leaves your account, and what Outseen keeps

The stack doesn't forward whole CloudTrail records. An EventBridge input transformer sends only:

  • the account, region, call name, time and event ID, and the template's event-set number (which calls this version of the stack forwards);
  • who made the call: the identity type, IAM user or role ARN (which includes the session name), principal ID, the AWS service that made it on someone's behalf, and the role it came from;
  • the call's request parameters and response.

Never sent: the source IP address, user agent, access key ID, session details such as MFA and sign-in time, TLS details and the request ID.

EventBridge can't trim request parameters differently for each call, so they arrive as CloudTrail recorded them. Outseen discards everything it doesn't use before storing anything. It keeps the fields that price the resource and identify it: instance or database type, image ID, count, storage size and type, Spot or on-demand, Availability Zone, engine, Multi-AZ, whether a public IPv4 address was requested, a load balancer's type, scheme and number of subnets, resource IDs and names, and your tags (tag-scoped policies use them). It doesn't keep subnet IDs, security groups, IP addresses, key pairs, instance profiles, KMS keys, database user names or endpoints.

Outseen uses what it keeps to estimate cost, decide who approves, and show your audit trail. For retention and deletion, see the Privacy Policy.

Keys and missed events

  • Each AWS account has its own ingest key. Outseen stores only a hash of it, and refuses events whose account doesn't match the key.
  • Rotating the key in the dashboard replaces it at once. The old key stops working immediately, so update the stack's IngestKey parameter straight after. Keys don't expire; to revoke one, rotate it or disconnect the account.
  • If Outseen can't be reached, EventBridge keeps retrying for 24 hours, then moves the event to your dead-letter queue. With the missed-event check on, Outseen also looks once a day for launches that never arrived, adds them, and emails your admins that delivery may be broken.

Monitoring and switching Outseen off

Set SecurityAlertEmail and the stack emails you (confirm the subscription first) when:

  • Outseen's role stops an EC2 instance or RDS database;
  • the role, its policies, the EventBridge rule, connection or destination are changed;
  • events fail to reach Outseen, or wait in the dead-letter queue.

To cut Outseen off at once, in this order:

  1. Disable the EventBridge rule (the stack output OutseenRuleArn): no more events leave.
  2. Remove Outseen from the role's trust policy, or delete the role: Outseen can no longer read anything.
  3. Delete the EventBridge connection, which holds the ingest key.
  4. Disconnect the account in the Outseen dashboard, which deletes its key and data.
  5. Review CloudTrail for AssumeRole calls on OutseenMonitorRole and the actions of sessions named outseen.

Reviewing before you deploy

  • Create the stack as a change set and review it. It needs CAPABILITY_NAMED_IAM because it names the role OutseenMonitorRole.
  • Check the parameters yourself. Only the External ID and the ingest key come from Outseen; the account and endpoint are fixed in the template.
  • IAM Access Analyzer will report the role as accessible from outside your account. That's expected: the finding should name only arn:aws:iam::711162121527:role/OutseenCustomerAccessRole.
  • Start in a sandbox account if you like, with stopping off. The same stack works in production unchanged.

Removing Outseen

Delete the CloudFormation stack (or StackSet). Events stop immediately and Outseen can no longer assume the role. The optional trail's log bucket is kept, so audit logs don't disappear with the stack; its lifecycle rule keeps deleting old logs, and you can delete the bucket when you no longer need them. Then disconnect the account in the dashboard to delete its data.

Compliance

Outseen is in private beta and has no SOC 2 or ISO/IEC 27001 report yet. Data processing, sub-processors and retention are in the Privacy Policy; incident notification is in the Terms. We're glad to answer your security questionnaire.

Questions

See the FAQ, or email [email protected]. We're happy to walk your security team through the template.