hkb-detection-target
Instance role of the detection test's short-lived instance. SSM's agent and ec2:DescribeInstances.
- Lives in: Sandbox. Trusted by:
ec2.amazonaws.com. - Boundary:
hkb-workload-boundary. - Reach: 1 named action across 1 service (ec2); 1 statement on all resources.
- Source:
baseline/hkb-baseline-detection-test.yaml, resourceTargetRole.
Trust policy
AssumeRolePolicyDocument:
Version: "2012-10-17"
Statement:
- Effect: Allow
Principal:
Service: ec2.amazonaws.com
Action: sts:AssumeRole
Permissions
ManagedPolicyArns:
- !Sub arn:${AWS::Partition}:iam::aws:policy/AmazonSSMManagedInstanceCore
Policies:
- PolicyName: hkb-detection-target
PolicyDocument:
Version: "2012-10-17"
Statement:
- Sid: TheOneRead
Effect: Allow
Action: ec2:DescribeInstances
Resource: "*"
Page information
- Owner
- Identity and Access
- Status
- current Current: generated from the templates and records in the repository at this build.
- Generated from
baseline/hkb-baseline-detection-test.yaml- Linked from
- Detection test, Access, Roles, Security tooling roles
- Plain markdown
- /wiki/roles/tools/hkb-detection-target/index.md