---
sourceDocument: Australia IT Operations Management
sourceDocumentLink: https://www.servicenow.com/docs/r/australia/it-operations-management

 Release :

    - australia

ft:locale :

    - en-US

ft:publication_title :

    - Australia IT Operations Management

ft:clusterId :

    - itom

bundleId :

    - itom

workflow :

    - Technology


---

# AWS IAM Policy

# AWS IAM Policy pattern-based discovery {#ariaid-title1}

Release version: Australia  
Updated May 13, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of AWS IAM Policy pattern-based discovery

The AWS IAM Policy pattern-based discovery enables ServiceNow customers to identify and map AWS IAM Policies within their cloud environments using the Discovery and Service Mapping Patterns application.
This process requires certain prerequisites and configuration steps to ensure accurate and up-to-date discovery of IAM policies.
Show full answer Show less  

## Prerequisites and Configuration

* **Update Discovery and Service Mapping Patterns:** Ensure you have the latest version of the Discovery and Service Mapping Patterns application installed from the ServiceNow Store.
* **Verify AWS Discovery Prerequisites:** Follow the requirements specified in the AWS discovery using patterns documentation.
* **Manage Resource Inclusion List:** Confirm the relevant AWS IAM Policy resources are not listed in the Resource Inclusion List table (*sacloudinventoryresourcewhitelist*) to prevent duplicate discoveries.
* **Enable the IAM Policy Pattern:** The pattern for AWS IAM Policy discovery is disabled by default. Starting with Visibility Content version 6.28.0, enabling or disabling patterns is treated as a non-customization, allowing ongoing updates. After upgrades, patterns reset to the latest predefined version while retaining the last active status.

## Discovered Data Storage

The discovery process populates data in both CMDB and non-CMDB tables:

* **Non-CMDB Tables:** When running the *Amazon AWS - IAM Policy - Extended Inventory (LP)* pattern, data is stored in non-CMDB AWS-specific tables accessible via ServiceNow's configuration navigation. Key fields include:
  * **Name:** IAM policy name
  * **Object ID:** Amazon Resource Name (ARN) of the IAM policy
  * **Policy ID:** Unique identifier for the policy
  * **Is Customer Managed:** Indicates if the policy is customer-managed or AWS-managed
  * **Configuration Item:** Reference to the Cloud Resource table
* **CMDB Tables:** The same pattern also populates data in the CMDB Cloud Resource table with fields such as name, ARN, resource type (set to *AWS::IAM::Policy*), install status, and operational status.

## CI Relationships and References

The discovery creates relationships to support comprehensive mapping:

* **CI Relationships:** The Cloud Resource record is linked to a Cloud Service Account through a "Hosted on::Hosts" relationship.
* **CI References:** The AWS IAM Policy record references the Cloud Resource, and Key Value records (for tags) reference the Cloud Resource as well.

## AWS Tag Discovery

The pattern collects AWS tags associated with IAM policies and stores them in the Key Value \[cmdbkeyvalue\] table, including tag name, value, and associated configuration item reference. This allows enhanced visibility and categorization of IAM policies within the CMDB.  
Discovery and Service Mapping Patterns finds AWS IAM Policies on your cloud environment. Discovering some of these resources might require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.

## Pattern-based discovery and mapping requirements {#aws-iam-policy__section_rpj_fj2_bgc}

Verify the AWS discovery prerequisites
:   For more information, see the prerequisites section in [AWS discovery using patterns](https://www.servicenow.com/docs/NFaTlkGaSxMWb2bQPsCnCA "Discovery and Service Mapping Patterns uses patterns to discover components of the Amazon AWS Cloud deployment during horizontal discovery. Discovering some of these resources might require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.").

Remove resources from the Resource Inclusion List table
:   Verify that the relevant resource isn't listed in the Resource Inclusion List \[sa_cloud_inventory_resource_whitelist\] table to avoid duplicate discovery. For more information on removing resources from the Resource
    Inclusion List, see [AWS Resource Inventory discovery with Patterns](https://www.servicenow.com/docs/0pDNq0441mpy~sExfQvvqA "The ServiceNow Discovery and Service Mapping applications can find and map the AWS resources available by AWS Config Service. Discovering some of these resources might require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.").

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](https://www.servicenow.com/docs/aypCYVQdO8oFebLMLEI89g "If you want to use a pattern for discovery that's disabled by default, activate it manually.").{#aws-iam-policy__activating-disabled-pattern-not-customization}
Discovery and Service Mapping Patterns application populates data in both CMDB and non-CMDB tables.

## Data stored in non-CMDB tables {#aws-iam-policy__section_aq4_qkq_hfc}

Discovery and Service Mapping Patterns application populates data in the non-CMDB table when running the Amazon AWS - IAM Policy - Extended Inventory (LP) pattern.

You can review the non-CMDB
AWS tables by navigating to AllConfigurationAWS. You can also search the navigation filter for the specific pattern name.  
{#aws-iam-policy__table_non_cmdb__entry__2}

| Field | Description |
|-|-|
| Name \[name\] | Name of the IAM policy. |
| Object ID \[object_id\] | The Amazon Resource Name (ARN) of the IAM policy. |
| Policy ID \[policy_id\] | The stable and unique string identifying the policy. |
| Is Customer Managed \[is_customer_managed\] | Indicates whether the policy is customer-managed. * Policies managed by customers: the value is true * Policies managed by AWS: the value is false {#aws-iam-policy__ul_hx4_pwg_gjc} |
| Configuration Item \[configuration_item\] | References the Cloud Resource \[cmdb_ci_cmp_resource\] table. |
[Table 1. AWS IAM Policy \[cmdb_aws_iam_policy\]]

{#aws-iam-policy__table_non_cmdb}

## Data stored in CMDB tables {#aws-iam-policy__section_ggp_ql2_bgc}

Discovery and Service Mapping Patterns application populates data in the CMDB when running the Amazon AWS - IAM Policy - Extended Inventory (LP) pattern.  
{#aws-iam-policy__table_cmdb__entry__2}

| Field | Description |
|-|-|
| Name \[name\] | Name of the IAM policy. |
| Object ID \[object_id\] | The ARN of the IAM policy. |
| Resource type \[resource_type\] | Type of resource. The value is set to AWS::IAM::Policy. |
| Install Status \[install_status\] | Install status of the resource. Default value is Installed. |
| Operational status \[operational_status\] | Operational status of the resource. Default value is Operational. |
[Table 2. Cloud Resource \[cmdb_ci_cmp_resource\]]

{#aws-iam-policy__table_cmdb}

## CI relationships {#aws-iam-policy__section_dc4_ghc_dgc}

The Amazon AWS - IAM Policy - Extended Inventory (LP) pattern creates the following relationships and references to support AWS IAM Policy discovery. References link to records in other tables and don't appear in the CI Relationship \[cmdb_rel_ci\] table.  
{#aws-iam-policy__table_relationships__entry__3}

| CI | Relationship | CI |
|-|-|-|
| Cloud Resource \[cmdb_ci_cmp_resource\] | Hosted on::Hosts | Cloud Service Account \[cmdb_ci_cloud_service_account\] |
[Table 3. CI relationships]

{#aws-iam-policy__table_relationships}  
{#aws-iam-policy__table_ci_references__entry__3}

| CI | Field | Referenced CI |
|-|-|-|
| AWS IAM Policy \[cmdb_aws_iam_policy\] | Configuration Item \[configuration_item\] | Cloud Resource \[cmdb_ci_cmp_resource\] |
| Key Value \[cmdb_key_value\] | Configuration item \[configuration_item\] | Cloud Resource \[cmdb_ci_cmp_resource\] |
[Table 4. CI references]

{#aws-iam-policy__table_ci_references}

## AWS Tag discovery {#aws-iam-policy__section_lyw_zhc_dgc}

The Amazon AWS - IAM Policy - Extended Inventory (LP) pattern collects tags and populates them in the Key Value \[cmdb_key_value\] table.  
{#aws-iam-policy__table_ojy_vss_5hc__entry__2}

| Field | Description |
|-|-|
| Key \[key\] | Tag name. |
| Value \[value\] | Tag value. |
| Configuration item \[configuration_item\] | References the Cloud Resource \[cmdb_ci_cmp_resource\] table. |
[Table 5. Key Value \[cmdb_key_value\]]

{#aws-iam-policy__table_ojy_vss_5hc}

*[\>]: and then


