Azure Compute Snapshot pattern-based discovery
Summarize
Summary of Azure Compute Snapshot pattern-based discovery
The Azure Compute Snapshot pattern-based discovery in ServiceNow enables automated detection and inventory of Azure compute snapshot resources within your cloud environment. This discovery populates detailed data into both CMDB and non-CMDB tables, helping you maintain an accurate and up-to-date configuration management database of your Azure assets.
Show less
Key Features
- Pattern Activation: The Azure Compute Snapshot pattern is disabled by default. Starting with Visibility Content version 6.28.0, activating or deactivating patterns no longer counts as customization, and patterns will reset to the latest version upon upgrade while preserving activation status.
- Azure GovCloud Support: To discover Azure GovCloud (US) resources, configure the discovery schedule using the appropriate datacenter URL and set up Azure service accounts accordingly.
- Data Population: The discovery populates:
- Non-CMDB tables: Including detailed Azure compute snapshot attributes like disk state, encryption type, provisioning state, OS type, network access policies, SKU tier, subscription and tenant IDs.
- CMDB tables: Specifically, the Storage Volume Snapshot table records capacity, install status, operational status, location, and unique object IDs.
- CI Relationships: The pattern establishes critical relationships between compute snapshots, storage volume snapshots, resource groups, and Azure datacenters to reflect accurate resource dependencies.
- Tag Collection: Azure resource tags are discovered and stored in the Key Value table, facilitating enhanced filtering and organization of configuration items.
Practical Application for ServiceNow Customers
By enabling this pattern-based discovery, ServiceNow customers gain comprehensive visibility into their Azure compute snapshot resources, including detailed configuration and status information. This supports improved asset management, compliance, and operational insight within the ServiceNow CMDB. To implement, ensure Microsoft Azure discovery prerequisites are met, activate the Azure Compute Snapshot pattern, and configure discovery schedules appropriately for your Azure environment, including GovCloud if applicable.
Discovery and Service Mapping Patterns finds Azure services on your cloud environment. Discovering some of these resources may require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.
Pattern-based discovery and mapping requirements
- Verify the Microsoft Azure discovery prerequisites
- For more information, see the prerequisites section in Microsoft Azure Cloud components discovery using patterns.
- Enable the relevant pattern
- The pattern for this service is disabled by default. Starting with Visibility Content version 6.28.0, activating or deactivating a pattern won't be considered a customization, and it will continue to receive updates. Patterns that were previously activated or deactivated will reset to the latest predefined version after upgrading while retaining the last active field value. For more information on enabling patterns, see Activate a disabled pattern.
- Configure the Discovery schedule to support GovCloud
- Discovering Azure GovCloud (US) accounts requires using a datacenter URL when setting up an Azure service account. For more information, see Set up Azure service accounts.
Discovery and Service Mapping Patterns application populates data in both CMDB and non-CMDB tables.
Data stored in non-CMDB tables
Discovery and Service Mapping Patterns application populates data in the non-CMDB table when running the Azure - Compute Snapshot - Extended Inventory(LP) pattern.
You can review the non-CMDB Azure tables by navigating to . You can also search the navigation filter for the specific pattern name.
| Field | Description |
|---|---|
| Disk State [disk_state] | The current state of the disk. For example: Attached or Unattached. |
| Encryption Type [encryption_type] | The encryption mechanism applied to the resource data. For example: EncryptionAtRestWithCustomerKey or EncryptionAtRestWithPlatformKey. |
| DC Location [location] | The geographic location where the resource is deployed. |
| Network Access Policy [network_access_policy] | The policy that governs network access to the resource. |
| Object Id [object_id] | A unique identifier for the queried resource. |
| OS Type [os_type] | The type of operating system associated with the resource. |
| Provisioning State [provisioning_state] | Current provisioning state of the resource. For example: Succeeded or Failed. |
| Public Network Access [public_network_access] | Indicates whether the resource can be accessed via the public network. |
| Resource Group [resource_group] | Name of the resource group. |
| SKU Tier [sku_tier] | The tier of the stock keeping unit (SKU) that determines resource performance and costs. |
| Subscription Id [subscription_id] | The subscription ID. |
| Tenant Id [tenant_id] | The unique identifier of the tenant owning the resource. |
| Type [type] | The type or category of the resource. |
| Configuration Item [configuration_item] | References the Storage Volume Snapshot [cmdb_ci_storage_vol_snapshot] table. |
Data stored in CMDB tables
Discovery and Service Mapping Patterns application populates data in the CMDB when running the Azure - Compute Snapshot - Extended Inventory(LP) pattern.
| Field | Description |
|---|---|
| Capacity [capacity] | The size of the disk in terms of storage capacity. |
| Install Status [install_status] | Install status of the resource. Default value is Installed. |
| Location [location] | The geographic location where the resource is deployed. |
| Name [name] | The name of the resource. |
| Object ID [object_id] | A unique identifier for the queried resource in the following format: /subscriptions/{subscriptionId}/resourceGroups/{resouceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}. |
| Operational status [operational_status] | Operational status of the resource. Default value is Operational. |
| State [state] | The current state of the disk. For example: Attached or Unattached. |
CI relationships
The pattern creates these relationships to support discovery.
| CI | Relationship | CI |
|---|---|---|
| Resource Group [cmdb_ci_resource_group] | Contains::Contained by | Storage Volume Snapshot [cmdb_ci_storage_vol_snapshot] |
| Storage Volume Snapshot [cmdb_ci_storage_vol_snapshot] | Hosted on::Hosts | Azure Datacenter [cmdb_ci_azure_datacenter] |
| Azure Compute - Snapshot [cmdb_azure_compute_snapshot] | References | Storage Volume Snapshot [cmdb_ci_storage_vol_snapshot] |
Azure tag discovery
| Field | Description |
|---|---|
| Key [key] | Tag name. |
| Value [value] | Tag value. |