Skip to content

DatadogStreamStackSetExecutionRole has unrestricted role assumption #134

Description

@cnclickup

Expected Behavior

IAM Roles created by CloudFormation should be bound by resource or conditional statements.

Actual Behavior

StackSet creates an IAM role (DatadogStreamStackSetExecutionRole) which grants it unrestricted access to assume any role within the AWS account (essentially granting administrator privileges, and making all of the other IAM grants irrelevant):

- Effect: Allow
Action:
- iam:GetRole
- iam:PassRole
Resource: "*"

Please update this template to add a condition to the CloudFormation so that the StackSet can only assume the specific roles it needs to perform the updates required.

Steps to Reproduce the Problem

  1. Implement AWS monitoring via CloudFormation Stackset

Specifications

  • Datadog CloudFormation template version:

Stacktrace

Paste here

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions