@highflame/policy 2.1.12 → 2.1.13

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.
@@ -1069,6 +1069,11 @@ export const OVERWATCH_DEFAULTS = [
1069
1069
  tags: ['baseline', 'permit-default', 'organization'],
1070
1070
  isActive: true,
1071
1071
  },
1072
+ ];
1073
+ // =============================================================================
1074
+ // ALL TEMPLATES
1075
+ // =============================================================================
1076
+ export const OVERWATCH_TEMPLATES = [
1072
1077
  {
1073
1078
  id: 'secrets-default',
1074
1079
  name: 'Secrets Detection',
@@ -1077,7 +1082,6 @@ export const OVERWATCH_DEFAULTS = [
1077
1082
  cedarText: OVERWATCH_SECRETS_DEFAULT_CEDAR,
1078
1083
  severity: 'critical',
1079
1084
  tags: ['secrets', 'credentials', 'aws', 'github', 'ssh', 'pem', 'yara', 'baseline'],
1080
- isActive: true,
1081
1085
  },
1082
1086
  {
1083
1087
  id: 'semantic-default',
@@ -1087,7 +1091,6 @@ export const OVERWATCH_DEFAULTS = [
1087
1091
  cedarText: OVERWATCH_SEMANTIC_DEFAULT_CEDAR,
1088
1092
  severity: 'critical',
1089
1093
  tags: ['injection', 'jailbreak', 'content-safety', 'yara', 'ml', 'owasp-llm01', 'owasp-llm02', 'baseline'],
1090
- isActive: true,
1091
1094
  },
1092
1095
  {
1093
1096
  id: 'tools-default',
@@ -1097,13 +1100,7 @@ export const OVERWATCH_DEFAULTS = [
1097
1100
  cedarText: OVERWATCH_TOOLS_DEFAULT_CEDAR,
1098
1101
  severity: 'high',
1099
1102
  tags: ['tools', 'file-access', 'system-paths', 'severity', 'baseline'],
1100
- isActive: true,
1101
1103
  },
1102
- ];
1103
- // =============================================================================
1104
- // ALL TEMPLATES
1105
- // =============================================================================
1106
- export const OVERWATCH_TEMPLATES = [
1107
1104
  {
1108
1105
  id: 'pii-default',
1109
1106
  name: 'PII Detection',
@@ -1213,7 +1210,9 @@ export const OVERWATCH_TEMPLATES_JSON = `{
1213
1210
  "severity": "low",
1214
1211
  "tags": ["baseline", "permit-default", "organization"],
1215
1212
  "is_active": true
1216
- },
1213
+ }
1214
+ ],
1215
+ "templates": [
1217
1216
  {
1218
1217
  "id": "secrets-default",
1219
1218
  "name": "Secrets Detection",
@@ -1221,8 +1220,7 @@ export const OVERWATCH_TEMPLATES_JSON = `{
1221
1220
  "category": "secrets",
1222
1221
  "file": "defaults/secrets.cedar",
1223
1222
  "severity": "critical",
1224
- "tags": ["secrets", "credentials", "aws", "github", "ssh", "pem", "yara", "baseline"],
1225
- "is_active": true
1223
+ "tags": ["secrets", "credentials", "aws", "github", "ssh", "pem", "yara", "baseline"]
1226
1224
  },
1227
1225
  {
1228
1226
  "id": "semantic-default",
@@ -1231,8 +1229,7 @@ export const OVERWATCH_TEMPLATES_JSON = `{
1231
1229
  "category": "semantic",
1232
1230
  "file": "defaults/semantic.cedar",
1233
1231
  "severity": "critical",
1234
- "tags": ["injection", "jailbreak", "content-safety", "yara", "ml", "owasp-llm01", "owasp-llm02", "baseline"],
1235
- "is_active": true
1232
+ "tags": ["injection", "jailbreak", "content-safety", "yara", "ml", "owasp-llm01", "owasp-llm02", "baseline"]
1236
1233
  },
1237
1234
  {
1238
1235
  "id": "tools-default",
@@ -1241,11 +1238,8 @@ export const OVERWATCH_TEMPLATES_JSON = `{
1241
1238
  "category": "tools",
1242
1239
  "file": "defaults/tools.cedar",
1243
1240
  "severity": "high",
1244
- "tags": ["tools", "file-access", "system-paths", "severity", "baseline"],
1245
- "is_active": true
1246
- }
1247
- ],
1248
- "templates": [
1241
+ "tags": ["tools", "file-access", "system-paths", "severity", "baseline"]
1242
+ },
1249
1243
  {
1250
1244
  "id": "pii-default",
1251
1245
  "name": "PII Detection",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@highflame/policy",
3
- "version": "2.1.12",
3
+ "version": "2.1.13",
4
4
  "description": "Highflame Cedar policy types and engine wrapper",
5
5
  "readme": "README.md",
6
6
  "main": "dist/index.js",