@highflame/policy 2.0.7 → 2.0.9

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.
Files changed (128) hide show
  1. package/_schemas/overwatch/context.json +163 -1
  2. package/_schemas/overwatch/schema.cedarschema +45 -0
  3. package/dist/actions.gen.d.ts +0 -1
  4. package/dist/actions.gen.js +0 -1
  5. package/dist/annotations.d.ts +0 -1
  6. package/dist/annotations.js +0 -1
  7. package/dist/builder.d.ts +0 -1
  8. package/dist/builder.js +0 -1
  9. package/dist/context.gen.d.ts +0 -1
  10. package/dist/context.gen.js +0 -1
  11. package/dist/engine.d.ts +0 -1
  12. package/dist/engine.js +0 -1
  13. package/dist/entities.gen.d.ts +0 -1
  14. package/dist/entities.gen.js +0 -1
  15. package/dist/entity-metadata-types.gen.d.ts +0 -1
  16. package/dist/entity-metadata-types.gen.js +0 -1
  17. package/dist/errors.d.ts +0 -1
  18. package/dist/errors.js +0 -1
  19. package/dist/index.d.ts +0 -1
  20. package/dist/index.js +0 -1
  21. package/dist/overwatch-context.gen.d.ts +13 -1
  22. package/dist/overwatch-context.gen.js +13 -1
  23. package/dist/overwatch-defaults.gen.d.ts +1 -2
  24. package/dist/overwatch-defaults.gen.js +346 -2
  25. package/dist/overwatch-entities.gen.d.ts +0 -1
  26. package/dist/overwatch-entities.gen.js +0 -1
  27. package/dist/palisade-context.gen.d.ts +0 -1
  28. package/dist/palisade-context.gen.js +0 -1
  29. package/dist/palisade-entities.gen.d.ts +0 -1
  30. package/dist/palisade-entities.gen.js +0 -1
  31. package/dist/parser.d.ts +0 -1
  32. package/dist/parser.js +0 -1
  33. package/dist/schema.gen.d.ts +0 -1
  34. package/dist/schema.gen.js +0 -1
  35. package/dist/schemas.d.ts +0 -1
  36. package/dist/schemas.js +0 -1
  37. package/dist/service-schemas.gen.d.ts +0 -1
  38. package/dist/service-schemas.gen.js +0 -1
  39. package/dist/types.d.ts +0 -1
  40. package/dist/types.js +0 -1
  41. package/package.json +1 -2
  42. package/dist/actions.gen.d.ts.map +0 -1
  43. package/dist/actions.gen.js.map +0 -1
  44. package/dist/annotations.d.ts.map +0 -1
  45. package/dist/annotations.js.map +0 -1
  46. package/dist/builder.d.ts.map +0 -1
  47. package/dist/builder.js.map +0 -1
  48. package/dist/context.gen.d.ts.map +0 -1
  49. package/dist/context.gen.js.map +0 -1
  50. package/dist/engine.d.ts.map +0 -1
  51. package/dist/engine.js.map +0 -1
  52. package/dist/engine.test.d.ts +0 -8
  53. package/dist/engine.test.d.ts.map +0 -1
  54. package/dist/engine.test.js +0 -190
  55. package/dist/engine.test.js.map +0 -1
  56. package/dist/entities.gen.d.ts.map +0 -1
  57. package/dist/entities.gen.js.map +0 -1
  58. package/dist/entity-metadata-types.gen.d.ts.map +0 -1
  59. package/dist/entity-metadata-types.gen.js.map +0 -1
  60. package/dist/errors.d.ts.map +0 -1
  61. package/dist/errors.js.map +0 -1
  62. package/dist/index.d.ts.map +0 -1
  63. package/dist/index.js.map +0 -1
  64. package/dist/overwatch-context.gen.d.ts.map +0 -1
  65. package/dist/overwatch-context.gen.js.map +0 -1
  66. package/dist/overwatch-defaults.gen.d.ts.map +0 -1
  67. package/dist/overwatch-defaults.gen.js.map +0 -1
  68. package/dist/overwatch-defaults.test.d.ts +0 -8
  69. package/dist/overwatch-defaults.test.d.ts.map +0 -1
  70. package/dist/overwatch-defaults.test.js +0 -145
  71. package/dist/overwatch-defaults.test.js.map +0 -1
  72. package/dist/overwatch-entities.gen.d.ts.map +0 -1
  73. package/dist/overwatch-entities.gen.js.map +0 -1
  74. package/dist/overwatch-rebac.test.d.ts +0 -25
  75. package/dist/overwatch-rebac.test.d.ts.map +0 -1
  76. package/dist/overwatch-rebac.test.js +0 -301
  77. package/dist/overwatch-rebac.test.js.map +0 -1
  78. package/dist/palisade-context.gen.d.ts.map +0 -1
  79. package/dist/palisade-context.gen.js.map +0 -1
  80. package/dist/palisade-entities.gen.d.ts.map +0 -1
  81. package/dist/palisade-entities.gen.js.map +0 -1
  82. package/dist/parser.d.ts.map +0 -1
  83. package/dist/parser.js.map +0 -1
  84. package/dist/parser.test.d.ts +0 -8
  85. package/dist/parser.test.d.ts.map +0 -1
  86. package/dist/parser.test.js +0 -212
  87. package/dist/parser.test.js.map +0 -1
  88. package/dist/schema.gen.d.ts.map +0 -1
  89. package/dist/schema.gen.js.map +0 -1
  90. package/dist/schemas.d.ts.map +0 -1
  91. package/dist/schemas.js.map +0 -1
  92. package/dist/schemas.test.d.ts +0 -8
  93. package/dist/schemas.test.d.ts.map +0 -1
  94. package/dist/schemas.test.js +0 -375
  95. package/dist/schemas.test.js.map +0 -1
  96. package/dist/service-schemas.gen.d.ts.map +0 -1
  97. package/dist/service-schemas.gen.js.map +0 -1
  98. package/dist/studio-ui.test.d.ts +0 -8
  99. package/dist/studio-ui.test.d.ts.map +0 -1
  100. package/dist/studio-ui.test.js +0 -687
  101. package/dist/studio-ui.test.js.map +0 -1
  102. package/dist/types.d.ts.map +0 -1
  103. package/dist/types.js.map +0 -1
  104. package/src/actions.gen.ts +0 -57
  105. package/src/annotations.ts +0 -243
  106. package/src/builder.ts +0 -799
  107. package/src/context.gen.ts +0 -10
  108. package/src/engine.test.ts +0 -370
  109. package/src/engine.ts +0 -497
  110. package/src/entities.gen.ts +0 -65
  111. package/src/entity-metadata-types.gen.ts +0 -19
  112. package/src/errors.ts +0 -195
  113. package/src/index.ts +0 -62
  114. package/src/overwatch-context.gen.ts +0 -32
  115. package/src/overwatch-defaults.gen.ts +0 -907
  116. package/src/overwatch-defaults.test.ts +0 -176
  117. package/src/overwatch-entities.gen.ts +0 -41
  118. package/src/overwatch-rebac.test.ts +0 -346
  119. package/src/palisade-context.gen.ts +0 -28
  120. package/src/palisade-entities.gen.ts +0 -49
  121. package/src/parser.test.ts +0 -251
  122. package/src/parser.ts +0 -579
  123. package/src/schema.gen.ts +0 -134
  124. package/src/schemas.test.ts +0 -445
  125. package/src/schemas.ts +0 -91
  126. package/src/service-schemas.gen.ts +0 -608
  127. package/src/studio-ui.test.ts +0 -813
  128. package/src/types.ts +0 -66
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "service": "overwatch",
3
- "version": "1.0.0",
3
+ "version": "2.0.0",
4
4
  "description": "Overwatch (Guardian) IDE security & policy enforcement",
5
5
  "actions": [
6
6
  {
@@ -96,6 +96,66 @@
96
96
  "type": "string",
97
97
  "required": false,
98
98
  "description": "Response content from AI (if available)"
99
+ },
100
+ {
101
+ "key": "violence_score",
102
+ "type": "number",
103
+ "required": false,
104
+ "description": "Violence content detection score (0-100)"
105
+ },
106
+ {
107
+ "key": "weapons_score",
108
+ "type": "number",
109
+ "required": false,
110
+ "description": "Weapons content detection score (0-100)"
111
+ },
112
+ {
113
+ "key": "hate_speech_score",
114
+ "type": "number",
115
+ "required": false,
116
+ "description": "Hate speech detection score (0-100)"
117
+ },
118
+ {
119
+ "key": "crime_score",
120
+ "type": "number",
121
+ "required": false,
122
+ "description": "Criminal content detection score (0-100)"
123
+ },
124
+ {
125
+ "key": "sexual_score",
126
+ "type": "number",
127
+ "required": false,
128
+ "description": "Sexual content detection score (0-100)"
129
+ },
130
+ {
131
+ "key": "profanity_score",
132
+ "type": "number",
133
+ "required": false,
134
+ "description": "Profanity detection score (0-100)"
135
+ },
136
+ {
137
+ "key": "pii_confidence",
138
+ "type": "number",
139
+ "required": false,
140
+ "description": "PII detection classifier confidence (0-100)"
141
+ },
142
+ {
143
+ "key": "injection_confidence",
144
+ "type": "number",
145
+ "required": false,
146
+ "description": "Prompt injection classifier confidence (0-100)"
147
+ },
148
+ {
149
+ "key": "jailbreak_confidence",
150
+ "type": "number",
151
+ "required": false,
152
+ "description": "Jailbreak detection classifier confidence (0-100)"
153
+ },
154
+ {
155
+ "key": "indirect_injection_score",
156
+ "type": "number",
157
+ "required": false,
158
+ "description": "Indirect prompt injection risk score (0-100)"
99
159
  }
100
160
  ]
101
161
  },
@@ -210,6 +270,84 @@
210
270
  "type": "string",
211
271
  "required": false,
212
272
  "description": "Response content (if available)"
273
+ },
274
+ {
275
+ "key": "violence_score",
276
+ "type": "number",
277
+ "required": false,
278
+ "description": "Violence content detection score (0-100)"
279
+ },
280
+ {
281
+ "key": "weapons_score",
282
+ "type": "number",
283
+ "required": false,
284
+ "description": "Weapons content detection score (0-100)"
285
+ },
286
+ {
287
+ "key": "hate_speech_score",
288
+ "type": "number",
289
+ "required": false,
290
+ "description": "Hate speech detection score (0-100)"
291
+ },
292
+ {
293
+ "key": "crime_score",
294
+ "type": "number",
295
+ "required": false,
296
+ "description": "Criminal content detection score (0-100)"
297
+ },
298
+ {
299
+ "key": "sexual_score",
300
+ "type": "number",
301
+ "required": false,
302
+ "description": "Sexual content detection score (0-100)"
303
+ },
304
+ {
305
+ "key": "profanity_score",
306
+ "type": "number",
307
+ "required": false,
308
+ "description": "Profanity detection score (0-100)"
309
+ },
310
+ {
311
+ "key": "pii_confidence",
312
+ "type": "number",
313
+ "required": false,
314
+ "description": "PII detection classifier confidence (0-100)"
315
+ },
316
+ {
317
+ "key": "injection_confidence",
318
+ "type": "number",
319
+ "required": false,
320
+ "description": "Prompt injection classifier confidence (0-100)"
321
+ },
322
+ {
323
+ "key": "jailbreak_confidence",
324
+ "type": "number",
325
+ "required": false,
326
+ "description": "Jailbreak detection classifier confidence (0-100)"
327
+ },
328
+ {
329
+ "key": "tool_poisoning_score",
330
+ "type": "number",
331
+ "required": false,
332
+ "description": "Tool description manipulation risk score (0-100)"
333
+ },
334
+ {
335
+ "key": "rug_pull_score",
336
+ "type": "number",
337
+ "required": false,
338
+ "description": "Tool behavior mismatch risk score (0-100)"
339
+ },
340
+ {
341
+ "key": "indirect_injection_score",
342
+ "type": "number",
343
+ "required": false,
344
+ "description": "Indirect prompt injection risk score (0-100)"
345
+ },
346
+ {
347
+ "key": "mcp_server_verified",
348
+ "type": "boolean",
349
+ "required": false,
350
+ "description": "Whether MCP server is from a verified registry"
213
351
  }
214
352
  ]
215
353
  },
@@ -270,6 +408,30 @@
270
408
  "type": "number",
271
409
  "required": true,
272
410
  "description": "Numeric severity (0-4)"
411
+ },
412
+ {
413
+ "key": "tool_poisoning_score",
414
+ "type": "number",
415
+ "required": false,
416
+ "description": "Tool description manipulation risk score (0-100)"
417
+ },
418
+ {
419
+ "key": "rug_pull_score",
420
+ "type": "number",
421
+ "required": false,
422
+ "description": "Tool behavior mismatch risk score (0-100)"
423
+ },
424
+ {
425
+ "key": "indirect_injection_score",
426
+ "type": "number",
427
+ "required": false,
428
+ "description": "Indirect prompt injection risk score (0-100)"
429
+ },
430
+ {
431
+ "key": "mcp_server_verified",
432
+ "type": "boolean",
433
+ "required": false,
434
+ "description": "Whether MCP server is from a verified registry"
273
435
  }
274
436
  ]
275
437
  },
@@ -96,6 +96,22 @@ action process_prompt appliesTo {
96
96
  contains_secrets: Bool, // Whether secrets detected
97
97
  prompt_text: String, // Same as content (legacy)
98
98
  response_content: String, // Response content (if available)
99
+
100
+ // Trust/Safety Scores (0-100, from Javelin/Lakera/LlamaGuard classifiers)
101
+ violence_score: Long, // Violence content detection score
102
+ weapons_score: Long, // Weapons content detection score
103
+ hate_speech_score: Long, // Hate speech detection score
104
+ crime_score: Long, // Criminal content detection score
105
+ sexual_score: Long, // Sexual content detection score
106
+ profanity_score: Long, // Profanity detection score
107
+
108
+ // Detector Confidence Scores (0-100, ML classifier confidence)
109
+ pii_confidence: Long, // PII detection confidence
110
+ injection_confidence: Long, // Prompt injection confidence
111
+ jailbreak_confidence: Long, // Jailbreak detection confidence
112
+
113
+ // Agent Security (0-100)
114
+ indirect_injection_score: Long, // Indirect prompt injection risk
99
115
  },
100
116
  };
101
117
 
@@ -130,6 +146,27 @@ action call_tool appliesTo {
130
146
  max_threat_severity: Long,
131
147
  contains_secrets: Bool,
132
148
  response_content: String,
149
+
150
+ // Trust/Safety Scores (0-100, from Javelin/Lakera/LlamaGuard classifiers)
151
+ violence_score: Long, // Violence content detection score
152
+ weapons_score: Long, // Weapons content detection score
153
+ hate_speech_score: Long, // Hate speech detection score
154
+ crime_score: Long, // Criminal content detection score
155
+ sexual_score: Long, // Sexual content detection score
156
+ profanity_score: Long, // Profanity detection score
157
+
158
+ // Detector Confidence Scores (0-100, ML classifier confidence)
159
+ pii_confidence: Long, // PII detection confidence
160
+ injection_confidence: Long, // Prompt injection confidence
161
+ jailbreak_confidence: Long, // Jailbreak detection confidence
162
+
163
+ // Agent Security (0-100)
164
+ tool_poisoning_score: Long, // Tool description manipulation risk
165
+ rug_pull_score: Long, // Tool behavior mismatch risk
166
+ indirect_injection_score: Long, // Indirect prompt injection risk
167
+
168
+ // MCP Trust
169
+ mcp_server_verified: Bool, // Whether server is from verified registry
133
170
  },
134
171
  };
135
172
 
@@ -147,6 +184,14 @@ action connect_server appliesTo {
147
184
  highest_severity: String,
148
185
  threat_categories: Set<String>,
149
186
  max_threat_severity: Long,
187
+
188
+ // Agent Security (0-100)
189
+ tool_poisoning_score: Long, // Tool description manipulation risk
190
+ rug_pull_score: Long, // Tool behavior mismatch risk
191
+ indirect_injection_score: Long, // Indirect prompt injection risk
192
+
193
+ // MCP Trust
194
+ mcp_server_verified: Bool, // Whether server is from verified registry
150
195
  },
151
196
  };
152
197
 
@@ -47,4 +47,3 @@ export type ActionType = (typeof ActionType)[keyof typeof ActionType];
47
47
  * Create an EntityUID for an action.
48
48
  */
49
49
  export declare function actionUID(action: ActionType): EntityUID;
50
- //# sourceMappingURL=actions.gen.d.ts.map
@@ -49,4 +49,3 @@ export const ActionType = {
49
49
  export function actionUID(action) {
50
50
  return { type: 'Action', id: action };
51
51
  }
52
- //# sourceMappingURL=actions.gen.js.map
@@ -124,4 +124,3 @@ export declare function parseAnnotations(rawAnnotations: Record<string, string>
124
124
  * Uses crypto.randomUUID if available, falls back to manual generation.
125
125
  */
126
126
  export declare function generateRuleId(): string;
127
- //# sourceMappingURL=annotations.d.ts.map
@@ -172,4 +172,3 @@ export function generateRuleId() {
172
172
  return v.toString(16);
173
173
  });
174
174
  }
175
- //# sourceMappingURL=annotations.js.map
package/dist/builder.d.ts CHANGED
@@ -311,4 +311,3 @@ export declare class PolicyBuilder {
311
311
  * Complex hand-written policies may not parse correctly.
312
312
  */
313
313
  export declare function parseCedarPolicy(cedarText: string): PolicyJSON | null;
314
- //# sourceMappingURL=builder.d.ts.map
package/dist/builder.js CHANGED
@@ -586,4 +586,3 @@ export function parseCedarPolicy(cedarText) {
586
586
  return null;
587
587
  }
588
588
  }
589
- //# sourceMappingURL=builder.js.map
@@ -3,4 +3,3 @@
3
3
  */
4
4
  export declare const ContextKey: {};
5
5
  export type ContextKey = (typeof ContextKey)[keyof typeof ContextKey];
6
- //# sourceMappingURL=context.gen.d.ts.map
@@ -4,4 +4,3 @@
4
4
  * Context attribute keys for Cedar policy evaluation.
5
5
  */
6
6
  export const ContextKey = {};
7
- //# sourceMappingURL=context.gen.js.map
package/dist/engine.d.ts CHANGED
@@ -143,4 +143,3 @@ export declare function validatePolicy(schema: string, policy: string): {
143
143
  };
144
144
  export { EntityType, EntityUID, Entity, newEntityUID, newEntity } from "./entities.gen.js";
145
145
  export { ActionType, actionUID } from "./actions.gen.js";
146
- //# sourceMappingURL=engine.d.ts.map
package/dist/engine.js CHANGED
@@ -374,4 +374,3 @@ export function validatePolicy(schema, policy) {
374
374
  // Re-export types
375
375
  export { EntityType, newEntityUID, newEntity } from "./entities.gen.js";
376
376
  export { ActionType, actionUID } from "./actions.gen.js";
377
- //# sourceMappingURL=engine.js.map
@@ -47,4 +47,3 @@ export declare function newEntityUID(type: EntityType | string, id: string): Ent
47
47
  * Create a new Entity.
48
48
  */
49
49
  export declare function newEntity(type: EntityType | string, id: string, attrs?: Record<string, unknown>): Entity;
50
- //# sourceMappingURL=entities.gen.d.ts.map
@@ -41,4 +41,3 @@ export function newEntity(type, id, attrs) {
41
41
  parents: [],
42
42
  };
43
43
  }
44
- //# sourceMappingURL=entities.gen.js.map
@@ -14,4 +14,3 @@ export interface ActionEntityMetadata {
14
14
  readonly principals: readonly string[];
15
15
  readonly resources: readonly string[];
16
16
  }
17
- //# sourceMappingURL=entity-metadata-types.gen.d.ts.map
@@ -1,3 +1,2 @@
1
1
  // Code generated by highflame-policy-codegen. DO NOT EDIT.
2
2
  export {};
3
- //# sourceMappingURL=entity-metadata-types.gen.js.map
package/dist/errors.d.ts CHANGED
@@ -99,4 +99,3 @@ export declare class ParserError extends Error {
99
99
  /** Action scope is nil */
100
100
  static actionScopeNil(): ParserError;
101
101
  }
102
- //# sourceMappingURL=errors.d.ts.map
package/dist/errors.js CHANGED
@@ -124,4 +124,3 @@ export class ParserError extends Error {
124
124
  return new ParserError(ErrorCodes.ACTION_SCOPE_NIL, "Action scope is nil", { field: "action" });
125
125
  }
126
126
  }
127
- //# sourceMappingURL=errors.js.map
package/dist/index.d.ts CHANGED
@@ -16,4 +16,3 @@ export { PALISADE_ENTITIES, PALISADE_ACTION_ENTITIES, } from './palisade-entitie
16
16
  export type { ServiceEntityMetadata, ActionEntityMetadata } from './entity-metadata-types.gen.js';
17
17
  export { OVERWATCH_DEFAULTS, OVERWATCH_TEMPLATES, OVERWATCH_CATEGORIES, OVERWATCH_TEMPLATES_JSON, getOverwatchDefaultsByCategory, getOverwatchTemplatesByCategory, getOverwatchTemplateById, } from './overwatch-defaults.gen.js';
18
18
  export type { OverwatchCategory, OverwatchCategoryInfo, OverwatchDefaultPolicy, OverwatchTemplate, } from './overwatch-defaults.gen.js';
19
- //# sourceMappingURL=index.d.ts.map
package/dist/index.js CHANGED
@@ -23,4 +23,3 @@ export { OVERWATCH_ENTITIES, OVERWATCH_ACTION_ENTITIES, } from './overwatch-enti
23
23
  export { PALISADE_ENTITIES, PALISADE_ACTION_ENTITIES, } from './palisade-entities.gen.js';
24
24
  // Service-specific default policies, templates, and categories
25
25
  export { OVERWATCH_DEFAULTS, OVERWATCH_TEMPLATES, OVERWATCH_CATEGORIES, OVERWATCH_TEMPLATES_JSON, getOverwatchDefaultsByCategory, getOverwatchTemplatesByCategory, getOverwatchTemplateById, } from './overwatch-defaults.gen.js';
26
- //# sourceMappingURL=index.js.map
@@ -7,23 +7,35 @@
7
7
  export declare const OverwatchContextKey: {
8
8
  readonly ContainsSecrets: "contains_secrets";
9
9
  readonly Content: "content";
10
+ readonly CrimeScore: "crime_score";
10
11
  readonly Cwd: "cwd";
11
12
  readonly Event: "event";
13
+ readonly HateSpeechScore: "hate_speech_score";
12
14
  readonly HighestSeverity: "highest_severity";
15
+ readonly IndirectInjectionScore: "indirect_injection_score";
16
+ readonly InjectionConfidence: "injection_confidence";
17
+ readonly JailbreakConfidence: "jailbreak_confidence";
13
18
  readonly MaxThreatSeverity: "max_threat_severity";
14
19
  readonly McpServer: "mcp_server";
20
+ readonly McpServerVerified: "mcp_server_verified";
15
21
  readonly McpTool: "mcp_tool";
16
22
  readonly Path: "path";
23
+ readonly PiiConfidence: "pii_confidence";
24
+ readonly ProfanityScore: "profanity_score";
17
25
  readonly PromptText: "prompt_text";
18
26
  readonly ResponseContent: "response_content";
27
+ readonly RugPullScore: "rug_pull_score";
28
+ readonly SexualScore: "sexual_score";
19
29
  readonly Source: "source";
20
30
  readonly ThreatCategories: "threat_categories";
21
31
  readonly ThreatCount: "threat_count";
22
32
  readonly ThreatTypes: "threat_types";
23
33
  readonly ToolName: "tool_name";
34
+ readonly ToolPoisoningScore: "tool_poisoning_score";
24
35
  readonly UserEmail: "user_email";
36
+ readonly ViolenceScore: "violence_score";
37
+ readonly WeaponsScore: "weapons_score";
25
38
  readonly WorkspaceRoot: "workspace_root";
26
39
  readonly YaraThreats: "yara_threats";
27
40
  };
28
41
  export type OverwatchContextKey = (typeof OverwatchContextKey)[keyof typeof OverwatchContextKey];
29
- //# sourceMappingURL=overwatch-context.gen.d.ts.map
@@ -9,22 +9,34 @@
9
9
  export const OverwatchContextKey = {
10
10
  ContainsSecrets: 'contains_secrets',
11
11
  Content: 'content',
12
+ CrimeScore: 'crime_score',
12
13
  Cwd: 'cwd',
13
14
  Event: 'event',
15
+ HateSpeechScore: 'hate_speech_score',
14
16
  HighestSeverity: 'highest_severity',
17
+ IndirectInjectionScore: 'indirect_injection_score',
18
+ InjectionConfidence: 'injection_confidence',
19
+ JailbreakConfidence: 'jailbreak_confidence',
15
20
  MaxThreatSeverity: 'max_threat_severity',
16
21
  McpServer: 'mcp_server',
22
+ McpServerVerified: 'mcp_server_verified',
17
23
  McpTool: 'mcp_tool',
18
24
  Path: 'path',
25
+ PiiConfidence: 'pii_confidence',
26
+ ProfanityScore: 'profanity_score',
19
27
  PromptText: 'prompt_text',
20
28
  ResponseContent: 'response_content',
29
+ RugPullScore: 'rug_pull_score',
30
+ SexualScore: 'sexual_score',
21
31
  Source: 'source',
22
32
  ThreatCategories: 'threat_categories',
23
33
  ThreatCount: 'threat_count',
24
34
  ThreatTypes: 'threat_types',
25
35
  ToolName: 'tool_name',
36
+ ToolPoisoningScore: 'tool_poisoning_score',
26
37
  UserEmail: 'user_email',
38
+ ViolenceScore: 'violence_score',
39
+ WeaponsScore: 'weapons_score',
27
40
  WorkspaceRoot: 'workspace_root',
28
41
  YaraThreats: 'yara_threats',
29
42
  };
30
- //# sourceMappingURL=overwatch-context.gen.js.map
@@ -2,7 +2,7 @@
2
2
  * Overwatch policy category identifiers.
3
3
  * Maps to UI tab names in Studio.
4
4
  */
5
- export type OverwatchCategory = 'secrets' | 'pii' | 'semantic' | 'tools' | 'organization';
5
+ export type OverwatchCategory = 'secrets' | 'pii' | 'semantic' | 'tools' | 'organization' | 'trust_safety' | 'agent_security';
6
6
  /**
7
7
  * Category metadata for UI display.
8
8
  */
@@ -59,4 +59,3 @@ export declare const OVERWATCH_TEMPLATES_JSON: string;
59
59
  export declare function getOverwatchDefaultsByCategory(category: OverwatchCategory): OverwatchDefaultPolicy[];
60
60
  export declare function getOverwatchTemplatesByCategory(category: OverwatchCategory): OverwatchTemplate[];
61
61
  export declare function getOverwatchTemplateById(id: string): OverwatchTemplate | undefined;
62
- //# sourceMappingURL=overwatch-defaults.gen.d.ts.map