From 3b83968f8c9dd8d4137726f7c5c96a26b232bdf6 Mon Sep 17 00:00:00 2001 From: pchawla-NR Date: Mon, 19 Aug 2024 20:58:13 +0530 Subject: [PATCH] [NR-304097] AWS-AWS Relationship-File for MSK-Cluster to S3 (#1733) * Changes wrt AWS_AWS relationships for Cloudformation to S3 * Added Relationship for AWS-Cloudfront to AWS-S3 * Added Relationship for AWS-Cloudfront to AWS-S3 * Added Relationship for AWS-Cloudfront to AWS-S3 * Added Relationship File for AWS-MSK Cluster to AWS S3-Bucket --- ...FRA-AWSMSKCLUSTER-to-INFRA-AWSS3BUCKET.yml | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 relationships/synthesis/INFRA-AWSMSKCLUSTER-to-INFRA-AWSS3BUCKET.yml diff --git a/relationships/synthesis/INFRA-AWSMSKCLUSTER-to-INFRA-AWSS3BUCKET.yml b/relationships/synthesis/INFRA-AWSMSKCLUSTER-to-INFRA-AWSS3BUCKET.yml new file mode 100644 index 000000000..672d4fc9d --- /dev/null +++ b/relationships/synthesis/INFRA-AWSMSKCLUSTER-to-INFRA-AWSS3BUCKET.yml @@ -0,0 +1,24 @@ +relationships: + - name: awsMskClusterConsumesAwsS3Bucket + version: "1" + origins: + - AWS Integration + conditions: + - attribute: eventType + anyOf: [ "Metric" ] + - attribute: entity.type + anyOf: [ "AWSMSKCLUSTER" ] + relationship: + expires: P75M + relationshipType: CONSUMES + source: + extractGuid: + attribute: entity.guid + entityType: + value: AWSMSKCLUSTER + target: + lookupGuid: + candidateCategory: AWSS3BUCKET + fields: + - field: bucketName + attribute: aws.msk.loggingBucket