SCIM Client properties, tables, scriptable APIs, and logs

  • Release version: Xanadu
  • Updated August 1, 2024
  • 2 minutes to read
  • Summarize
    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 SCIM Client properties, tables, scriptable APIs, and logs

    The SCIM v2 - ServiceNow Cross-domain Identity Management Client (com.snc.integration.scim2.client) plugin facilitates identity management through system properties, tables, scriptable APIs, and logs, enabling effective integration with SCIM providers.

    Show full answer Show less

    Key Features

    • System Properties: Configure logging and log cleanup duration.
      • com.snc.integration.scim2.client.log.request.status: Controls logging of requests (options: FAILURE or ALL; default: ALL).
      • com.snc.integration.scim2.client.log.cleanup.duration: Sets log retention duration in days (default: 180).
    • Tables: Store essential data for SCIM operations.
      • SCIM Provider (sysscimprovider): Holds provider details and resource definitions.
      • SCIM Provider Resource Mapping (sysscimproviderresourcemapping): Maintains primary table information for each provider and resource.
      • SCIM Attribute Mapping (sysscimattributemapping): Maps source details for SCIM attribute values.
      • SCIM Client Log (sysscimclientlogs): Records statuses of calls made to SCIM providers.
    • Scriptable API: The SCIM2Client API allows for data manipulation within service providers.
      • Designed for use by system admins and scripts running in the system context.
      • Use cases include provisioning identity information, running scheduled jobs, and executing workflows with provisioning scripts.
    • SCIM Client Logs: Provide insights into the provisioning status of SCIM APIs.

    Key Outcomes

    By utilizing the SCIM Client, ServiceNow customers can effectively manage identity provisioning and integration with external systems, enhancing operational efficiency and ensuring accurate identity data management.

    The SCIM v2 - ServiceNow Cross-domain Identity Management Client (com.snc.integration.scim2.client) plugin includes the following system properties, tables, scriptable APIs, and logs.

    Properties

    SCIM Client adds the following system properties.
    Table 1. Properties
    Name Description
    com.snc.integration.scim2.client.log.request.status This property determines whether to write all the log records or just the error log records. The possible values are FAILURE or ALL.

    Default value: ALL

    com.snc.integration.scim2.client.log.cleanup.duration This property determines the number of days for clearing the logs.

    Default value: 180

    To set the properties, navigate to All > SCIM > SCIM Client Properties.

    SCIM Client Properties

    Tables

    The SCIM Client adds the following tables.

    Table 2. Tables
    Name Description
    SCIM Provider (sys_scim_provider) Stores data for each SCIM provider, such as the name, REST message resource definitions, and so on.
    SCIM Provider Resource Mapping (sys_scim_provider_resource_mapping) Stores the primary table information for each provider and resource name.
    SCIM Attribute Mapping (sys_scim_attribute_mapping) Stores the source details where each SCIM attribute value should come from, such as the table field, script, and so on.
    SCIM Client Log (sys_scim_client_logs) Stores the statuses of each call triggered to SCIM Provider.

    Scriptable API

    The SCIM2Client API calls the System for Cross-domain Identity Management (SCIM) Provider (server role) to create, update, or delete data in a service provider (SP). The scriptable API of the SCIM Client should be used in the scripts that are running in the system context or by a system admin user.

    For example, you can use the script while running the integration hub workflow as a system user, while running the scheduled jobs, and so on.

    The following are some of the use cases for using the scriptable APIs:

    • As an admin, provision identity information from background scripts, business rules, script include calls, workflows, and so on.
    • As an admin, run a scheduled job or an on-demand job for identity provisioning.
    • Run a workflow or sub-workflow with the Script step using the provision scriptable API call.
    • Add the provision script directly in a business rule or script include. The script can be triggered by non-admin users. This use-case works in the following situations:
      • The user has access to the token, meaning that the user has the role to generate the token from the REST template.
      • The user has access to retrieve the SCIM attribute values from the mapped tables.

    To know more about the scriptable API, see SCIM2Client API.

    SCIM Client Logs

    The SCIM Client Logs display the provisioning status about the SCIM APIs. To view the provisioning status, navigate to All > SCIM > SCIM Client Logs.