From 9a597345e743f41203159a6e16a0d3471a48e200 Mon Sep 17 00:00:00 2001 From: jsubirat Date: Mon, 16 Dec 2024 11:52:32 +0100 Subject: [PATCH] fix: Fixes AWSSQSQUEUE synthesis rules (#1823) --- entity-types/infra-awssqsqueue/definition.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/entity-types/infra-awssqsqueue/definition.yml b/entity-types/infra-awssqsqueue/definition.yml index bd8e05609..388dfd6c5 100644 --- a/entity-types/infra-awssqsqueue/definition.yml +++ b/entity-types/infra-awssqsqueue/definition.yml @@ -16,8 +16,10 @@ synthesis: name: aws.sqs.QueueName encodeIdentifierInGUID: false conditions: - - attribute: eventType - prefix: Log + - attribute: eventSource + value: sqs.amazonaws.com + - attribute: eventName + present: true - attribute: aws.Arn present: true - attribute: aws.sqs.QueueName @@ -40,8 +42,10 @@ synthesis: name: aws.sqs.QueueName encodeIdentifierInGUID: true conditions: - - attribute: eventType - prefix: Log + - attribute: eventSource + value: sqs.amazonaws.com + - attribute: eventName + present: true - attribute: aws.Arn present: true - attribute: aws.sqs.QueueName