Limit AWS discovery to datacenters with resources

task australia Updated Sep 10, 2026 2 min read limit-aws-discovery-active-datacenter.md
Raw file servicenow.com

Optimize AWS discovery by limiting it to datacenters with resources.

Before you begin

  • Verify that you have installed Discovery and Service Mapping Patterns, starting with version 1.29.0.

  • Verify that your service account has the following IAM permissions to access the Resource Explorer API (starting with Discovery and Service Mapping Patterns version 1.35.1).

    IAM permission Coverage
    resource-explorer-2:Search Partial
    resource-explorer-2:Search + iam:CreateServiceLinkedRole Full

    For more information, go to the AWS Documentation and search for the "Getting started with Resource Explorer" article.

Note: Discovery and Service Mapping Patterns versions 1.29.0 through 1.32.0 used the AWS Config service instead of the Resource Explorer API to determine datacenter activity. For instructions on configuring AWS Config recorder, go to the AWS Documentation and search for the "Recording resources in the AWS Config console" article.

Role required: discovery_admin

About this task

Starting with version 1.29.0, Discovery and Service Mapping Patterns introduces a new AWS datacenter discovery model that focuses discovery on datacenters with resources and excludes datacenters that don't contain resource. To limit discovery to datacenters that contain resources, set the mid.cloud.discovery.sonar.discover_all_aws_datacenters MID Server property to false. For more information, see AWS discovery using patterns.

Procedure

  1. Navigate to All > MID Server > Properties.

  2. In the Name column, search for the mid.cloud.discovery.sonar.discover_all_aws_datacenters property.

  3. Select the mid.cloud.discovery.sonar.discover_all_aws_datacenters property.

  4. In the Value field, enter false.

  5. Select Update.

What to do next

To exclude specific resource types from AWS datacenter discovery, configure the sn_itom_pattern.discovery.aws.ldc.excluded_resource_types system property with a comma-separated list of resource types to exclude (starting with Discovery and Service Mapping Patterns version 1.35.1). For more information, see Exclude AWS resource types from datacenter discovery.

Parent Topic:AWS discovery using patterns

Related topics

AWS discovery using patterns

Exclude AWS resource types from datacenter discovery

Search documentation
Search document titles and file paths on the australia branch