API Reference
//
topAgentCountBySeverity
Download GraphQL schema
Arguments
agent Id
limit
before
after
Return type
Agentpage Info
items
Query sample
query agentAudit(
$agentId: ID!
$limit: Int
$before: DateTime
$after: DateTime
) {
agentAudit(
agentId: $agentId
limit: $limit
before: $before
after: $after
) {
pageInfo {
hasNextPage
}
items {
__typename
# ...AgentAuditFragment
}
}
}Variables
{ "agentId": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "limit": 40, "before": "Example Custom Scalar", "after": "Example Custom Scalar" }
Response sample
{ "data": { "pageInfo": { "hasNextPage": true }, "items": [ { "__typename": "AgentAudit" } ] } }
Arguments
limit
before
after
Return type
[AgentQuery sample
query topAgentCountByOwner(
$limit: Int
$before: DateTime
$after: DateTime
) {
topAgentCountByOwner(
limit: $limit
before: $before
after: $after
) {
owner {
__typename
# ...OwnerFragment
}
count
}
}Variables
{ "limit": 40, "before": "Example Custom Scalar", "after": "Example Custom Scalar" }
Response sample
{ "data": [ { "owner": { "__typename": "Owner" }, "count": 40 } ] }
Arguments
limit
before
after
Return type
[Agentenvironment
count
Query sample
query topAgentCountByEnvironment(
$limit: Int
$before: DateTime
$after: DateTime
) {
topAgentCountByEnvironment(
limit: $limit
before: $before
after: $after
) {
environment {
__typename
# ...EnvironmentFragment
}
count
}
}Variables
{ "limit": 40, "before": "Example Custom Scalar", "after": "Example Custom Scalar" }
Response sample
{ "data": [ { "environment": { "__typename": "Environment" }, "count": 40 } ] }
Arguments
limit
before
after
Return type
[AgentQuery sample
query topAgentCountByPlatform(
$limit: Int
$before: DateTime
$after: DateTime
) {
topAgentCountByPlatform(
limit: $limit
before: $before
after: $after
) {
platform {
__typename
# ...PlatformFragment
}
count
}
}Variables
{ "limit": 40, "before": "Example Custom Scalar", "after": "Example Custom Scalar" }
Response sample
{ "data": [ { "platform": { "__typename": "Platform" }, "count": 40 } ] }
Arguments
limit
before
after
Return type
[Agentaccessibility
count
Query sample
query topAgentCountByAccessibility(
$limit: Int
$before: DateTime
$after: DateTime
) {
topAgentCountByAccessibility(
limit: $limit
before: $before
after: $after
) {
accessibility
count
}
}Variables
{ "limit": 40, "before": "Example Custom Scalar", "after": "Example Custom Scalar" }
Response sample
{ "data": [ { "accessibility": "PUBLIC", "count": 40 } ] }
Arguments
filter
limit
before
after
Return type
[Agentseverity
count
Query sample
query topAgentCountBySeverity(
$filter: AgentFilter
$limit: Int
$before: DateTime
$after: DateTime
) {
topAgentCountBySeverity(
filter: $filter
limit: $limit
before: $before
after: $after
) {
severity
count
}
}Variables
{ "filter": { "search": "Example String", "severity": { "__typename": "SeverityFilter" }, "platform": { "__typename": "PlatformFilter" }, "environment": { "__typename": "EnvironmentFilter" }, "accessibility": { "__typename": "AccessibilityFilter" }, "owner": { "__typename": "OwnerFilter" }, "tools": { "__typename": "ToolFilter" } }, "limit": 40, "before": "Example Custom Scalar", "after": "Example Custom Scalar" }
Response sample
{ "data": [ { "severity": "LOW", "count": 40 } ] }
Arguments
limit
before
after
Return type
[AgentQuery sample
query topAgentCountByTool(
$limit: Int
$before: DateTime
$after: DateTime
) {
topAgentCountByTool(
limit: $limit
before: $before
after: $after
) {
tool {
__typename
# ...ToolFragment
}
count
}
}Variables
{ "limit": 40, "before": "Example Custom Scalar", "after": "Example Custom Scalar" }
Response sample
{ "data": [ { "tool": { "__typename": "Tool" }, "count": 40 } ] }
Arguments
limit
before
after
Return type
[Agentdata Source
count
Query sample
query topAgentCountByDataSource(
$limit: Int
$before: DateTime
$after: DateTime
) {
topAgentCountByDataSource(
limit: $limit
before: $before
after: $after
) {
dataSource {
__typename
# ...DataSourceFragment
}
count
}
}Variables
{ "limit": 40, "before": "Example Custom Scalar", "after": "Example Custom Scalar" }
Response sample
{ "data": [ { "dataSource": { "__typename": "DataSource" }, "count": 40 } ] }
Arguments
limit
before
after
Return type
[Agentcategory
count
Query sample
query topAgentCountByRiskCategory(
$limit: Int
$before: DateTime
$after: DateTime
) {
topAgentCountByRiskCategory(
limit: $limit
before: $before
after: $after
) {
category
count
}
}Variables
{ "limit": 40, "before": "Example Custom Scalar", "after": "Example Custom Scalar" }
Response sample
{ "data": [ { "category": "ACCESS", "count": 40 } ] }
Arguments
before
after
Return type
[AuditQuery sample
query auditTimeline($before: DateTime, $after: DateTime) {
auditTimeline(before: $before, after: $after) {
key
label
value
}
}Variables
{ "before": "Example Custom Scalar", "after": "Example Custom Scalar" }
Response sample
{ "data": [ { "key": "Example String", "label": "Example String", "value": 40 } ] }
Return type
Integrationstenant Id
items
Query sample
query integrations {
integrations {
tenantId
items {
__typename
# ...IntegrationFragment
}
}
}Response sample
{ "data": { "tenantId": "Example String", "items": [ { "__typename": "Integration" } ] } }