Skip to content

Commit

Permalink
NR-305016 - Added relationship synthesis file for kinesis firehose to…
Browse files Browse the repository at this point in the history
… s3 and added new configuration rule for s3 bucket in candidate file (#1739)
  • Loading branch information
nr-ssahoo authored Aug 22, 2024
1 parent 62a7238 commit 5da0594
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
15 changes: 15 additions & 0 deletions relationships/candidates/AWSS3BUCKET.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,18 @@ lookups:
action: CREATE_UNINSTRUMENTED
uninstrumented:
type: AWSS3BUCKET

- entityTypes:
- domain: INFRA
type: AWSS3BUCKET
tags:
matchingMode: ANY
predicates:
- tagKeys: ["aws.Arn"]
field: awsS3arn
onMatch:
onMultipleMatches: RELATE_ALL
onMiss:
action: CREATE_UNINSTRUMENTED
uninstrumented:
type: AWSS3BUCKET
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
relationships:
- name: awsKinesisFireHoseProducesAwsS3Bucket
version: "1"
origins:
- AWS Integration
conditions:
- attribute: eventType
anyOf: [ "Metric" ]
- attribute: entity.type
anyOf: [ "AWS_KINESIS_DELIVERY_STREAM" ]
relationship:
expires: P75M
relationshipType: PRODUCES
source:
extractGuid:
attribute: entity.guid
entityType:
value: AWS_KINESIS_DELIVERY_STREAM
target:
lookupGuid:
candidateCategory: AWSS3BUCKET
fields:
- field: awsS3arn
attribute: aws.firehose.s3DestinationBucket

0 comments on commit 5da0594

Please sign in to comment.