@friggframework/schemas 2.0.0-next.37 → 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 +2 -2
- package/package.json +2 -2
- package/schemas/app-definition.schema.json +10 -4
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: {
|
|
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: {
|
|
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.
|
|
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": "
|
|
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
|
-
"
|
|
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": "
|
|
99
|
-
"default":
|
|
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
|
-
"
|
|
261
|
+
"fieldLevelEncryptionMethod": "kms"
|
|
256
262
|
},
|
|
257
263
|
"vpc": {
|
|
258
264
|
"enable": true
|