Skip to content

Commit

Permalink
fixing lint
Browse files Browse the repository at this point in the history
  • Loading branch information
giorod3 committed Dec 2, 2024
1 parent deb7fe4 commit c6e59a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion helpers/aws/functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -1243,7 +1243,8 @@ var getApiIdFromArn = function(arn) {
if (!arn) return null;
const matches = arn.match(/arn:aws:execute-api:[^:]+:[^:]+:([^/]+)/);
return matches ? matches[1] : null;
}
};

var checkNetworkExposure = function(cache, source, subnets, securityGroups, elbs, region, results, resource) {
var internetExposed = '';
var isSubnetPrivate = false;
Expand Down
2 changes: 1 addition & 1 deletion plugins/aws/lambda/lambdaNetworkExposure.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ module.exports = {
let lambdaResource = {
functionUrlConfig: getFunctionUrlConfig,
functionPolicy: getPolicy
}
};

let internetExposed = helpers.checkNetworkExposure(cache, source, [], [], [], region, results, lambdaResource);

Expand Down

0 comments on commit c6e59a2

Please sign in to comment.