Skip to content

GraphQL Overview

Download GraphQL schema

Queries

Overview

Mutations

Overview

Objects

Overview

EvidenceGraphEdge

id
ID!,non-null
source
ID!,non-null
target
ID!,non-null
Sample
{ "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "source": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "target": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4" }
Referenced in

EvidenceGraph

Graph representation showing related entities as evidence

nodes
edges
Sample
{ "nodes": [ { "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "name": "Example String", "title": "Example String", "type": "INSTRUCTIONS_NOT_CLEAR", "evidence": "Example Custom Scalar", "createdAt": "Example Custom Scalar" } ], "edges": [ { "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "source": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "target": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4" } ] }
Referenced in

ViolationPreview

Preview of an issue with minimal fields for display in lists and indicators

id
ID!,non-null

Unique identifier for the issue

name
String!,non-null

Brief title describing the issue (mapped from Issue.title)

severity

Severity level of the issue

Implements interfaces

Sample
{ "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "name": "Example String", "severity": "LOW" }

Issue

Represents a security or compliance issue identified in an agent

id
ID!,non-null

Unique identifier for the issue

title
String

Brief title describing the issue

severity

Severity level of the issue

reasoning
String!,non-null

Detailed explanation of why this is an issue

status
IssueStatus!,non-null

Current status of the issue

Category classifying the type of risk

assignee

User assigned to resolve this issue

createdAt

When the issue was first identified

updatedAt

When the issue was last modified

remediationSteps

Steps required to remediate this issue

agent
Agent!,non-null

The agent where this issue was identified

policy

The policy that generated this issue

findings
[Finding!]!,non-null

Findings that are associated with this issue

detections
[Detection!]!,non-null

Runtime detections that are associated with this issue

graph

Graph showing data flow related to this issue (DataSource → Agent → Tool → Policy)

timeframe

Timeframe of activities related to this issue. Returns null if not available.

Sample
{ "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "title": "Example String", "severity": "LOW", "reasoning": "Example String", "status": "OPEN", "category": "ACCESS", "assignee": { "__typename": "Owner" }, "createdAt": "Example Custom Scalar", "updatedAt": "Example Custom Scalar", "remediationSteps": [ { "__typename": "RemediationStep" } ], "agent": { "__typename": "Agent" }, "policy": { "__typename": "Policy" }, "findings": [ { "__typename": "Finding" } ], "detections": [ { "__typename": "Detection" } ], "graph": { "__typename": "EvidenceGraph" }, "timeframe": { "__typename": "TimeRange" } }

Finding

Raw observations/detections on agents. The same finding may have different severity based on context.

id
ID!,non-null

Unique identifier for the finding

title
String!,non-null

Brief title describing the finding

type
FindingType!,non-null

Type of the finding

evidence

Evidence or reference links supporting the finding

detectedAt
DateTime!,non-null

When the finding was detected

issuesCount
Int!,non-null

Number of active issues linked to this finding

Sample
{ "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "title": "Example String", "type": "INSTRUCTIONS_NOT_CLEAR", "evidence": "Example Custom Scalar", "detectedAt": "Example Custom Scalar", "issuesCount": 40 }

FindingFilterOutput

Filter for findings (output - mirrors FindingFilter input)

Filter by finding type

Filter by finding ID

Sample
{ "type": { "__typename": "FindingTypeFilterOutput" }, "id": { "__typename": "StringFilterOutput" } }

FindingTypeFilterOutput

Filter for finding types (output - mirrors FindingTypeFilter input)

in

Finding types to include in the results

Operator to apply for matching finding types (IN = match if ANY type is present, AND = match if ALL types are present)

Sample
{ "in": [ "INSTRUCTIONS_NOT_CLEAR" ], "operator": "IN" }

Policy

Represents a policy that evaluates agent events and creates issues

id
ID!,non-null

Unique identifier for the policy

name
String!,non-null

Policy name

description
String

Detailed description of what the policy does

mode
PolicyMode!,non-null

Current enforcement mode of the policy

status
PolicyStatus!,non-null

Current status of the policy

trigger

Event that triggers policy evaluation

conditions

Conditions that must be met for the policy to match

actions

Actions to execute when policy conditions match

autoResolve
Boolean!,non-null

Automatically resolve issues when conditions are no longer met

isDefault
Boolean!,non-null

Indicates if this policy is a system default or custom/modified by the tenant

issuesCount
Int!,non-null

Number of issues created by this policy

lastExecutedAt

When the policy was last executed

createdAt
DateTime!,non-null

When the policy was created

updatedAt
DateTime!,non-null

When the policy was last updated

createdBy

User who created the policy

updatedBy

User who last updated the policy

version
Int!,non-null

Version number, incremented on each update

deletedAt

When the policy was soft-deleted (null if active)

environmentTypes

Effective environment types where this policy applies. Returns specific environments if conditions include environment filters, or all environments (Prod, Sandbox, Dev) if no environment filter is specified.

Sample
{ "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "name": "Example String", "description": "Example String", "mode": "DRAFT", "status": "ACTIVE", "trigger": { "__typename": "PolicyTrigger" }, "conditions": { "__typename": "PolicyConditionGroup" }, "actions": [ { "__typename": "PolicyAction" } ], "autoResolve": true, "isDefault": true, "issuesCount": 40, "lastExecutedAt": "Example Custom Scalar", "createdAt": "Example Custom Scalar", "updatedAt": "Example Custom Scalar", "createdBy": { "__typename": "Owner" }, "updatedBy": { "__typename": "Owner" }, "version": 40, "deletedAt": "Example Custom Scalar", "environmentTypes": [ "Prod" ] }

PolicyTrigger

Event that triggers policy evaluation

type

Type of trigger event

Sample
{ "type": "AGENT_CREATED" }
Referenced in

PolicyConditionGroup

Group of conditions combined with AND/OR logic. Supports agent properties, findings, and runtime detections.

Filter on agent properties (environment, platform, owner, etc.)

Filter on tool properties (for TOOL_INVOCATION trigger)

findingFilter

Filter on findings present on the agent (type, detectedAt)

detectionFilter

Filter on runtime detections on the agent

Sample
{ "agentFilter": { "__typename": "AgentFilterOutput" }, "toolFilter": { "__typename": "ToolFilterOutput" }, "findingFilter": { "__typename": "FindingFilterOutput" }, "detectionFilter": { "__typename": "DetectionFilterOutput" } }
Referenced in

PolicyAction

Action to execute when policy matches. Policy assigns severity based on context - the same finding can result in different severity issues.

type

Type of action to execute

params

Parameters for the action

Sample
{ "type": "CREATE_ISSUE", "params": { "__typename": "PolicyCreateIssueActionParams" } }
Referenced in

Interfaces

Overview

Unions

Overview

Enums

Overview

Inputs

Overview

Scalars

Overview