Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions entity-types/infra-azurevirtualnetworks/definition.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,19 @@ synthesis:
conditions:
- attribute: azure.resourceType
value: microsoft.network/virtualnetworks
- ruleName: infra_azurevirtualnetworks_azure_resourceId_log
identifier: targetResourceID
name: virtualNetworkName
legacyFeatures:
overrideGuidType: true
encodeIdentifierInGUID: true
conditions:
- attribute: eventType
value: Log
- attribute: instrumentation.name
value: vnet-app
- attribute: targetResourceType
value: virtualnetworks

ownership:
primaryOwner:
Expand Down
22 changes: 22 additions & 0 deletions entity-types/infra-azurevirtualnetworkssubnet/definition.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,28 @@ type: AZUREVIRTUALNETWORKSSUBNET
configuration:
entityExpirationTime: DAILY
alertable: true
synthesis:
tags:
newrelic.cloudIntegrations.providerAccountName:
entityTagNames: [newrelic.cloudIntegrations.providerAccountName, providerAccountName]
rules:
- ruleName: infra_azurevirtualnetworkssubnet_azure_resourceId_log
identifier: targetResourceID
compositeName:
fragments:
- attribute: virtualNetworkName
- value: "/"
- attribute: subnetName
legacyFeatures:
overrideGuidType: true
encodeIdentifierInGUID: true
conditions:
- attribute: eventType
value: Log
- attribute: instrumentation.name
value: vnet-app
- attribute: targetResourceType
value: virtualnetworks/subnets

ownership:
primaryOwner:
Expand Down
Loading