EventRule
Rule mapping events -> targets (trigger creator).
class: Messaging
Realizing resources
gcp gcp
| resource | scope | enumerate | required permissions |
|---|---|---|---|
gcp:eventarc:trigger |
regional | eventarc.projects.locations.triggers.list |
eventarc.triggers.list |
As edge source
As edge target
Exposure sites
aws-accessanalyzer-finding-details-metadataaws-appflow-flow-data-destinationaws-athena-query-result-rowsaws-backup-recovery-point-restored-contentaws-bedrock-runtime-prompt-response-payloadaws-cloudfront-key-value-store-valueaws-cloudtrail-event-data-store-query-resultsaws-cloudtrail-event-request-response-payload
Rules that touch EventRule 26
pipes:CreatePipe + iam:PassRole lets a principal create an EventBridge Pipe with a chosen target and execution role - a persistent source-to-target data flow.
aws
CanSchedulepipes:UpdatePipe lets a principal change an existing Pipe's target, enrichment, source filter, or execution role - re-routing or re-escalating persistent data flow.
events:PutRule + events:PutTargets on a bus lets a principal create/modify rules and set invocation targets and roles - a rule-based persistence and trigger creation primitive.
aws
CanScheduleAn EventBridge rule assumes its invocation RoleArn (via events.amazonaws.com) to call targets that require IAM authorization; code running as that rule effectively runs as the invocation role.
aws
ExecutesAsA firing EventBridge rule invokes its configured target (Lambda, Step Functions, ECS, SQS, another bus, etc.) with the event payload.
aws
CanTriggerCreating or updating an EventBridge rule that targets a Step Functions state machine is persistence: it fires on a schedule/event pattern, starting executions without further attacker action.
aws
CanScheduleAn EventBridge rule with a Step Functions state machine as its target can start an execution when the rule matches; the EventBridge source is the event source, the state machine is the consumer.
aws
CanTriggersns:Subscribe lets an attacker create a new subscription (EventRule binding) on the topic, routing future publishes to a chosen Lambda or SQS endpoint.
aws
CanScheduleA confirmed active SNS subscription binds the topic to its consumer; every Publish invokes the consumer with the message payload.
aws
CanTriggerA principal with read access to an Event Grid subscription's dead-letter destination (Storage blob container) can read all failed/expired event payloads, including any credential material they contain.
azure
CanReadDataAn active Event Grid event subscription binds a topic to a Compute consumer (Azure Function, Logic App, webhook); this is the CanTrigger fact consumed by messaging-chains rule 1.
azure
CanTriggereventarc.triggers.create lets an attacker bind any reachable event source to any destination consumer as an Eventarc trigger - the event-source-binding creation primitive (Phase-10 CanSchedule).
gcp
CanScheduleCreate a new Eventarc trigger binding an event source to a destination consumer, then publish an event (or wait for a natural event) to run the consumer as its runtime SA. Provides the Eventarc-specific framing of messaging-chains rule 2.
gcp
CanExecuteAsUpdate an existing Eventarc trigger's destination to point at attacker-controlled or higher-privilege compute, then wait for a natural event to fire, gaining execution as the new destination's runtime SA.
gcp
CanExecuteAsAn Eventarc trigger uses its serviceAccount field as the delivery identity when calling the destination endpoint.
gcp
ExecutesAsThe Eventarc-managed Pub/Sub transport topic backs the trigger's event delivery - connects Topic node to EventRule node for the two-hop chain.
gcp
CanTriggerAn Eventarc trigger has an IAM allow policy governing who may manage it.
gcp
HasPolicyLive Eventarc trigger (state=ACTIVE) routes events to a Cloud Run service destination.
gcp
CanTriggerLive Eventarc trigger (state=ACTIVE) routes events to a Cloud Function destination.
gcp
CanTriggerLive Eventarc trigger (state=ACTIVE) routes events to a GKE service endpoint.
gcp
CanTriggerLive Eventarc trigger (state=ACTIVE) routes events to a GCP Workflow destination.
gcp
CanTriggerA live Eventarc trigger (state=ACTIVE) routes events from its source to the destination consumer - the event-source-binding fact feeding messaging-chains rules 1 and 2.
gcp
CanTriggereventarc.triggers.update can redirect an existing trigger's destination, swap the trigger SA, or widen event filters - hijacking a live event stream to an attacker-chosen consumer or re-activating a previously-filtered trigger path.
eventarc.triggers.create/update lets an attacker bind a new event source (Pub/Sub topic, Audit Log, GCS event) to the workflow - the event-source-binding creation primitive.
gcp
CanScheduleCreating a schedule/rule that invokes a target as a passed execution identity is persistence and yields execution as that identity.