Skip to content

principalTagStats

principalTagStats returns the aggregated statistics for principal tags.

Arguments

Argument Type Description
input (required) GetPrincipalTagStatsInput! Input required to retrieve the aggregated statistics for principal tags.

Returns

GetPrincipalTagStatsReply!

Sample

query PrincipalTagStats($input: GetPrincipalTagStatsInput!) {
  principalTagStats(input: $input)
}
{
  "input": {}
}
{
  "data": {
    "principalTagStats": {
      "atrisk": {
        "humanCount": 0,
        "nonhumanCount": 0,
        "totalCount": 0
      },
      "privileged": {
        "humanCount": 0,
        "nonhumanCount": 0,
        "totalCount": 0
      }
    }
  }
}