npm package diff
Package: @forge/manifest
Versions: 8.3.0-next.3 - 8.3.0-next.4
File: package/out/schema/manifest-schema.json
Index: package/out/schema/manifest-schema.json
===================================================================
--- package/out/schema/manifest-schema.json
+++ package/out/schema/manifest-schema.json
@@ -396,8 +396,50 @@
"description": "The key of the function that should be invoked for this webtrigger.",
"title": "function",
"type": "string"
},
+ "security": {
+ "description": "Security options for the webtrigger module.",
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "egress": {
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "allowDataEgress": {
+ "description": "If set to false, webtriggers will sanitise responses for forms of egress.",
+ "type": "boolean"
+ },
+ "allowedResponses": {
+ "description": "An array of statically defined responses that are not sanitised by no-egress webtriggers.",
+ "type": "array",
+ "maxItems": 20,
+ "items": {
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "statusCode": {
+ "type": "integer"
+ },
+ "body": {
+ "type": "string",
+ "maxLength": 1024
+ }
+ },
+ "required": [
+ "statusCode",
+ "body"
+ ]
+ }
+ }
+ },
+ "required": [
+ "allowDataEgress"
+ ]
+ }
+ }
+ },
"key": {
"$ref": "#/definitions/ModuleKeySchema"
}
},