Skip to content

Commit dcad3e7

Browse files
nr-siranjeeviclaude
andcommitted
feat(azure): add AZUREVIRTUALNETWORKS candidate relationship for cross-subscription resolution (NR-582475, NR-584562)
Adds a candidate relationship definition so the Entity Platform can resolve Azure VNet targets across subscriptions and across NR accounts natively, using the tag `azure.resourceId` that AZUREVIRTUALNETWORKS entities already carry. Files: - relationships/candidates/AZUREVIRTUALNETWORKS.yml Lookup on the `azure.resourceId` tag. `onMiss: CREATE_UNINSTRUMENTED` produces an `UNINSTRUMENTED-AZUREVIRTUALNETWORKS` placeholder when the target subscription is not yet integrated / scanned; the platform auto-swaps to the real `INFRA-AZUREVIRTUALNETWORKS` entity when it later appears. - entity-types/uninstrumented-azurevirtualnetworks/definition.yml Required by the CREATE_UNINSTRUMENTED action. Owned by CMP. Producer: azure-configuration-fetcher will emit CandidateRelationship messages against this category behind a per-NR-account feature flag that defaults to off. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 859cd94 commit dcad3e7

2 files changed

Lines changed: 30 additions & 0 deletions

File tree

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
domain: UNINSTRUMENTED
2+
type: AZUREVIRTUALNETWORKS
3+
4+
configuration:
5+
entityExpirationTime: DAILY
6+
alertable: false
7+
8+
synthesis:
9+
# Uninstrumented can't use synthesis
10+
disabled: true
11+
12+
ownership:
13+
primaryOwner:
14+
teamName: "Cloud Monitoring Platform"
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
category: AZUREVIRTUALNETWORKS
2+
lookups:
3+
- entityTypes:
4+
- domain: INFRA
5+
type: AZUREVIRTUALNETWORKS
6+
tags:
7+
matchingMode: ALL
8+
predicates:
9+
- tagKeys: ["azure.resourceId"]
10+
field: azureResourceId
11+
onMatch:
12+
onMultipleMatches: RELATE_ALL
13+
onMiss:
14+
action: CREATE_UNINSTRUMENTED
15+
uninstrumented:
16+
type: AZUREVIRTUALNETWORKS

0 commit comments

Comments
 (0)