From 5298e9d5606fbdb31ad2224da11bc535c97ffd99 Mon Sep 17 00:00:00 2001 From: Josep Subirats Castell Date: Mon, 16 Dec 2024 10:41:12 +0100 Subject: [PATCH] fix: Fixes AWSSQSQUEUE synthesis rules --- 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