Skip to main content

geodatas

Creates, updates, deletes, gets or lists a geodatas resource.

Overview

Namegeodatas
TypeResource
Idazure.security_insight.geodatas

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
asnstringThe autonomous system number associated with this IP address.
carrierstringThe name of the carrier for this IP address.
citystringThe city this IP address is located in.
cityConfidenceFactorintegerA numeric rating of confidence that the value in the 'city' field is correct, on a scale of 0-100.
continentstringThe continent this IP address is located on.
countrystringThe county this IP address is located in.
countryConfidenceFactorintegerA numeric rating of confidence that the value in the 'country' field is correct on a scale of 0-100.
ipAddrstringThe dotted-decimal or colon-separated string representation of the IP address.
ipRoutingTypestringA description of the connection type of this IP address.
latitudestringThe latitude of this IP address.
longitudestringThe longitude of this IP address.
organizationstringThe name of the organization for this IP address.
organizationTypestringThe type of the organization for this IP address.
regionstringThe geographic region this IP address is located in.
statestringThe state this IP address is located in.
stateCodestringThe abbreviated name for the state this IP address is located in.
stateConfidenceFactorintegerA numeric rating of confidence that the value in the 'state' field is correct on a scale of 0-100.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_geodata_by_ipselectresource_group_name, workspace_name, enrichment_type, subscription_idGet geodata for a single IP address.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
enrichment_typestringEnrichment type. "main" Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring
workspace_namestringThe name of the workspace. Required.

SELECT examples

Get geodata for a single IP address.

SELECT
asn,
carrier,
city,
cityConfidenceFactor,
continent,
country,
countryConfidenceFactor,
ipAddr,
ipRoutingType,
latitude,
longitude,
organization,
organizationType,
region,
state,
stateCode,
stateConfidenceFactor
FROM azure.security_insight.geodatas
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND workspace_name = '{{ workspace_name }}' -- required
AND enrichment_type = '{{ enrichment_type }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;