Cross-Account Access via Role Chaining | Dropzone AI Documentation

Enable AWS Cross-Account Access via Role Chaining

Dropzone supports an advanced multi-account access pattern using role chaining. This allows Dropzone to access a large number of AWS accounts by authenticating with a single "Hub" role, which then assumes "Target" roles in your member accounts. This simplifies configuration by reducing the number of explicit credentials needed in Dropzone and enables flexible pattern-based access.

Architecture

The role chaining pattern involves three main components:

Create the Hub Role

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Principal": {
                "AWS": "<Dropzone-provided User ARN>"
            },
            "Action": "sts:AssumeRole",
            "Condition": {
                "StringEquals": {
                    "sts:ExternalId": "<Dropzone-provided External ID>"
                }
            }
        }
    ]
}
{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": "sts:AssumeRole",
            "Resource": "arn:aws:iam::*:role/DropzoneChainTarget"
        }
    ]
}

For the purposes of this documentation, the Target Account roles are named DropzoneChainTarget and the Hub Role is named DropzoneChainHub. This policy allows the Hub role to assume the target roles in your member accounts. You can restrict the resource to specific role names or paths.

Create the Target Roles

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Principal": {
                "AWS": "arn:aws:iam::<MY_HUB_ACCOUNT_ID>:role/DropzoneChainHub"
            },
            "Action": "sts:AssumeRole"
        }
    ]
}

This policy allows the Hub Role to assume the target role. Be sure to replace <MY_HUB_ACCOUNT_ID> with the AWS Account ID where the Hub role resides.

Enable the Dropzone Alert Source

Once done, Dropzone will use the Hub role to discover and assume the Target role in any relevant AWS account during investigations. If you have any errors engage your Dropzone AI support representative.