- MatchingEntityGroup
Filter options for policies page including dynamic ranges
Range of issues count across all policies
Range of last executed dates across all policies
{ "issuesCountRange": { "__typename": "IntRange" }, "lastExecutedAtRange": { "__typename": "DateTimeRange" } }
Response type for policies query containing items and total count
List of policies matching the filter
Total count of policies matching the filter (ignoring pagination)
Aggregated statistics for the filtered policies (computed lazily via field resolver)
Implements interfaces
{ "items": [ { "__typename": "Policy" } ], "total": 40, "aggregations": { "__typename": "PolicyAggregations" } }
Result of testing agent-based policy conditions. Shows preview of agents that would be impacted by this policy.
Agents that match the policy conditions
Total number of matching agents
{ "matchingAgents": [ { "__typename": "Agent" } ], "totalMatches": 40 }
Preview of policy impact before applying changes. Shows matching entities.
Entities that match the policy conditions
{ "matchingEntities": [ { "__typename": "MatchingEntityGroup" } ] }
AI-generated policy metadata (title and description)
AI-generated title for the policy (5-8 words)
AI-generated description explaining what this policy does (1-3 sentences)
{ "title": "Example String", "description": "Example String" }
Group of entities matching the policy conditions
Number of entities matching
Event type that triggers this
{ "count": 40, "eventType": "AGENT_CREATED" }
Distribution of items by status
Status value
Status value
Number of policies with this mode
Percentage of policies with this status
{ "mode": "DRAFT", "status": "ACTIVE", "count": 40, "percentage": 40 }
Distribution of items by environment type (reusable across entities)
Environment type category
Number of items in this environment type
Percentage of items in this environment type
{ "environmentType": "PRODUCTION", "count": 40, "percentage": 40 }
Distribution of items by specific environment name
Specific environment name
Number of items in this environment
Percentage of items in this environment
{ "environment": "Example String", "count": 40, "percentage": 40 }
Aggregated statistics for policies
Total number of policies matching the filter
Percentage of production environments covered by policies (includes Unspecified)
Distribution of policies by status (Active/Disabled)
Distribution of policies across environment types
Distribution of policies across specific environment names
{ "total": 40, "productionCoverage": 40, "byStatus": [ { "__typename": "StatusDistribution" } ], "byEnvironmentType": [ { "__typename": "EnvironmentTypeDistribution" } ], "byEnvironment": [ { "__typename": "EnvironmentDistribution" } ] }
Represents a user in the system
{ "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "firstName": "Example String", "lastName": "Example String", "email": "Example String", "role": "ADMIN", "createdAt": "Example Custom Scalar", "updatedAt": "Example Custom Scalar", "status": "ENABLED" }