aws-gd-explicit-get-findings

Principal holds effective IAM permission to retrieve GuardDuty findings details.

explicit aws emits HasPermission

match (effective permission)

{ "action": "guardduty:GetFindings", "resource_arn_pattern": "arn:aws:guardduty:*:*:detector/*", "resource_type": "AWS::GuardDuty::Detector" }

emit

source typeIdentity
target typeSecurityService
source<principal>
target<detector>
permissionsguardduty:GetFindings
conditionsiam_permission

Narrative

{principal.name} holds effective permission to retrieve GuardDuty findings details from {detector.name}.

Raw rule rules/explicit/aws-guardduty.yaml

id: aws-gd-explicit-get-findings
emits: HasPermission
description: Principal holds effective IAM permission to retrieve GuardDuty findings details.
match_effective_permission:
  action: guardduty:GetFindings
  resource_type: AWS::GuardDuty::Detector
  resource_arn_pattern: arn:aws:guardduty:*:*:detector/*
emit:
  source_type: Identity
  target_type: SecurityService
  source: <principal>
  target: <detector>
  permissions:
  - guardduty:GetFindings
  conditions:
  - iam_permission
  narrative: '{principal.name} holds effective permission to retrieve GuardDuty findings details from
    {detector.name}.'
move · open · esc close