@highflame/policy 2.2.26 → 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/_schemas/guardrails/templates/mcp_server_allowlist.cedar +41 -0
- package/_schemas/guardrails/templates/templates.json +9 -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/guardrails-defaults.gen.js +60 -0
- 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
|
@@ -34,12 +34,23 @@ export declare const AgentOpsContextKey: {
|
|
|
34
34
|
readonly DetectedThreats: "detected_threats";
|
|
35
35
|
readonly DetectorCount: "detector_count";
|
|
36
36
|
readonly Direction: "direction";
|
|
37
|
+
readonly EgressHosts: "egress_hosts";
|
|
37
38
|
readonly EncodedContentDetected: "encoded_content_detected";
|
|
38
39
|
readonly EncodedCount: "encoded_count";
|
|
39
40
|
readonly EncodedScore: "encoded_score";
|
|
40
41
|
readonly EncodedTypes: "encoded_types";
|
|
41
42
|
readonly Event: "event";
|
|
43
|
+
readonly ExecAllowlist: "exec_allowlist";
|
|
42
44
|
readonly FactualityScore: "factuality_score";
|
|
45
|
+
readonly FlowCompartments: "flow_compartments";
|
|
46
|
+
readonly FlowConfidentiality: "flow_confidentiality";
|
|
47
|
+
readonly FlowDataTypes: "flow_data_types";
|
|
48
|
+
readonly FlowIntegrity: "flow_integrity";
|
|
49
|
+
readonly FlowOrigins: "flow_origins";
|
|
50
|
+
readonly FlowResolutionStatus: "flow_resolution_status";
|
|
51
|
+
readonly FlowSink: "flow_sink";
|
|
52
|
+
readonly FlowSinkEffects: "flow_sink_effects";
|
|
53
|
+
readonly FlowSinkIsExternal: "flow_sink_is_external";
|
|
43
54
|
readonly HallucinationScore: "hallucination_score";
|
|
44
55
|
readonly HateSpeechScore: "hate_speech_score";
|
|
45
56
|
readonly HighestSeverity: "highest_severity";
|
|
@@ -54,6 +65,7 @@ export declare const AgentOpsContextKey: {
|
|
|
54
65
|
readonly InvisibleCharsScore: "invisible_chars_score";
|
|
55
66
|
readonly IsEnglish: "is_english";
|
|
56
67
|
readonly IsLatinScript: "is_latin_script";
|
|
68
|
+
readonly IsolationTier: "isolation_tier";
|
|
57
69
|
readonly JailbreakDeepContextScore: "jailbreak_deep_context_score";
|
|
58
70
|
readonly JailbreakPulseScore: "jailbreak_pulse_score";
|
|
59
71
|
readonly JailbreakScore: "jailbreak_score";
|
|
@@ -70,9 +82,11 @@ export declare const AgentOpsContextKey: {
|
|
|
70
82
|
readonly McpServer: "mcp_server";
|
|
71
83
|
readonly McpServerVerified: "mcp_server_verified";
|
|
72
84
|
readonly McpTool: "mcp_tool";
|
|
85
|
+
readonly MechanismCapabilities: "mechanism_capabilities";
|
|
73
86
|
readonly ModelName: "model_name";
|
|
74
87
|
readonly ModelProvider: "model_provider";
|
|
75
88
|
readonly MultiTurnDetection: "multi_turn_detection";
|
|
89
|
+
readonly NetworkEgress: "network_egress";
|
|
76
90
|
readonly ParamTypeViolation: "param_type_violation";
|
|
77
91
|
readonly ParamTypeViolations: "param_type_violations";
|
|
78
92
|
readonly Path: "path";
|
|
@@ -86,6 +100,8 @@ export declare const AgentOpsContextKey: {
|
|
|
86
100
|
readonly PiiScore: "pii_score";
|
|
87
101
|
readonly PiiTypes: "pii_types";
|
|
88
102
|
readonly Principal: "principal";
|
|
103
|
+
readonly PrincipalClearances: "principal_clearances";
|
|
104
|
+
readonly PrincipalCompartments: "principal_compartments";
|
|
89
105
|
readonly PrivilegeScope: "privilege_scope";
|
|
90
106
|
readonly ProfanityScore: "profanity_score";
|
|
91
107
|
readonly RequestId: "request_id";
|
|
@@ -141,10 +157,11 @@ export declare const AgentOpsContextKey: {
|
|
|
141
157
|
readonly ViolenceScore: "violence_score";
|
|
142
158
|
readonly WeaponsScore: "weapons_score";
|
|
143
159
|
readonly WorkspaceRoot: "workspace_root";
|
|
160
|
+
readonly WritablePaths: "writable_paths";
|
|
144
161
|
};
|
|
145
162
|
export type AgentOpsContextKey = (typeof AgentOpsContextKey)[keyof typeof AgentOpsContextKey];
|
|
146
163
|
/**
|
|
147
164
|
* The full set of authorable context attribute keys for AgentOps.
|
|
148
165
|
* Iterate this to enumerate the authorable surface (cockpit, conformance).
|
|
149
166
|
*/
|
|
150
|
-
export declare const AgentOpsContextKeys: readonly ["agent_framework", "agent_id", "agent_publisher", "agent_trust_level", "agent_type", "budget_exceeded", "budget_remaining_pct", "code_languages", "code_ratio", "command_injection_detected", "command_injection_score", "command_injection_type", "contains_code", "contains_non_ascii", "content_safety_blocked", "content_safety_score", "content_topics", "content_type", "conversation_turn", "crime_score", "cross_origin_detected", "cross_origin_score", "cross_origin_type", "cwd", "detected_language", "detected_script", "detected_threats", "detector_count", "direction", "encoded_content_detected", "encoded_count", "encoded_score", "encoded_types", "event", "factuality_score", "hallucination_score", "hate_speech_score", "highest_severity", "identity_type", "indirect_injection_score", "indirect_injection_type", "injection_deep_context_score", "injection_pulse_score", "injection_score", "injection_type", "invisible_chars_detected", "invisible_chars_score", "is_english", "is_latin_script", "jailbreak_deep_context_score", "jailbreak_pulse_score", "jailbreak_score", "keyword_categories", "keyword_count", "keyword_matched", "language_confidence", "loop_count", "loop_detected", "loop_tool", "mcp_config_risk", "mcp_risk_score", "mcp_risk_type", "mcp_server", "mcp_server_verified", "mcp_tool", "model_name", "model_provider", "multi_turn_detection", "param_type_violation", "param_type_violations", "path", "path_traversal_detected", "path_traversal_severity", "path_traversal_type", "pattern_type", "phishing_detected", "pii_count", "pii_detected", "pii_score", "pii_types", "principal", "privilege_scope", "profanity_score", "request_id", "role", "rpm_exceeded", "rpm_remaining_pct", "rug_pull_detected", "rug_pull_score", "rug_pull_type", "script_confidence", "secret_count", "secret_types", "secrets_detected", "sentiment_score", "sequence_risk", "session_command_injection", "session_cumulative_risk_score", "session_injection_detected", "session_max_command_injection_score", "session_max_injection_score", "session_max_jailbreak_score", "session_max_pii_score", "session_max_secret_score", "session_max_sensitivity", "session_original_request", "session_pii_detected", "session_pii_types", "session_secret_types", "session_secrets_detected", "session_threat_turns", "sexual_score", "source", "sql_injection_detected", "sql_injection_score", "sql_injection_type", "suspicious_pattern", "threat_categories", "threat_count", "timestamp", "tool_category", "tool_is_builtin", "tool_is_sensitive", "tool_name", "tool_operation_classes", "tool_poisoning_detected", "tool_poisoning_score", "tool_poisoning_type", "tool_risk_score", "topic_confidence", "tpm_exceeded", "tpm_remaining_pct", "user_email", "violence_score", "weapons_score", "workspace_root"];
|
|
167
|
+
export declare const AgentOpsContextKeys: readonly ["agent_framework", "agent_id", "agent_publisher", "agent_trust_level", "agent_type", "budget_exceeded", "budget_remaining_pct", "code_languages", "code_ratio", "command_injection_detected", "command_injection_score", "command_injection_type", "contains_code", "contains_non_ascii", "content_safety_blocked", "content_safety_score", "content_topics", "content_type", "conversation_turn", "crime_score", "cross_origin_detected", "cross_origin_score", "cross_origin_type", "cwd", "detected_language", "detected_script", "detected_threats", "detector_count", "direction", "egress_hosts", "encoded_content_detected", "encoded_count", "encoded_score", "encoded_types", "event", "exec_allowlist", "factuality_score", "flow_compartments", "flow_confidentiality", "flow_data_types", "flow_integrity", "flow_origins", "flow_resolution_status", "flow_sink", "flow_sink_effects", "flow_sink_is_external", "hallucination_score", "hate_speech_score", "highest_severity", "identity_type", "indirect_injection_score", "indirect_injection_type", "injection_deep_context_score", "injection_pulse_score", "injection_score", "injection_type", "invisible_chars_detected", "invisible_chars_score", "is_english", "is_latin_script", "isolation_tier", "jailbreak_deep_context_score", "jailbreak_pulse_score", "jailbreak_score", "keyword_categories", "keyword_count", "keyword_matched", "language_confidence", "loop_count", "loop_detected", "loop_tool", "mcp_config_risk", "mcp_risk_score", "mcp_risk_type", "mcp_server", "mcp_server_verified", "mcp_tool", "mechanism_capabilities", "model_name", "model_provider", "multi_turn_detection", "network_egress", "param_type_violation", "param_type_violations", "path", "path_traversal_detected", "path_traversal_severity", "path_traversal_type", "pattern_type", "phishing_detected", "pii_count", "pii_detected", "pii_score", "pii_types", "principal", "principal_clearances", "principal_compartments", "privilege_scope", "profanity_score", "request_id", "role", "rpm_exceeded", "rpm_remaining_pct", "rug_pull_detected", "rug_pull_score", "rug_pull_type", "script_confidence", "secret_count", "secret_types", "secrets_detected", "sentiment_score", "sequence_risk", "session_command_injection", "session_cumulative_risk_score", "session_injection_detected", "session_max_command_injection_score", "session_max_injection_score", "session_max_jailbreak_score", "session_max_pii_score", "session_max_secret_score", "session_max_sensitivity", "session_original_request", "session_pii_detected", "session_pii_types", "session_secret_types", "session_secrets_detected", "session_threat_turns", "sexual_score", "source", "sql_injection_detected", "sql_injection_score", "sql_injection_type", "suspicious_pattern", "threat_categories", "threat_count", "timestamp", "tool_category", "tool_is_builtin", "tool_is_sensitive", "tool_name", "tool_operation_classes", "tool_poisoning_detected", "tool_poisoning_score", "tool_poisoning_type", "tool_risk_score", "topic_confidence", "tpm_exceeded", "tpm_remaining_pct", "user_email", "violence_score", "weapons_score", "workspace_root", "writable_paths"];
|
|
@@ -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
|
*/
|