AWS sub account pattern-based discovery
Discovery and Service Mapping Patterns finds member accounts and the primary account within an AWS Organization. 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 AWS discovery prerequisites section in AWS discovery using patterns.
Data collected by Discovery during horizontal discovery
Discovery populates the data in the CMDB when running the Amazon AWS sub account discovery pattern.
| Field | Description |
|---|---|
| Account Id [account_id] | The unique identifier (ID) of the AWS account. |
| Name [name] | Name assigned to the account. |
| Datacenter Type [datacenter_type] | Type of datacenter. The value is set to AWS Datacenter [cmdb_ci_aws_datacenter]. |
| Datacenter URL [datacenter_url] | The URL of the AWS datacenter. |
| Object ID [object_id] | The unique ID of the AWS account. |
| Is management account [is_master_account] | Indicates whether this account is the management (primary) account of the organization.
|
| Discovery credentials [discovery_credentials] | AWS credential from the Credentials [discovery_credentials] table. |
| Parent account [parent_account] | References the Cloud Service Account [cmdb_ci_cloud_service_account] table (management account). |
CI relationships
The Amazon AWS sub account discovery pattern creates these relationships to support AWS sub account discovery.
| CI | Relationship | CI |
|---|---|---|
| Cloud Service Account [cmdb_ci_cloud_service_account] (management account) | Members::Member of | Cloud Service Account [cmdb_ci_cloud_service_account] (member account) |
| Cloud Service Account [cmdb_ci_cloud_service_account] (member account) | References | Cloud Service Account [cmdb_ci_cloud_service_account] (management account) |
| Key Value [cmdb_key_value] | References | Cloud Service Account [cmdb_ci_cloud_service_account] (member account) |
AWS tag discovery
The Amazon AWS sub account discovery pattern collects tags and populates them in the Key Value [cmdb_key_value] table.
| Field | Description |
|---|---|
| Key [key] | Tag name. |
| Value [value] | Tag value. |
| Configuration item [configuration_item] | References the Cloud Service Account [cmdb_ci_cloud_service_account] table (member account). |