Palo Alto Networks Data Security Inventory API

The Data Security capabilities on Prisma Cloud enable you to discover and classify data stored in AWS S3 buckets and protect accidental exposure, misuse, or sharing of sensitive data. The data inventory provides information about the number of S3 storage buckets being monitored and about how objects are exposed—public, sensitive, or malware. To get started with data security, see [Prisma Cloud Data Security](https://docs.paloaltonetworks.com/prisma/prisma-cloud/prisma-cloud-admin/prisma-cloud-data-security.html).

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/palo-alto-networks-data-security-inventory-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

palo-alto-networks-data-security-inventory-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Palo Alto Networks Data Security Inventory API
  version: Latest
  contact: {}
  description: 'Operations tagged Data Security Inventory across 2 of this provider''s published API definitions: palo-alto-cspm-consolidated-spec-cspm-spec-openapi.json, palo-alto-cspm-datasecurityinventory-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.prismacloud.io
- url: https://api2.prismacloud.io
- url: https://api3.prismacloud.io
- url: https://api4.prismacloud.io
- url: https://api.anz.prismacloud.io
- url: https://api.eu.prismacloud.io
- url: https://api2.eu.prismacloud.io
- url: https://api.gov.prismacloud.io
- url: https://api.prismacloud.cn
- url: https://api.ca.prismacloud.io
- url: https://api.sg.prismacloud.io
- url: https://api.uk.prismacloud.io
- url: https://api.ind.prismacloud.io
- url: https://api.jp.prismacloud.io
- url: https://api.fr.prismacloud.io
tags:
- description: "The Data Security capabilities on Prisma Cloud enable you to discover and classify data stored \nin AWS S3 buckets and protect accidental exposure, misuse, or sharing of sensitive data. The\ndata inventory provides information about the number of S3 storage buckets being monitored and\nabout how objects are exposed—public, sensitive, or malware.\n\n To get started with data security, see \n[Prisma Cloud Data Security](https://docs.paloaltonetworks.com/prisma/prisma-cloud/prisma-cloud-admin/prisma-cloud-data-security.html).       \n"
  name: Data Security Inventory
paths:
  /dlp/api/v1/inventory/data-scanned:
    get:
      description: Returns data usage information for your tenant.
      operationId: get-data-usage
      responses:
        '200':
          content:
            application/json; charset=UTF-8:
              schema:
                $ref: '#/components/schemas/DLPInventoryDataUsageModel'
          description: success
        '500':
          description: internal_error
      security:
      - x-redlock-auth: []
      summary: Get Data Usage
      tags:
      - Data Security Inventory
    servers:
    - url: https://api.prismacloud.io
    - url: https://api2.prismacloud.io
    - url: https://api3.prismacloud.io
    - url: https://api4.prismacloud.io
  /dlp/api/v1/inventory/object/data-classification/reportv2:
    post:
      description: Returns a data classification report. Includes snippet masking status.
      operationId: get-classification-report-v2
      requestBody:
        content:
          application/json; charset=UTF-8:
            schema:
              $ref: '#/components/schemas/DLPInventoryResourceExplorerRequest'
      responses:
        '200':
          content:
            application/json; charset=UTF-8:
              schema:
                items:
                  $ref: '#/components/schemas/DLPInventoryObjectClassificationReportV2'
                type: array
          description: success
        '400':
          description: missing_required_parameter / invalid_parameter_value / internal_error / violates_minimum_alert_dismiss_duration_time
        '500':
          description: internal_error
      security:
      - x-redlock-auth: []
      summary: Get Classification Report V2
      tags:
      - Data Security Inventory
    servers:
    - url: https://api.prismacloud.io
    - url: https://api2.prismacloud.io
    - url: https://api3.prismacloud.io
    - url: https://api4.prismacloud.io
  /dlp/api/v1/inventory/object/data-classification/report:
    post:
      deprecated: true
      description: Returns a data classification report.
      operationId: get-classification-report
      requestBody:
        content:
          application/json; charset=UTF-8:
            schema:
              $ref: '#/components/schemas/DLPInventoryResourceExplorerRequest'
      responses:
        '200':
          content:
            application/json; charset=UTF-8:
              schema:
                items:
                  $ref: '#/components/schemas/DLPInventoryObjectClassificationReport'
                type: array
          description: success
        '400':
          description: missing_required_parameter / invalid_parameter_value / internal_error / violates_minimum_alert_dismiss_duration_time
        '500':
          description: internal_error
      security:
      - x-redlock-auth: []
      summary: Get Classification Report
      tags:
      - Data Security Inventory
    servers:
    - url: https://api.prismacloud.io
    - url: https://api2.prismacloud.io
    - url: https://api3.prismacloud.io
    - url: https://api4.prismacloud.io
  /dlp/api/v1/inventory/objects/aggregate:
    post:
      description: "Lists data for objects. The response data depends on the table level you specify in the request body parameters.  \n\nThe **tableLevel** and **groupBy** request body parameters determine which \nresponse object fields a successful API request returns.\n\nIF **tableLevel** is **1** and **groupBy** is unspecified, the response properties are as shown below:\n```json\n[\n  {\n    \"cloudType\": \"\",\n    \"serviceName\": \"\",\n    \"totalResources\": 0,\n    \"publicResources\": ,\n    \"totalObjects\": 0,\n    \"publicObjects\": 0,\n    \"sensitiveObjects\": 0,\n    \"malwareObjects\": 0,\n    \"alerts\": 0\n  }\n]\n``` \nIf **tableLevel** is **1** and **groupBy** is specified, the response properties are as shown below:\n```json\n[\n  {\n    \"cloudType\": \"\",\n    \"accountName\": \"\",\n    \"regionName\": \"\",\n    \"serviceName\": \"\",\n    \"totalResources\": 0,\n    \"publicResources\": 0,\n    \"totalObjects\": 0,\n    \"publicObjects\": 0,\n    \"sensitiveObjects\": 0,\n    \"malwareObjects\": 0,\n    \"alerts\": 0\n  }\n]\n```\nIf **tableLevel** is **2** and **groupBy** is unspecified, the response properties are as shown below:\n```json\n[\n  {\n    \"cloudType\": \"\",\n    \"serviceName\": \"\",\n    \"totalResources\": 0,\n    \"publicResources\": 0,\n    \"totalObjects\": 0,\n    \"publicObjects\": 0,\n    \"sensitiveObjects\": 0,\n    \"malwareObjects\": 0,\n    \"alerts\": 0\n  }\n]\n```\nIf **tableLevel** is **2** and **groupBy** = **[\"cloud.region\"]**, the response properties are as shown below:\n```json\n[\n  {\n    \"cloudType\": \"\",\n    \"regionName\": \"\",\n    \"serviceName\": \"\",\n    \"totalResources\": 0,\n    \"publicResources\": 0,\n    \"totalObjects\": 0,\n    \"publicObjects\": 0,\n    \"sensitiveObjects\": 0,\n    \"malwareObjects\": 0,\n    \"alerts\": 0\n  }\n]\n```\nIf **tableLevel** is **2** and **groupBy** = **[\"cloud.account\"]**, the response properties are as shown below:\n```json\n[\n  {\n    \"cloudType\": \"\",\n    \"accountName\": \"\",\n    \"serviceName\": \"\",\n    \"totalResources\": 0,\n    \"publicResources\": 0,\n    \"totalObjects\": 0,\n    \"publicObjects\": 0,\n    \"sensitiveObjects\": 0,\n    \"malwareObjects\": 0,\n    \"alerts\": 0\n  }\n]\n```\nIf **tableLevel** is **2** and **groupBy** = **[\"cloud.region\", \"cloud.account\"]**, the response properties are as shown below:\n```json\n[\n  {\n    \"cloudType\": \"\",\n    \"accountName\": \"\",\n    \"regionName\": \"\",\n    \"serviceName\": \"\",\n    \"totalResources\": 0,\n    \"publicResources\": 0,\n    \"totalObjects\": 0,\n    \"publicObjects\": 0,\n    \"sensitiveObjects\": 0,\n    \"malwareObjects\": 20,\n    \"alerts\": 0\n  }\n]\n```\nIf **tableLevel** is **3** and **groupBy** is unspecified, the response properties are as shown below:\n```json\n[\n  {\n    \"cloudType\": \"\",\n    \"resourceName\": \"\",\n    \"publicResource\": \"\",\n    \"totalObjects\": 0,\n    \"publicObjects\": 0,\n    \"sensitiveObjects\": 0,\n    \"malwareObjects\": 0,\n    \"alerts\": 0,\n    \"bucketRrn\":\"\"\n  }\n]\n```\nIf **tableLevel** is **3** and **groupBy** = **[\"cloud.account\", \"cloud.region\"]**, the response properties are as shown below:\n```json\n[\n  {\n    \"cloudType\": \"\",\n    \"accountName\": \"\",\n    \"regionName\": \"\",\n    \"resourceName\": \"\",\n    \"publicResource\": \"\",\n    \"totalObjects\": 0,\n    \"publicObjects\": 0,\n    \"sensitiveObjects\": 0,\n    \"malwareObjects\": 0,\n    \"alerts\": 0,\n    \"bucketRrn\":\"\"\n  }\n]\n```\nIf **tableLevel** is **3** and **groupBy** = **[\"cloud.region\", \"cloud.service\"]**, the response properties are as shown below:\n```json\n[\n  {\n    \"cloudType\": \"\",\n    \"regionName\": \"\",\n    \"serviceName\": \"\",\n    \"resourceName\": \"\",\n    \"publicResource\": \"\",\n    \"totalObjects\": 0,\n    \"publicObjects\": 0,\n    \"sensitiveObjects\": 0,\n    \"malwareObjects\": 0,\n    \"alerts\": 0,\n    \"bucketRrn\":\"\"\n  }\n]\n```\nIf **tableLevel** is **3** and **groupBy** = **[\"cloud.account\", \"cloud.region\", \"cloud.service\"]**, the response properties are as shown below:\n```json\n[\n  {\n    \"cloudType\": \"\",\n    \"accountName\": \"\",\n    \"regionName\": \"\",\n    \"serviceName\": \"\",\n    \"resourceName\": \"\",\n    \"publicResource\": \"\",\n    \"totalObjects\": 0,\n    \"publicObjects\": 0,\n    \"sensitiveObjects\": 0,\n    \"malwareObjects\": 0,\n    \"alerts\": 0,\n    \"bucketRrn\":\"\"\n  }\n]\n```\nIf **tableLevel** is **4**, the response properties are as shown below:\n```json\n[\n  {\n    \"cloudType\": \"\",\n    \"accountName\": \",\n    \"regionName\": \"\",\n    \"serviceName\": \"\",\n    \"resourceName\": \"\",\n    \"publicResource\": \"\",\n    \"objectName\": \"\",\n    \"objectExposure\": \"\",\n    \"objectOwner\": \"\",\n    \"contentType\": \"\",\n    \"dataProfiles\": \"\",\n    \"dataPatterns\": \"\",\n    \"malware\": \"\",\n    \"metadataScannedTime\": 0, \n    \"malwareScannedTime\": 0, \n    \"dssScannedTime\": 0, \n    \"dssSnippetStatus\": \"\",\n    \"dssSnippetCreatedOn\": \"\",\n    \"dssSnippetViewed\": false\n  }\n]\n```                                                                                          \n"
      operationId: get-inventory-objects
      requestBody:
        content:
          application/json; charset=UTF-8:
            schema:
              $ref: '#/components/schemas/DLPInventoryFilterModel'
      responses:
        '200':
          content:
            application/json; charset=UTF-8:
              schema:
                items:
                  $ref: '#/components/schemas/DLPInventoryViewModel'
                type: array
          description: success
        '500':
          description: internal_error
      security:
      - x-redlock-auth: []
      summary: List Inventory Objects
      tags:
      - Data Security Inventory
    servers:
    - url: https://api.prismacloud.io
    - url: https://api2.prismacloud.io
    - url: https://api3.prismacloud.io
    - url: https://api4.prismacloud.io
  /dlp/api/v1/inventory/objects/aggregate/l4:
    post:
      description: Lists a paginated list of objects at L4 level. This is to fasten the response while listing the bucket objects
      operationId: get-inventory-objects-l4
      requestBody:
        content:
          application/json; charset=UTF-8:
            schema:
              $ref: '#/components/schemas/DLPInventoryObjectL4FilterModel'
      responses:
        '200':
          content:
            application/json; charset=UTF-8:
              schema:
                $ref: '#/components/schemas/DLPInventoryL4ViewModel'
          description: success
        '500':
          description: internal_error
      security:
      - x-redlock-auth: []
      summary: List Paginated Inventory Objects at Level 4
      tags:
      - Data Security Inventory
    servers:
    - url: https://api.prismacloud.io
    - url: https://api2.prismacloud.io
    - url: https://api3.prismacloud.io
    - url: https://api4.prismacloud.io
  /dlp/api/v1/inventory/object/details:
    post:
      description: Returns details for the object with the specified object ID.
      operationId: get-inventory-object-details
      requestBody:
        content:
          application/json; charset=UTF-8:
            schema:
              $ref: '#/components/schemas/DLPInventoryResourceExplorerRequest'
      responses:
        '200':
          content:
            application/json; charset=UTF-8:
              schema:
                $ref: '#/components/schemas/DLPInventoryObjectExplorer'
          description: success
        '400':
          description: missing_required_parameter / invalid_parameter_value / internal_error / violates_minimum_alert_dismiss_duration_time
        '500':
          description: internal_error
      security:
      - x-redlock-auth: []
      summary: Get Inventory Object Details
      tags:
      - Data Security Inventory
    servers:
    - url: https://api.prismacloud.io
    - url: https://api2.prismacloud.io
    - url: https://api3.prismacloud.io
    - url: https://api4.prismacloud.io
  /dlp/api/v1/inventory/objects/aggregate/by-classification:
    post:
      description: Returns the object counts identified by classification, malware, and object exposure.
      operationId: get-inventory-objects-by-classification
      requestBody:
        content:
          application/json; charset=UTF-8:
            schema:
              $ref: '#/components/schemas/DLPInventoryFilterModel'
      responses:
        '200':
          content:
            application/json; charset=UTF-8:
              schema:
                items:
                  $ref: '#/components/schemas/CountByClassificationViewModel'
                type: array
          description: success
        '500':
          description: internal_error
      security:
      - x-redlock-auth: []
      summary: Get Object Counts by Classification
      tags:
      - Data Security Inventory
    servers:
    - url: https://api.prismacloud.io
    - url: https://api2.prismacloud.io
    - url: https://api3.prismacloud.io
    - url: https://api4.prismacloud.io
  /dlp/api/v1/inventory/objects/aggregate/alerts/by-classification:
    post:
      description: Returns the object alert counts grouped by exposure, classification, and severity.
      operationId: get-inventory-aggregate-alerts-by-classification
      requestBody:
        content:
          application/json; charset=UTF-8:
            schema:
              $ref: '#/components/schemas/DLPInventoryFilterModel'
      responses:
        '200':
          content:
            application/json; charset=UTF-8:
              schema:
                items:
                  $ref: '#/components/schemas/CountByClassificationViewModel'
                type: array
          description: success
        '500':
          description: internal_error
      security:
      - x-redlock-auth: []
      summary: Get Aggregate Alert Data by Classification
      tags:
      - Data Security Inventory
    servers:
    - url: https://api.prismacloud.io
    - url: https://api2.prismacloud.io
    - url: https://api3.prismacloud.io
    - url: https://api4.prismacloud.io
  /dlp/api/v1/inventory/objects/aggregate/history:
    post:
      description: Returns counts of objects that satisfy the given creation time window and other filters.
      operationId: get-inventory-aggregate-history
      requestBody:
        content:
          application/json; charset=UTF-8:
            schema:
              $ref: '#/components/schemas/DLPInventoryFilterModel'
      responses:
        '200':
          content:
            application/json; charset=UTF-8:
              schema:
                $ref: '#/components/schemas/DLPInventoryObjectHistoryViewModel'
          description: success
        '500':
          description: internal_error
      security:
      - x-redlock-auth: []
      summary: Get Aggregate Data by History
      tags:
      - Data Security Inventory
    servers:
    - url: https://api.prismacloud.io
    - url: https://api2.prismacloud.io
    - url: https://api3.prismacloud.io
    - url: https://api4.prismacloud.io
  /dlp/api/v1/inventory/object/malware/report/hash/{fileHash}:
    post:
      description: Returns a malware report.
      operationId: get-malware-report
      parameters:
      - description: File hash value
        in: path
        name: fileHash
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json; charset=UTF-8:
            schema:
              $ref: '#/components/schemas/DLPInventoryResourceExplorerRequest'
      responses:
        '200':
          content:
            application/xml:
              schema:
                type: string
          description: success
        '400':
          description: missing_required_parameter / invalid_parameter_value / internal_error / violates_minimum_alert_dismiss_duration_time
        '500':
          description: internal_error
      security:
      - x-redlock-auth: []
      summary: Get Malware Report
      tags:
      - Data Security Inventory
    servers:
    - url: https://api.prismacloud.io
    - url: https://api2.prismacloud.io
    - url: https://api3.prismacloud.io
    - url: https://api4.prismacloud.io
  /dlp/api/v1/inventory/resource/details:
    post:
      description: Returns details for the resource (bucket) with the specified tenant ID and bucket name.
      operationId: get-inventory-resource-details
      requestBody:
        content:
          application/json; charset=UTF-8:
            schema:
              $ref: '#/components/schemas/DLPInventoryResourceExplorerRequest'
      responses:
        '200':
          content:
            application/json; charset=UTF-8:
              schema:
                $ref: '#/components/schemas/DLPInventoryResourceExplorer'
          description: success
        '500':
          description: internal_error
      security:
      - x-redlock-auth: []
      summary: Get Inventory Resource Details
      tags:
      - Data Security Inventory
    servers:
    - url: https://api.prismacloud.io
    - url: https://api2.prismacloud.io
    - url: https://api3.prismacloud.io
    - url: https://api4.prismacloud.io
  /dlp/api/v1/inventory/resource/objects:
    post:
      description: Returns the objects for the specified bucket.
      operationId: get-inventory-resource-objects
      requestBody:
        content:
          application/json; charset=UTF-8:
            schema:
              $ref: '#/components/schemas/DLPInventoryResourceExplorerRequest'
      responses:
        '200':
          content:
            application/json; charset=UTF-8:
              schema:
                $ref: '#/components/schemas/DLPInventoryResourceObjects'
          description: success
        '500':
          description: internal_error
      security:
      - x-redlock-auth: []
      summary: Get Inventory Resource Objects
      tags:
      - Data Security Inventory
    servers:
    - url: https://api.prismacloud.io
    - url: https://api2.prismacloud.io
    - url: https://api3.prismacloud.io
    - url: https://api4.prismacloud.io
  /dlp/api/v1/inventory/snippet:
    post:
      description: Generates a snippet for the specified object.
      operationId: add-snippets
      requestBody:
        content:
          application/json; charset=UTF-8:
            schema:
              $ref: '#/components/schemas/DLPInventoryResourceExplorerRequest'
      responses:
        '200':
          content:
            application/json; charset=UTF-8:
              schema:
                type: string
          description: success
        '400':
          description: missing_required_parameter / invalid_parameter_value / internal_error / violates_minimum_alert_dismiss_duration_time
        '500':
          description: internal_error
      security:
      - x-redlock-auth: []
      summary: Generate Snippet
      tags:
      - Data Security Inventory
    servers:
    - url: https://api.prismacloud.io
    - url: https://api2.prismacloud.io
    - url: https://api3.prismacloud.io
    - url: https://api4.prismacloud.io
  /dlp/api/v1/inventory/snippet/objects/{objectId}/datapattern/{dataPatternId}:
    get:
      description: Returns a snippet for the given object and data pattern.
      operationId: get-snippets
      parameters:
      - description: Object ID
        in: path
        name: objectId
        required: true
        schema:
          type: string
      - description: Data pattern ID
        in: path
        name: dataPatternId
        required: true
        schema:
          type: string
      responses:
        '200':
          content:
            application/json; charset=UTF-8:
              schema:
                $ref: '#/components/schemas/DssPatternSnippetViewModel'
          description: success
        '400':
          description: bad_request
        '500':
          description: internal_error
      security:
      - x-redlock-auth: []
      summary: Get Snippet
      tags:
      - Data Security Inventory
    servers:
    - url: https://api.prismacloud.io
    - url: https://api2.prismacloud.io
    - url: https://api3.prismacloud.io
    - url: https://api4.prismacloud.io
components:
  schemas:
    DLPInventoryObjectHistoryViewModel:
      description: Model class for object view model
      properties:
        malwareObjectsDelta:
          description: Total malware objects changed
          format: int64
          type: integer
        objectsDelta:
          description: Objects changes
          format: int64
          type: integer
        publicObjectsDelta:
          description: Public objects changed
          format: int64
          type: integer
        publicResourcesDelta:
          description: Public resources changed
          format: int64
          type: integer
        resourcesDelta:
          description: Resources changed
          format: int64
          type: integer
        sensitiveObjectsDelta:
          description: Sensitive objects changed
          format: int64
          type: integer
        totalMalwareObjects:
          description: Total malware objects
          format: int64
          type: integer
        totalObjects:
          description: Total objects
          format: int64
          type: integer
        totalPublicObjects:
          description: Public objects
          format: int64
          type: integer
        totalPublicResources:
          description: Public resources
          format: int64
          type: integer
        totalResources:
          description: Total resources
          format: int64
          type: integer
        totalSensitiveObjects:
          description: Sensitive objects
          format: int64
          type: integer
      type: object
    Detection:
      description: Model class Classification Detections
      properties:
        detection:
          description: Detection technique
          type: string
        left:
          description: Left detection
          type: string
        origOffSet:
          description: Offset by
          format: int64
          type: integer
        right:
          description: Right detection
          type: string
        textLength:
          description: Text Length
          format: int64
          type: integer
      type: object
    DLPInventoryFilterModel:
      description: Model for DLP inventory filters
      properties:
        detailed:
          description: Detailed
          type: boolean
        fields:
          description: Array of specific fields to return
          items:
            type: string
          type: array
        filters:
          description: "Filtering parameters. \n\nFor filter names, refer to List Filters API. \n\nFor filter values, refer to List filter suggestions. \n\nThe only exception is **resource.tagv2** filter name, provide filter value for it in the following format: \"{\"key\":\"'CustomerTagKey'\",\"value\":\"'CustomerTagValue'\"}\""
          items:
            $ref: '#/components/schemas/UIFilterModel'
          type: array
        groupBy:
          description: For asset or data inventory only. Group returned items by **cloud.type**, **cloud.service**, **cloud.region**, **cloud.account**, and/or **resource.type**
          items:
            type: string
          type: array
        limit:
          description: Maximum number of items to return. When data is paginated, maximum number of items per page.The maximum cannot exceed 10,000. The default is 10,000.
          type: number
        offset:
          description: The number of items to skip before selecting items to return. Default is zero
          type: number
        pageToken:
          description: 'Setting this pagination Token to the **nextPageToken** from a response object returns the next page of data '
          type: string
        sortBy:
          description: Array of sort properties. Append **:asc** or  **:desc** to the key to sort by ascending or descending order respectively. Example sort properties are **id:asc** and **timestamp:desc**
          items:
            type: string
          type: array
        tableLevel:
          description: Table level
          enum:
          - 1
          - 2
          - 3
          - 4
          format: int32
          type: integer
        timeRange:
          allOf:
          - $ref: '#/components/schemas/TimeRangeConfigModel'
          - description: Time range
      required:
      - tableLevel
      type: object
    DLPInventoryObjectClassificationReport:
      description: Model class for classification report
      properties:
        detectionTime:
          description: Detection time
          type: string
        identifiers:
          description: List of identifiers
          items:
            $ref: '#/components/schemas/Identifiers'
          type: array
        name:
          description: Classification name
          type: string
      type: object
    DLPInventoryDataUsageModel:
      description: Model class for filter sugegstions
      properties:
        dataScanned:
          description: Data Scanned
          format: float
          type: number
        limit:
          description: Data limit
          format: int64
          type: integer
        unit:
          description: Unit (daily/hourly)
          type: string
      type: object
    RelativeTimeRangeConfigModel:
      allOf:
      - $ref: '#/components/schemas/TimeRangeConfigModel'
      - description: Model for RelativeTimeRangeConfig
        properties:
          relativeTimeType:
            description: Direction in which to count time. Default = BACKWARD
            enum:
            - BACKWARD
            - FORWARD
            type: string
          type:
            example: relative
            type: string
          value:
            allOf:
            - $ref: '#/components/schemas/RelativeTimeDurationModel'
            - description: Time range object
        required:
        - value
        type: object
    ToNowTimeRangeConfigModel:
      allOf:
      - $ref: '#/components/schemas/TimeRangeConfigModel'
      - description: Model for ToNowTimeRangeConfig
        properties:
          value:
            description: Time range object
            enum:
            - MINUTE
            - HOUR
            - DAY
            - WEEK
            - MONTH
            - YEAR
            - EPOCH
            - LOGIN
            type: string
        type: object
    TimeRangeConfigModel:
      description: 'See the [Time Range Model](/prisma-cloud/api/cspm/api-time-range-model) for details.

        '
      discriminator:
        mapping:
          absolute: '#/components/schemas/AbsoluteTimeRangeConfigModel'
          relative: '#/components/schemas/RelativeTimeRangeConfigModel'
          to_now: '#/components/schemas/ToNowTimeRangeConfigModel'
        propertyName: type
      oneOf:
      - $ref: '#/components/schemas/RelativeTimeRangeConfigModel'
      - $ref: '#/components/schemas/AbsoluteTimeRangeConfigModel'
      - $ref: '#/components/schemas/ToNowTimeRangeConfigModel'
      properties:
        type:
          description: Time type
          type: string
      required:
      - type
      type: object
    RelativeTimeDurationModel:
      description: Model for RelativeTimeDuration
      properties:
        amount:
          description: Number of time units
          format: int32
          type: integer
        unit:
          description: Time unit
          enum:
          - minute
          - hour
          - day
          - week
          - month
          - year
          type: string
      type: object
    AbsoluteTimeRangeConfigModel:
      allOf:
      - $ref: '#/components/schemas/TimeRangeConfigModel'
      - description: Model for AbsoluteTimeRangeConfig
        properties:
          type:
            example: absolute
            type: string
          value:
            allOf:
            - $ref: '#/components/schemas/TimeModel'
            - description: Time range object
        required:
        - value
        type: object
    DLPInventoryObjectL4FilterModel:
      description: Model for DLP inventory paginated filters
      properties:
        detailed:
          description: Detailed
          type: boolean
        fields:
          description: Array of specific fields to return
          items:
            type: string
          type: array
        filters:
          description: "Filtering parameters. \n\nFor filter names, refer to List Filters API. \n\nFor filter values, refer to List filter suggestions. \n\nThe only exception is **resource.tagv2** filter name, provide filter value for it in the following format: \"{\"key\":\"'CustomerTagKey'\",\"value\":\"'CustomerTagValue'\"}\""
          items:
            $ref: '#/components/schemas/UIFilterModel'
          type: array
        groupBy:
          description: For asset or data inventory only. Group returned items by **cloud.type**, **cloud.service**, **cloud.region**, **cloud.account**, and/or **resource.type**
          items:
            type: string
          type: array
        limit:
          description: Records per page
          format: int32
          type: integer
        offset:
          description: The number of items to skip before selecting items to return. Default is zero
          type: number
        orderBy:
          allOf:
          - $ref: '#/components/schemas/OrderBy'
          - description: Sorting column and sort type
        page:
          description: Page Number
          format: int64
          type: integer
        pageToken:
          description: 'Setting this pagination Token to the **nextPageToken** from a response object returns the next page of data '
          type: string
        searchTerm:
          description: search on objects
          type: string
        sortBy:
          description: Array of sort properties. Append **:asc** or  **:desc** to the key to sort by ascending or descending order respectively. Example sort properties are **id:asc** and **timestamp:desc**
          items:
            type: string
          type: array
        timeRange:
          allOf:
          - $ref: '#/components/schemas/TimeRangeConfigModel'
          - description: Time range
      required:
      - limit
      - page
      type: object
    ResourceObjects:
      description: Model class for resource objects
      properties:
        dataClassifications:
          description: Object classification
          type: string
        dataIdentifiers:
          description: Object identifiers
          type: string
        malware:
          description: Object malware result
          type: string
        objectExposure:
          description: Object exposure
          type: string
        objectId:
          description: Object Id
          type: string
        objectName:
          description: Object name
          type: string
        sha256:
          description: Object sha
          type: string
      type: object
    DLPInventoryResourceObjects:
      description: Model class for inventory resource objects
      properties:
        objects:
          description: List of objects
          items:
            $ref: '#/components/schemas/ResourceObjects'
          type: array
        total:
          description: Total objects
          format: int32
          type: integer
      type: object
    UIFilterModel:
      description: Model for UIFilter
      properties:
        name:
          description: Name
          type: string
        operator:
          description: Operator
          enum:
          - '='
          type: string
        value:
          description: Value
          type: string
      type: object
    DLPInventoryObjectExplorer:
      description: Model for DLP Object Inventory
      properties:
        assetId:
          description: Unified AssetId of the resource

# --- truncated at 32 KB (45 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/palo-alto-networks/refs/heads/main/openapi/palo-alto-networks-data-security-inventory-api-openapi.yml