Turbot Guardrails Hub 
Hub
  • Mods
  • Policy Packs
  • Docs
  • Home
ModsPolicy PacksDocsHome
Mods
AWS
Loading policies...

Policy: AWS > Turbot > Event Handlers > Events > Rules > Custom Event Patterns > @turbot/aws-ec2 > Excluded Roles

A list of IAM role names whose CloudTrail events will be excluded from the aws.ec2 EventBridge rule generated for this account/region by the AWS > Turbot > Event Handlers stack.

Each role name is matched against detail.userIdentity.sessionContext.sessionIssuer.userName in the event. Events from IAM users and the account root (which have no session issuer) are unaffected, as are events from any role not in this list.

Use this to suppress high-volume, low-value events generated by AWS-managed replication roles - for example the AWS Elastic Disaster Recovery (DRS) and AWS Application Migration Service (MGN) replication roles, which continuously create and delete EBS snapshots that have no compliance value in Guardrails.

Example: - AWSElasticDisasterRecoveryReplicationServerRole - AWSServiceRoleForElasticDisasterRecovery - AWSApplicationMigrationReplicationServerRole

Targets

This policy targets the following resource types:

  • AWS > Region

Primary Policy

This policy is used with the following primary policy:

  • AWS > Turbot > Event Handlers > Events > Rules > Custom Event Patterns > @turbot/aws-ec2

Policy Specification

Schema Type
array
Default
[]

Category

  • Resource > Configured

In Your Workspace

  • Policy Settings by Type report

Developers

    Category URI
    • tmod:@turbot/turbot#/control/categories/configured
  • Policy Type URI
    • tmod:@turbot/aws-ec2#/policy/types/ec2CustomEventPatternsExcludedRoles
  • GraphQL
    • query policyType(id: "tmod:@turbot/aws-ec2#/policy/types/ec2CustomEventPatternsExcludedRoles") { … }
    • query policySettings(filter: "policyTypeId:'tmod:@turbot/aws-ec2#/policy/types/ec2CustomEventPatternsExcludedRoles'") { … }
    • query policyValues(filter: "policyTypeId:'tmod:@turbot/aws-ec2#/policy/types/ec2CustomEventPatternsExcludedRoles'") { … }
  • CLI
    • Get Policy Type
    • turbot graphql policy-type --id "tmod:@turbot/aws-ec2#/policy/types/ec2CustomEventPatternsExcludedRoles"
    • Get Policy Settings
    • turbot graphql policy-settings --filter "policyTypeId:tmod:@turbot/aws-ec2#/policy/types/ec2CustomEventPatternsExcludedRoles"
Guardrails
Guardrails Hub
  • Hub
  • Docs
  • Blog
  • Changelog
Products
  • GuardrailsGuardrails
  • PipesPipes
  • SteampipeSteampipe
  • PowerpipePowerpipe
  • FlowpipeFlowpipe
  • TailpipeTailpipe
Turbot
  • Home
  • About us
  • We're hiring!
  • Contact us
Community

Our community of practitioners love to discuss cloud governance & security.

Slack logoJoin us on Slack →

System StatusLegalSecurity
Terms of UseSecurityPrivacy
181
Mods
521
Resource Types
9,160
Policies
3,575
Controls
1,955
Quick Actions
547
IAM