@friggframework/schemas 2.0.0-next.36 → 2.0.0-next.38

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/README.md CHANGED
@@ -29,7 +29,7 @@ const { validateAppDefinition } = require('@friggframework/schemas');
29
29
  const appDefinition = {
30
30
  integrations: [],
31
31
  user: { password: true },
32
- encryption: { useDefaultKMSForFieldLevelEncryption: true }
32
+ encryption: { fieldLevelEncryptionMethod: 'kms' }
33
33
  };
34
34
 
35
35
  const result = validateAppDefinition(appDefinition);
@@ -88,7 +88,7 @@ Defines the structure for Frigg application configuration.
88
88
  const appDefinition = {
89
89
  integrations: [HubSpotIntegration],
90
90
  user: { password: true },
91
- encryption: { useDefaultKMSForFieldLevelEncryption: true },
91
+ encryption: { fieldLevelEncryptionMethod: 'kms' },
92
92
  vpc: { enable: true },
93
93
  security: {
94
94
  cors: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@friggframework/schemas",
3
- "version": "2.0.0-next.36",
3
+ "version": "2.0.0-next.38",
4
4
  "description": "Canonical JSON Schema definitions for Frigg Framework",
5
5
  "main": "index.js",
6
6
  "author": "",
@@ -39,5 +39,5 @@
39
39
  "validators/",
40
40
  "index.js"
41
41
  ],
42
- "gitHead": "6cca53cb3091d6bd11ae37f6c459679f1b5b19a6"
42
+ "gitHead": "a9c9c28fd9abdc8c96a38b8ab0fbb3cbf7d89960"
43
43
  }
@@ -93,10 +93,16 @@
93
93
  "type": "object",
94
94
  "description": "Encryption settings for sensitive data",
95
95
  "properties": {
96
- "useDefaultKMSForFieldLevelEncryption": {
96
+ "fieldLevelEncryptionMethod": {
97
+ "type": "string",
98
+ "description": "Method for field-level encryption",
99
+ "enum": ["kms", "aes"],
100
+ "default": "kms"
101
+ },
102
+ "createResourceIfNoneFound": {
97
103
  "type": "boolean",
98
- "description": "Use default KMS for field-level encryption",
99
- "default": true
104
+ "description": "Create KMS key if none found",
105
+ "default": false
100
106
  }
101
107
  },
102
108
  "additionalProperties": false
@@ -252,7 +258,7 @@
252
258
  "password": true
253
259
  },
254
260
  "encryption": {
255
- "useDefaultKMSForFieldLevelEncryption": true
261
+ "fieldLevelEncryptionMethod": "kms"
256
262
  },
257
263
  "vpc": {
258
264
  "enable": true