From 57cd2c04a12d3785c973ee8650e7a7f4072f4168 Mon Sep 17 00:00:00 2001 From: vinay konatala Date: Mon, 9 Dec 2024 15:58:46 +0530 Subject: [PATCH 1/5] feat: Adding candidate and relationship btw apm and kinesis delivery stream (#1783) * feat: Added kiness delivery stream * feat: Added relationship condition * fix: Added apm kinesis relation file * fix:Removed apm relation file * fix: Add new condition * feat: created apm to kinesis delivery stream realationship * fix:Removed Otel related relationship file * Updated the cloud platform attribute --------- Co-authored-by: nr-cmorenoin --- ...CATION-to-INFRA-KINESSISDELIVERYSTREAM.yml | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 relationships/synthesis/APM-APPLICATION-to-INFRA-KINESSISDELIVERYSTREAM.yml diff --git a/relationships/synthesis/APM-APPLICATION-to-INFRA-KINESSISDELIVERYSTREAM.yml b/relationships/synthesis/APM-APPLICATION-to-INFRA-KINESSISDELIVERYSTREAM.yml new file mode 100644 index 000000000..c7ac946f4 --- /dev/null +++ b/relationships/synthesis/APM-APPLICATION-to-INFRA-KINESSISDELIVERYSTREAM.yml @@ -0,0 +1,24 @@ +relationships: + - name: apmCallsInfraKinesisDeliveryStream + version: "1" + origins: + - Distributed Tracing + conditions: + - attribute: eventType + anyOf: [ "Span" ] + - attribute: cloud.platform + anyOf: [ "aws_kinesis_delivery_streams" ] + - attribute: cloud.resource_id + regex: "^arn:aws:firehose:([^:]*):([^:]*):deliverystream\/([^:]*)" + relationship: + expires: P75M + relationshipType: CALLS + source: + extractGuid: + attribute: entity.guid + target: + lookupGuid: + candidateCategory: AWSKINESISDELIVERYSTREAM + fields: + - field: cloudResourceId + attribute: cloud.resource_id \ No newline at end of file From 5ead222e755ea73eb5e64a83dd6aa165ad717576 Mon Sep 17 00:00:00 2001 From: dinesh-newrelic Date: Mon, 9 Dec 2024 18:51:12 +0530 Subject: [PATCH 2/5] Entity definitions for Github Config entity (#1805) * add github entity def --- entity-types/ngep-git_hub_integration/definition.yml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 entity-types/ngep-git_hub_integration/definition.yml diff --git a/entity-types/ngep-git_hub_integration/definition.yml b/entity-types/ngep-git_hub_integration/definition.yml new file mode 100644 index 000000000..dd92f7560 --- /dev/null +++ b/entity-types/ngep-git_hub_integration/definition.yml @@ -0,0 +1,6 @@ +domain: NGEP +type: GIT_HUB_INTEGRATION + +configuration: + entityExpirationTime: MANUAL + alertable: false \ No newline at end of file From 0c1bff534e5c9d3cd8fd6fc59128e0ca4e864da1 Mon Sep 17 00:00:00 2001 From: Adrian Date: Mon, 9 Dec 2024 14:53:44 +0100 Subject: [PATCH 3/5] Update APM-APPLICATION-to-INFRA-KINESISSTREAM.yml (#1799) Co-authored-by: nr-cmorenoin --- .../synthesis/APM-APPLICATION-to-INFRA-KINESISSTREAM.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/relationships/synthesis/APM-APPLICATION-to-INFRA-KINESISSTREAM.yml b/relationships/synthesis/APM-APPLICATION-to-INFRA-KINESISSTREAM.yml index a7e291d4e..09741c13d 100644 --- a/relationships/synthesis/APM-APPLICATION-to-INFRA-KINESISSTREAM.yml +++ b/relationships/synthesis/APM-APPLICATION-to-INFRA-KINESISSTREAM.yml @@ -9,7 +9,7 @@ relationships: - attribute: cloud.platform anyOf: [ "aws_kinesis_data_streams"] - attribute: cloud.resource_id - regex: "^arn:aws:kinesis:([^:]*):([^:]*):stream\/([^:]*)" + regex: "^arn:aws:kinesis:([^:]*):([^:]*):stream/([^:]*)" relationship: expires: P75M relationshipType: CALLS @@ -21,4 +21,4 @@ relationships: candidateCategory: AWSKINESISSTREAM fields: - field: cloudResourceId - attribute: cloud.resource_id \ No newline at end of file + attribute: cloud.resource_id From 3eb0339691cfc8b959db6c51ac9c9002444124f8 Mon Sep 17 00:00:00 2001 From: Ferran Altimiras Date: Mon, 9 Dec 2024 16:20:14 +0100 Subject: [PATCH 4/5] pipeline cloud rule entity (#1808) --- entity-types/ngep-pipeline_cloud_rule/definition.yml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 entity-types/ngep-pipeline_cloud_rule/definition.yml diff --git a/entity-types/ngep-pipeline_cloud_rule/definition.yml b/entity-types/ngep-pipeline_cloud_rule/definition.yml new file mode 100644 index 000000000..c270ffc61 --- /dev/null +++ b/entity-types/ngep-pipeline_cloud_rule/definition.yml @@ -0,0 +1,6 @@ +domain: NGEP +type: PIPELINE_CLOUD_RULE + +configuration: + entityExpirationTime: MANUAL + alertable: false From 9994ec0815bc0b53c45da9f48844d2c6da0328b7 Mon Sep 17 00:00:00 2001 From: Anish Malhotra Date: Mon, 9 Dec 2024 13:31:16 -0500 Subject: [PATCH 5/5] Create definition for NGEP SecurityFinding (#1809) Create definition for new NGEP entity type 'SECURITY_FINDING' --- entity-types/ngep-security_finding/definition.yml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 entity-types/ngep-security_finding/definition.yml diff --git a/entity-types/ngep-security_finding/definition.yml b/entity-types/ngep-security_finding/definition.yml new file mode 100644 index 000000000..fd56d6495 --- /dev/null +++ b/entity-types/ngep-security_finding/definition.yml @@ -0,0 +1,6 @@ +domain: NGEP +type: SECURITY_FINDING + +configuration: + entityExpirationTime: MANUAL + alertable: false