@studio/gateway
Advanced tools
+7
-0
| # Changes | ||
| ## 2.5.3 | ||
| - 🐛 [`e763f3e`](https://github.com/javascript-studio/studio-gateway/commit/e763f3e8044a73eda8978b1dc997280cd2feec4f) | ||
| Handle deny policy response from authorizer | ||
| _Released by [Maximilian Antoni](https://github.com/mantoni) on 2024-01-09._ | ||
| ## 2.5.2 | ||
@@ -4,0 +11,0 @@ |
+5
-0
@@ -67,2 +67,7 @@ /* | ||
| } | ||
| const { Statement } = policy.policyDocument; | ||
| if (Statement.length !== 1 || Statement[0].Effect !== 'Allow') { | ||
| reject(res, 'Unauthorized'); | ||
| return; | ||
| } | ||
| const ttl = authorizer.authorizerResultTtlInSeconds; | ||
@@ -69,0 +74,0 @@ if (ttl && authorizationToken) { |
+1
-1
| { | ||
| "name": "@studio/gateway", | ||
| "version": "2.5.2", | ||
| "version": "2.5.3", | ||
| "description": "JavaScript Studio Gateway", | ||
@@ -5,0 +5,0 @@ "author": "Maximilian Antoni <max@javascript.studio>", |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
41074
1.08%843
0.6%