Skip to content

policyDetails

Returns data categories for an account.

Arguments

Argument Type Description
dataCategoryIds [String!] Filter for data category IDs.
dataTypeIds [String!] Data type IDs to filter.
dataCategoryType DataCategoryType Filter for data category type.
documentTypeIds [UUID!] Document type IDs to filter.
sortBy PoliciesDetailSortByField Field to sort policies detail entries by.
sortOrder SortOrder Sorts the order of results.
includeInactiveDataCategories Boolean Include inactive data categories.
dataCategoryFilter DataCategoryFilter Filter controlling which data categories to include. Defaults to ACTIVE_DATA_CATEGORIES.

Returns

PolicyDetailConnection!

Sample

query {
  policyDetails {
    nodes {
      analyzers
      dataTypeIds
      description
      id
      isActive
      lastUpdatedTime
      name
      objectsPercentCoverage
      pendingAnalysisObjects
      percentCoverage
      totalDocumentTypes
      totalHits
      totalObjects
    }
    pageInfo {
      hasNextPage
      endCursor
    }
  }
}
{}
{
  "data": {
    "policyDetails": {
      "nodes": [
        [
          {
            "analyzers": 0,
            "dataTypeIds": [
              "example-string"
            ],
            "description": "example-string",
            "id": "example-string",
            "isActive": true,
            "lastUpdatedTime": 0
          }
        ]
      ],
      "pageInfo": {
        "endCursor": "example-string",
        "hasNextPage": true,
        "hasPreviousPage": true,
        "startCursor": "example-string"
      }
    }
  }
}