Skip to content

objectTypeAccessSummary

Returns total sensitive hits grouped by object type and also gives policy level breakdown for each object type.

Arguments

Argument Type Description
first Int Returns the first n elements from the list.
after String An opaque cursor returned from a previous query's endCursor field. Pass this value verbatim to retrieve the next page of results.
last Int Returns the last n elements from the list.
before String An opaque cursor returned from a previous query's startCursor field. Pass this value verbatim to retrieve the previous page of results.
timelineDate (required) String! Date for which the results will be retrieved.
historicalDeltaDays (required) Int! Number of historical days to go backward in time to calculate the delta.
includeWhitelistedResults Boolean Specifies whether allowlisted results should be included.
sortOrder SortOrder Sorts the order of results.
filter ObjectTypeSummariesFilter Filter for object type summary.
sort ObjectTypeAccessSummarySortBy Field on which to perform the sorting operation.
groupBy ObjectTypeAccessSummaryGroupBy Field on which to perform the grouping operation.

Returns

ObjectTypeAccessSummaryConnection!

Sample

query ObjectTypeAccessSummary($timelineDate: String!, $historicalDeltaDays: Int!) {
  objectTypeAccessSummary(
    timelineDate: $timelineDate
    historicalDeltaDays: $historicalDeltaDays
    first: 10
  ) {
    nodes {
      accountId
      accountName
      deltaHits
      objectType
      platform
      totalHits
    }
    pageInfo {
      hasNextPage
      endCursor
    }
  }
}
{
  "timelineDate": "example-string",
  "historicalDeltaDays": 0
}
{
  "data": {
    "objectTypeAccessSummary": {
      "nodes": [
        [
          {
            "accountId": "example-string",
            "accountName": "example-string",
            "deltaHits": 0,
            "objectType": "AWS_NATIVE_DYNAMODB_TABLE",
            "platform": "PLATFORM_AWS",
            "totalHits": 0
          }
        ]
      ],
      "pageInfo": {
        "endCursor": "example-string",
        "hasNextPage": true,
        "hasPreviousPage": true,
        "startCursor": "example-string"
      }
    }
  }
}