Netskope LogoNetskope Logo
  • Security Services
  • AI Services
  • Networking Services
  • Analytics Services
  • Integrations
  • getting-started.svgGetting Started
    • Support
    • Community
    • Netskope.com
    © 2026 All Rights Reserved. Netskope Inc.
    Home
    SaaS Security Posture Management
    Frequently Asked Questions
    How to Create Rules Using Custom Attributes

    How to Create Rules Using Custom Attributes

    Netskope provides predefined DOMs to support SaaS security posture evaluation across applications. However, some SaaS applications, such as Okta, allow you to define custom attributes specific to your organization (for more information, see add custom user attributes). 

    This article explains how you can leverage such custom attributes in your detections within SSPM.

    Prerequisites

    • The required attribute is not already available in the predefined DOM.
    • The attribute exists in the source application metadata (API listing response).
    • The attribute is needed for policy evaluation or posture assessment.
    • You have the following details ready:
      • Attribute name
      • Attribute data type
      • Description or use case

    Procedure

    Step 1: Submit request to add a custom attribute

    1. Create a support ticket or contact your Netskope representative to add a custom attribute.

    2. Provide the following information in the support ticket:

      • Subject: Request to Add Custom Attribute to Predefined DOM.

      • Appsuite: Application suite for which you are making the request.

      • Resource Type: See Resource Types article to learn more.

      • Requested attribute information:

        • Attribute Name: Exact field name from the API response.

        • Attribute Data Type: For example: String, Boolean, Integer, Array.

        • Description / Purpose: Purpose and how it will be used in rule evaluations.

          Example Request

          FieldValue
          SubjectRequest to Add Custom Attribute to Predefined DOM
          App SuiteMicrosoft 365
          Resource TypeSharePoint Site
          Attribute NamesensitivityLabel
          Attribute Data TypeString
          DescriptionRequire the SharePoint site sensitivityLabel for rule evaluation in SSPM. The property exists in the resource metadata but it is not exposed as a DOM attribute.

    Step 2: Attribute Addition

    After you submit the request:

    • Netskope will review your request and reach out if additional details are required.
    • You will receive a notification indicating whether the request is approved or rejected, along with the reason for the decision.
    • If your request is approved, the custom attribute will be added for your tenant with subsequent releases.
    This change is specific to your tenant and is not reflected in the default DOM files.

    Step 3: Verification

    Once the custom attribute is added to your tenant-specific DOM, verify it as follows:

    1. Log in to your SSPM tenant.
    2. Navigate to API-enabled Protection > Security Posture SaaS > Inventory.
    3. In the Resources tab, choose Switch to NGL option.
    4. Write an NGL with usage of the newly added custom attribute.

    Step 4: Create Rule using a Custom Attribute

    Once your custom attribute is added, you can use it to create custom rules and build NGL, as follows:

    1. Log in to your SSPM tenant.
    2. Navigate to Policies > SaaS Security Posture Management.
    3. In the Rules tab, click Add Rule.
    4. Create a New Custom Rule in the side panel via Create From Scratch option. See Adding a New Custom Rule for detailed steps.
    In this Topic
    • How to Create Rules Using Custom Attributes