- listDataSourceTypes
Arguments
Return type
Accessquery accessChannels(
$filter: AccessChannelFilterInput
$orderBy: [AccessChannelOrderByInput!]
$limit: Int
$offset: Int
) {
accessChannels(
filter: $filter
orderBy: $orderBy
limit: $limit
offset: $offset
) {
items {
__typename
# ...InventoryAccessChannelListItemFragment
}
total
}
}{ "filter": { "id": { "__typename": "StringFilter" }, "search": "Example String", "enabled": { "__typename": "BooleanFilter" }, "type": { "__typename": "StringFilter" }, "environment": { "__typename": "EnvironmentFilter" }, "findings": { "__typename": "FindingFilter" } }, "orderBy": [ { "field": "NAME", "direction": "ASC" } ], "limit": 40, "offset": 40 }
{ "data": { "items": [ { "__typename": "InventoryAccessChannelListItem" } ], "total": 40 } }
Arguments
Return type
Inventoryquery accessChannel($id: ID!) {
accessChannel(id: $id) {
id
externalId
name
type
enabled
environment {
__typename
# ...EnvironmentFragment
}
createdAt
updatedAt
metadata
agent {
__typename
# ...InventoryAgentFragment
}
findings {
__typename
# ...FindingFragment
}
issues {
__typename
# ...IssueFragment
}
detections {
__typename
# ...DetectionTypeAggregationFragment
}
}
}{ "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4" }
{ "data": { "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "externalId": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "name": "Example String", "type": "Example String", "enabled": true, "environment": { "__typename": "Environment" }, "createdAt": "Example Custom Scalar", "updatedAt": "Example Custom Scalar", "metadata": "Example Custom Scalar", "agent": { "__typename": "InventoryAgent" }, "findings": [ { "__typename": "Finding" } ], "issues": [ { "__typename": "Issue" } ], "detections": [ { "__typename": "DetectionTypeAggregation" } ] } }
Return type
Inventoryquery inventoryCategories {
inventoryCategories {
categories {
__typename
# ...InventoryCategoryFragment
}
}
}{ "data": { "categories": [ { "__typename": "InventoryCategory" } ] } }
Return type
[String!]!The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
query listToolTypes {
listToolTypes
}{ "data": [ "Example String" ] }
Arguments
Return type
[Toolquery topToolByExternalType(
$limit: Int
$before: DateTime
$after: DateTime
) {
topToolByExternalType(
limit: $limit
before: $before
after: $after
) {
type
count
}
}{ "limit": 40, "before": "Example Custom Scalar", "after": "Example Custom Scalar" }
{ "data": [ { "type": "Example String", "count": 40 } ] }
Return type
[String!]!The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
query listDataSourceTypes {
listDataSourceTypes
}{ "data": [ "Example String" ] }
Return type
[String!]!The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
query listChannelTypes {
listChannelTypes
}{ "data": [ "Example String" ] }
Arguments
Return type
[Sessionquery sessionActivities($sessionId: ID!) {
sessionActivities(sessionId: $sessionId) {
id
type
timestamp
agent {
__typename
# ...AgentFragment
}
message
policy {
__typename
# ...PolicyFragment
}
issue {
__typename
# ...IssueFragment
}
}
}{ "sessionId": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4" }
{ "data": [ { "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "type": "SESSION", "timestamp": "Example Custom Scalar", "agent": { "__typename": "Agent" }, "message": "Example String", "policy": { "__typename": "Policy" }, "issue": { "__typename": "Issue" } } ] }
Arguments
Return type
[Session!]!Detections that were created as part of the session
Violations that were created as part of the session.
query sessions(
$filter: SessionFilter
$orderBy: [SessionOrderByInput!]
$limit: Int
$offset: Int
) {
sessions(
filter: $filter
orderBy: $orderBy
limit: $limit
offset: $offset
) {
type
timestamp
agent {
__typename
# ...AgentFragment
}
message
sessionId
detections {
__typename
# ...DetectionFragment
}
violations {
__typename
# ...ViolationPreviewFragment
}
}
}{ "filter": { "sessionId": { "__typename": "StringFilter" }, "activityType": { "__typename": "ActivityTypeFilter" }, "dateRange": { "__typename": "DateTimeFilter" }, "agent": { "__typename": "AgentReferenceFilter" }, "search": "Example String", "findingType": { "__typename": "FindingTypeFilter" }, "issue": { "__typename": "IssueReferenceFilter" }, "detections": { "__typename": "DetectionFilter" }, "tool": { "__typename": "ToolReferenceFilter" }, "dataSource": { "__typename": "DataSourceReferenceFilter" }, "accessChannel": { "__typename": "AccessChannelReferenceFilter" } }, "orderBy": [ { "field": "TIMESTAMP", "direction": "ASC" } ], "limit": 40, "offset": 40 }
{ "data": [ { "type": "SESSION", "timestamp": "Example Custom Scalar", "agent": { "__typename": "Agent" }, "message": "Example String", "sessionId": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "detections": [ { "__typename": "Detection" } ], "violations": [ { "__typename": "ViolationPreview" } ] } ] }
Arguments
Return type
Int!The Int scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
query sessionsCount($filter: SessionFilter) {
sessionsCount(filter: $filter)
}{ "filter": { "sessionId": { "__typename": "StringFilter" }, "activityType": { "__typename": "ActivityTypeFilter" }, "dateRange": { "__typename": "DateTimeFilter" }, "agent": { "__typename": "AgentReferenceFilter" }, "search": "Example String", "findingType": { "__typename": "FindingTypeFilter" }, "issue": { "__typename": "IssueReferenceFilter" }, "detections": { "__typename": "DetectionFilter" }, "tool": { "__typename": "ToolReferenceFilter" }, "dataSource": { "__typename": "DataSourceReferenceFilter" }, "accessChannel": { "__typename": "AccessChannelReferenceFilter" } } }
{ "data": 40 }
Arguments
Return type
Activitiesquery activitiesTimelineChart($input: TimelineQueryInput!) {
activitiesTimelineChart(input: $input) {
metadata {
__typename
# ...TimelineQueryMetadataFragment
}
bins {
__typename
# ...ActivitiesTimelineBinFragment
}
totalActivities
totalIndicators
}
}{ "input": { "timeRange": { "__typename": "DateTimeFilter" }, "binCount": 40, "timezone": "Example String", "filters": { "__typename": "SessionFilter" } } }
{ "data": { "metadata": { "__typename": "TimelineQueryMetadata" }, "bins": [ { "__typename": "ActivitiesTimelineBin" } ], "totalActivities": 40, "totalIndicators": 40 } }