Mondoo Docs

Azure Virtual Network (VNet) gateway

azure.subscription.networkService.virtualNetworkGateway MQL resource for querying Azure infrastructure with cnquery and cnspec.

Azure

Azure Virtual Network (VNet) gateway

Use MQL in cnspec shell or policy:

azure.subscription.networkService.virtualNetworkGateway
Min version: 9.0.0Defaults: id name location

Relationships

Mini Map
Azure
5 resources · 8 relationshipsClick to select, expand fields to see properties.

Fields (28)

FieldTypeDescription
activerequired
intWhether the virtual network gateway is active
addressPrefixesrequired
[]stringA list of address blocks reserved for this virtual network in CIDR notation
bgpSettingsrequired
azure.subscription.networkService.bgpSettingsVNet gateway BGP settings
connectionprivate
azure.subscription.networkService.virtualNetworkGateway.connectionAzure Virtual Network (VNet) gateway connection
connections
[]azure.subscription.networkService.virtualNetworkGateway.connectionApplicable connections for the gateway
disableIPSecReplayProtectionrequired
intWhether IP sec replay protection is disabled for this VNet gateway
enableBgprequired
intWhether BGP is enabled for this virtual network gateway
enableBgpRouteTranslationForNatrequired
intWhether BGP route translation is enabled for this VNet gateway
enableDNSForwardingrequired
intWhether DNS forwarding is enabled for this VNet gateway
enablePrivateIPAddressrequired
intWhether private IP must be enabled for connections
etagrequired
stringVNet gateway etag
gatewayTyperequired
stringVNet gateway type
idrequired
stringVNet gateway ID
inboundDNSForwardingEndpointrequired
stringThe IP address allocated by the gateway to which DNS requests can be sent
ipConfigprivate
azure.subscription.networkService.virtualNetworkGateway.ipConfigAzure Virtual Network (VNet) gateway IP configuration
ipConfigurationsrequired
[]azure.subscription.networkService.virtualNetworkGateway.ipConfigVNet gateway IP configurations
locationrequired
stringVNet gateway location
namerequired
stringVNet gateway name
natRulesrequired
[]azure.subscription.networkService.virtualNetworkGateway.natRuleVNet gateway NAT rules
propertiesrequired
dictVNet gateway properties
provisioningStaterequired
stringVNet gateway provisioning state
skuCapacityrequired
intVNet gateway SKU capacity
skuNamerequired
stringVNet gateway SKU name
tagsrequired
map[string]stringVNet gateway tags
typerequired
stringVNet gateway resource type
vpnClientConfigurationrequired
dictVPN client configuration (only set if P2S is configured for the gateway)
vpnGatewayGenerationrequired
stringVNet gateway generation
vpnTyperequired
stringVNet gateway VPN type