@highflame/policy 2.2.27 → 2.2.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_schemas/agent_ops/context.json +292 -5
- package/_schemas/agent_ops/schema.cedarschema +167 -0
- package/_schemas/agent_ops/templates/profiles/data_processing.cedar +114 -0
- package/_schemas/agent_ops/templates/profiles/gpu_training.cedar +117 -0
- package/_schemas/agent_ops/templates/profiles/locked_down.cedar +118 -0
- package/_schemas/agent_ops/templates/profiles/network_dev.cedar +117 -0
- package/_schemas/agent_ops/templates/templates.json +41 -0
- package/dist/actions.gen.d.ts +1 -0
- package/dist/actions.gen.js +1 -0
- package/dist/agent_ops-context.gen.d.ts +18 -1
- package/dist/agent_ops-context.gen.js +34 -0
- package/dist/agent_ops-defaults.gen.d.ts +1 -1
- package/dist/agent_ops-defaults.gen.js +548 -0
- package/dist/agent_ops-entities.gen.js +5 -1
- package/dist/schema.gen.d.ts +1 -1
- package/dist/schema.gen.js +1 -0
- package/dist/service-schemas.gen.d.ts +1 -1
- package/dist/service-schemas.gen.js +216 -5
- package/package.json +1 -1
|
@@ -36,12 +36,23 @@ export const AgentOpsContextKey = {
|
|
|
36
36
|
DetectedThreats: 'detected_threats',
|
|
37
37
|
DetectorCount: 'detector_count',
|
|
38
38
|
Direction: 'direction',
|
|
39
|
+
EgressHosts: 'egress_hosts',
|
|
39
40
|
EncodedContentDetected: 'encoded_content_detected',
|
|
40
41
|
EncodedCount: 'encoded_count',
|
|
41
42
|
EncodedScore: 'encoded_score',
|
|
42
43
|
EncodedTypes: 'encoded_types',
|
|
43
44
|
Event: 'event',
|
|
45
|
+
ExecAllowlist: 'exec_allowlist',
|
|
44
46
|
FactualityScore: 'factuality_score',
|
|
47
|
+
FlowCompartments: 'flow_compartments',
|
|
48
|
+
FlowConfidentiality: 'flow_confidentiality',
|
|
49
|
+
FlowDataTypes: 'flow_data_types',
|
|
50
|
+
FlowIntegrity: 'flow_integrity',
|
|
51
|
+
FlowOrigins: 'flow_origins',
|
|
52
|
+
FlowResolutionStatus: 'flow_resolution_status',
|
|
53
|
+
FlowSink: 'flow_sink',
|
|
54
|
+
FlowSinkEffects: 'flow_sink_effects',
|
|
55
|
+
FlowSinkIsExternal: 'flow_sink_is_external',
|
|
45
56
|
HallucinationScore: 'hallucination_score',
|
|
46
57
|
HateSpeechScore: 'hate_speech_score',
|
|
47
58
|
HighestSeverity: 'highest_severity',
|
|
@@ -56,6 +67,7 @@ export const AgentOpsContextKey = {
|
|
|
56
67
|
InvisibleCharsScore: 'invisible_chars_score',
|
|
57
68
|
IsEnglish: 'is_english',
|
|
58
69
|
IsLatinScript: 'is_latin_script',
|
|
70
|
+
IsolationTier: 'isolation_tier',
|
|
59
71
|
JailbreakDeepContextScore: 'jailbreak_deep_context_score',
|
|
60
72
|
JailbreakPulseScore: 'jailbreak_pulse_score',
|
|
61
73
|
JailbreakScore: 'jailbreak_score',
|
|
@@ -72,9 +84,11 @@ export const AgentOpsContextKey = {
|
|
|
72
84
|
McpServer: 'mcp_server',
|
|
73
85
|
McpServerVerified: 'mcp_server_verified',
|
|
74
86
|
McpTool: 'mcp_tool',
|
|
87
|
+
MechanismCapabilities: 'mechanism_capabilities',
|
|
75
88
|
ModelName: 'model_name',
|
|
76
89
|
ModelProvider: 'model_provider',
|
|
77
90
|
MultiTurnDetection: 'multi_turn_detection',
|
|
91
|
+
NetworkEgress: 'network_egress',
|
|
78
92
|
ParamTypeViolation: 'param_type_violation',
|
|
79
93
|
ParamTypeViolations: 'param_type_violations',
|
|
80
94
|
Path: 'path',
|
|
@@ -88,6 +102,8 @@ export const AgentOpsContextKey = {
|
|
|
88
102
|
PiiScore: 'pii_score',
|
|
89
103
|
PiiTypes: 'pii_types',
|
|
90
104
|
Principal: 'principal',
|
|
105
|
+
PrincipalClearances: 'principal_clearances',
|
|
106
|
+
PrincipalCompartments: 'principal_compartments',
|
|
91
107
|
PrivilegeScope: 'privilege_scope',
|
|
92
108
|
ProfanityScore: 'profanity_score',
|
|
93
109
|
RequestId: 'request_id',
|
|
@@ -143,6 +159,7 @@ export const AgentOpsContextKey = {
|
|
|
143
159
|
ViolenceScore: 'violence_score',
|
|
144
160
|
WeaponsScore: 'weapons_score',
|
|
145
161
|
WorkspaceRoot: 'workspace_root',
|
|
162
|
+
WritablePaths: 'writable_paths',
|
|
146
163
|
};
|
|
147
164
|
/**
|
|
148
165
|
* The full set of authorable context attribute keys for AgentOps.
|
|
@@ -178,12 +195,23 @@ export const AgentOpsContextKeys = [
|
|
|
178
195
|
AgentOpsContextKey.DetectedThreats,
|
|
179
196
|
AgentOpsContextKey.DetectorCount,
|
|
180
197
|
AgentOpsContextKey.Direction,
|
|
198
|
+
AgentOpsContextKey.EgressHosts,
|
|
181
199
|
AgentOpsContextKey.EncodedContentDetected,
|
|
182
200
|
AgentOpsContextKey.EncodedCount,
|
|
183
201
|
AgentOpsContextKey.EncodedScore,
|
|
184
202
|
AgentOpsContextKey.EncodedTypes,
|
|
185
203
|
AgentOpsContextKey.Event,
|
|
204
|
+
AgentOpsContextKey.ExecAllowlist,
|
|
186
205
|
AgentOpsContextKey.FactualityScore,
|
|
206
|
+
AgentOpsContextKey.FlowCompartments,
|
|
207
|
+
AgentOpsContextKey.FlowConfidentiality,
|
|
208
|
+
AgentOpsContextKey.FlowDataTypes,
|
|
209
|
+
AgentOpsContextKey.FlowIntegrity,
|
|
210
|
+
AgentOpsContextKey.FlowOrigins,
|
|
211
|
+
AgentOpsContextKey.FlowResolutionStatus,
|
|
212
|
+
AgentOpsContextKey.FlowSink,
|
|
213
|
+
AgentOpsContextKey.FlowSinkEffects,
|
|
214
|
+
AgentOpsContextKey.FlowSinkIsExternal,
|
|
187
215
|
AgentOpsContextKey.HallucinationScore,
|
|
188
216
|
AgentOpsContextKey.HateSpeechScore,
|
|
189
217
|
AgentOpsContextKey.HighestSeverity,
|
|
@@ -198,6 +226,7 @@ export const AgentOpsContextKeys = [
|
|
|
198
226
|
AgentOpsContextKey.InvisibleCharsScore,
|
|
199
227
|
AgentOpsContextKey.IsEnglish,
|
|
200
228
|
AgentOpsContextKey.IsLatinScript,
|
|
229
|
+
AgentOpsContextKey.IsolationTier,
|
|
201
230
|
AgentOpsContextKey.JailbreakDeepContextScore,
|
|
202
231
|
AgentOpsContextKey.JailbreakPulseScore,
|
|
203
232
|
AgentOpsContextKey.JailbreakScore,
|
|
@@ -214,9 +243,11 @@ export const AgentOpsContextKeys = [
|
|
|
214
243
|
AgentOpsContextKey.McpServer,
|
|
215
244
|
AgentOpsContextKey.McpServerVerified,
|
|
216
245
|
AgentOpsContextKey.McpTool,
|
|
246
|
+
AgentOpsContextKey.MechanismCapabilities,
|
|
217
247
|
AgentOpsContextKey.ModelName,
|
|
218
248
|
AgentOpsContextKey.ModelProvider,
|
|
219
249
|
AgentOpsContextKey.MultiTurnDetection,
|
|
250
|
+
AgentOpsContextKey.NetworkEgress,
|
|
220
251
|
AgentOpsContextKey.ParamTypeViolation,
|
|
221
252
|
AgentOpsContextKey.ParamTypeViolations,
|
|
222
253
|
AgentOpsContextKey.Path,
|
|
@@ -230,6 +261,8 @@ export const AgentOpsContextKeys = [
|
|
|
230
261
|
AgentOpsContextKey.PiiScore,
|
|
231
262
|
AgentOpsContextKey.PiiTypes,
|
|
232
263
|
AgentOpsContextKey.Principal,
|
|
264
|
+
AgentOpsContextKey.PrincipalClearances,
|
|
265
|
+
AgentOpsContextKey.PrincipalCompartments,
|
|
233
266
|
AgentOpsContextKey.PrivilegeScope,
|
|
234
267
|
AgentOpsContextKey.ProfanityScore,
|
|
235
268
|
AgentOpsContextKey.RequestId,
|
|
@@ -285,4 +318,5 @@ export const AgentOpsContextKeys = [
|
|
|
285
318
|
AgentOpsContextKey.ViolenceScore,
|
|
286
319
|
AgentOpsContextKey.WeaponsScore,
|
|
287
320
|
AgentOpsContextKey.WorkspaceRoot,
|
|
321
|
+
AgentOpsContextKey.WritablePaths,
|
|
288
322
|
];
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* AgentOps policy category identifiers.
|
|
3
3
|
* Maps to UI tab names in Studio.
|
|
4
4
|
*/
|
|
5
|
-
export type AgentOpsCategory = 'threat-detection' | 'data-protection' | 'agent-security' | 'tool-permissioning' | 'code-security' | 'content-safety' | 'organization';
|
|
5
|
+
export type AgentOpsCategory = 'threat-detection' | 'data-protection' | 'agent-security' | 'tool-permissioning' | 'code-security' | 'content-safety' | 'organization' | 'sandbox';
|
|
6
6
|
/**
|
|
7
7
|
* Category metadata for UI display.
|
|
8
8
|
*/
|