Skip to content

analyzerUsages

Returns which policies are using each analyzer.

Arguments

Argument Type Description
dataCategoryIdsFilter [String!] List of data categories used for filtering results.
riskLevelsFilter [RiskLevelType!] List of risk levels used for filtering results.
sortBy AnalyzerUsagesSortBy Name of the column to sort result by.
sortOrder SortOrder Sorts the order of results.
dataTypeSourceFilter DataTypeSource Filter for data category type.
dataTypeNameSearchFilter String Data type name to search.
analyzerStatusFilter AnalyzerStatusFilter Filter for analyzer status.
first Int Returns the first n elements from the list.
after String Returns the elements in the list that occur after the specified cursor.
last Int Returns the last n elements from the list.
before String Returns the elements in the list that occur before the specified cursor.

Returns

AnalyzerUsageConnection!

Sample

query {
  analyzerUsages(first: 10) {
    nodes {
      dataTypeSource
    }
    pageInfo {
      hasNextPage
      endCursor
    }
  }
}
{}
{
  "data": {
    "analyzerUsages": {
      "nodes": [
        [
          {
            "dataTypeSource": "CUSTOM"
          }
        ]
      ],
      "pageInfo": {
        "endCursor": "example-string",
        "hasNextPage": true,
        "hasPreviousPage": true,
        "startCursor": "example-string"
      }
    }
  }
}