---
sourceDocument: Brazil ServiceNow AI Platform Administration
sourceDocumentLink: https://www.servicenow.com/docs/r/platform-administration

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil ServiceNow AI Platform Administration

ft:clusterId :

    - platadm

bundleId :

    - platadm

workflow :

    - Platform


---

# External content security

# External content security for AI Search {#ariaid-title1}

Release version: Brazil  
Updated September 10, 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 External content security for AI Search

AI Search in ServiceNow preserves and enforces user and group security access permissions for documents indexed from external sources.
This ensures that search results respect the original access controls defined on external content.
Customers can control access by mapping externally defined users and groups to ServiceNow AI Platform users, thereby maintaining consistent security across external content search results.
Show full answer Show less  

## Key Requirements

* **Specify Access Permissions on External Documents:** When ingesting external documents, define access permissions that allow or deny access either globally or for specific external users and groups. AI Search indexes these permissions to enforce security at search time.
* **Define User Mappings:** Create mappings that link externally defined user and group aliases to ServiceNow AI Platform users. These mappings are associated with indexed external content sources and are used to determine user access when search queries are executed.

## How Security is Enforced During Search

When a user performs a search, AI Search:

* Retrieves user mappings linked to the indexed source of matched records, identifying all external users and groups aliased to the current ServiceNow AI Platform user.
* Compares these mapped external security principals to the access permissions on the indexed content.
* Allows or denies access to search results based on this comparison, ensuring users see only the content they are authorized to view.

## Practical Benefits for ServiceNow Customers

* Enables secure integration of external content with AI Search while maintaining original access controls.
* Provides granular control over who can see which external documents in search results through access permissions and user mappings.
* Supports compliance and data governance by respecting external content security policies within the ServiceNow AI Platform search experience.

## Additional Capabilities and Resources

* Support for special access permissions based on user roles.
* Ability to customize precedence rules for read and deny permissions on external content.
* Tools for creating user mapping tables, linking them to indexed sources, and importing mappings via API.
* Audit capabilities through import history records to ensure correct user mapping imports.  
AI Search preserves user and group security access permissions specified for documents indexed from external sources. You can control access to external content search results by mapping these externally
defined users and groups to ServiceNow AI Platform® users.
For an overview of AI Search content security, see [Content security in AI Search](https://www.servicenow.com/docs/Wl3Hs8ESSMDQneuWSXNsvg "AI Search filters search query results and displays only records that the currently logged in user can access.").

## Requirements {#external-content-security-ais__section_r3t_sdg_vpb}

To use external content security, include the following two steps in your ingestion and indexing process for external documents:  
{#external-content-security-ais__table_zhf_1qn_wpb__entry__2}

| Step | Description |
|-|-|
| Specify access permissions on each external document fed for ingestion | Access permissions for an external document can allow or deny access to the document globally (for all users), or can include lists of specific externally defined users and groups who are allowed or denied access to the document. AI Search preserves the external document's security access permissions during indexing. Additional information: * For an overview of specifying access permissions on external documents, see [Defining access permissions for external documents](https://www.servicenow.com/docs/x7DdLfKiNm2O95H9XXXO0A#defining-access-perms-ext-docs-ais "You can specify access permissions for externally defined users and groups when ingesting external documents. AI Search preserves these permissions during indexing so that user content security filters can operate on them at search time."). * To learn about the set of access permissions supported for external content security, see [External content access permissions](https://www.servicenow.com/docs/x7DdLfKiNm2O95H9XXXO0A#ext-cont-security-perms-ais "External content security includes permissions that describe user and group access for an external document. When indexing an external document, AI Search stores these permissions so that content security filters can limit user access to the indexed search result."). * For details on special access permissions granted by certain user roles, see [Special external content access permissions by role](https://www.servicenow.com/docs/x7DdLfKiNm2O95H9XXXO0A#ext-cont-security-role-perms-ais "Certain user roles provide special access permissions for external content indexed records."). * To learn how to reverse the default precedence of users.read and groups.deny access permissions for an external content indexed source, see [Change the precedence of user read and group deny permissions for an external content indexed source](https://www.servicenow.com/docs/x7DdLfKiNm2O95H9XXXO0A#change-perms-precedence-idxsrc-ais "Make external group deny access permissions take precedence over external user read access permissions for all external documents ingested through an indexed source."). {#external-content-security-ais__ul_v5l_cqn_wpb} |
| Define user mappings in tables linked to external content indexed sources | A user mapping specifies externally defined user and group aliases for a ServiceNow AI Platform user. Link these user mappings to indexed sources for external content. AI Search uses an indexed source's user mappings in conjunction with indexed records' access permissions to determine ServiceNow AI Platform user access for search results from the indexed source. Additional information: * For an overview of user mappings, see [Mapping external users and groups to ServiceNow AI Platform users](https://www.servicenow.com/docs/AkOrDXe45jBVuH2mt6msmQ#user-mappings-ais "AI Search external user mappings enable you to configure externally defined user and group aliases for ServiceNow AI Platform users. AI Search uses these aliased security principals to apply content security filters that control user access to search results indexed from external documents."). * To learn about the set of externally defined security principal types supported in user mappings, see [External user mapping security principal types](https://www.servicenow.com/docs/AkOrDXe45jBVuH2mt6msmQ#ext-usr-map-principal-types-ais "AI Search user mapping aliases can include externally defined group and user security principals."). * For instructions on creating a table to store your user mappings, see [Create a user mapping table](https://www.servicenow.com/docs/AkOrDXe45jBVuH2mt6msmQ#create-user-mapping-tables-ais "Define a table to store externally defined user and group aliases for ServiceNow AI Platform users."). * For instructions on linking your user mapping tables to external content indexed sources, see [Link a user mapping table to an external content indexed source](https://www.servicenow.com/docs/AkOrDXe45jBVuH2mt6msmQ#link-usrmap-tables-idxsrcs-ais "Specify the user mapping table you want AI Search to use for external documents ingested through an indexed source."). * To learn about importing user mappings via the [AI Search External User Mapping API](https://www.servicenow.com/docs/access?context=ext-user-mapping-api&version=brazil&pubname=brazil-api-reference&ft:locale=en-US), see [Importing user mappings](https://www.servicenow.com/docs/AkOrDXe45jBVuH2mt6msmQ#importing-user-mappings-ais "You can use the AI Search External User Mapping API to import mappings between ServiceNow AI Platform users and externally defined users and groups."). * For instructions on viewing user mapping import history records to confirm that user mappings imported correctly, see [View history records for user mapping import operations](https://www.servicenow.com/docs/AkOrDXe45jBVuH2mt6msmQ#view-usr-map-import-history-ais "Review the results for your user mapping import operations, including data, log messages, and any errors. Use this procedure to verify that your user mappings are imported correctly."). {#external-content-security-ais__ul_mgk_gqn_wpb} |
[ ]

{#external-content-security-ais__table_zhf_1qn_wpb}

## Security implementation for search queries {#external-content-security-ais__section_nvy_jnn_wpb}

When a user's search query matches an indexed record created from an external document, AI Search performs these steps:

1. Examines the user mappings linked to the record's indexed source and retrieves the set of all externally defined users and groups aliased to the current ServiceNow AI Platform user's account.
2. Compares the mapped set of externally defined user and group aliases with the access permissions on the indexed search result record to see whether the ServiceNow AI Platform user should be allowed to view the search result.
{#external-content-security-ais__ol_ldb_vnn_wpb}
* **[Defining access permissions for external documents](https://www.servicenow.com/docs/x7DdLfKiNm2O95H9XXXO0A#defining-access-perms-ext-docs-ais)**   
  You can specify access permissions for externally defined users and groups when ingesting external documents. AI Search preserves these permissions during indexing so that user content security filters can operate on them at search time.
* **[Mapping external users and groups to ServiceNow AI Platform users](https://www.servicenow.com/docs/AkOrDXe45jBVuH2mt6msmQ#user-mappings-ais)**   
  AI Search external user mappings enable you to configure externally defined user and group aliases for ServiceNow AI Platform users. AI Search uses these aliased security principals to apply content security filters that control user access to search results indexed from external documents.

