New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@cfn-modules/lambda-function

Package Overview
Dependencies
Maintainers
2
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cfn-modules/lambda-function - npm Package Compare versions

Comparing version
2.5.0
to
2.6.0
+2
-2
.travis.yml

@@ -6,4 +6,4 @@ ---

install:
- 'pip install yamllint==1.15.0'
- 'pip install cfn-lint==0.20.2'
- 'pip install yamllint==1.19.0'
- 'pip install cfn-lint==0.25.3'
script:

@@ -10,0 +10,0 @@ - 'yamllint module.yml'

@@ -73,3 +73,3 @@ ---

Type: String
AllowedValues: ['dotnetcore1.0', 'dotnetcore2.1', 'go1.x', 'java8', 'nodejs10.x', 'nodejs8.10', 'python2.7', 'python3.6', 'python3.7', 'ruby2.5']
AllowedValues: ['nodejs12.x', 'nodejs10.x', 'nodejs8.10', 'python3.8', 'python3.7', 'python3.6', 'python2.7', 'ruby2.5', 'java11', 'java8', 'dotnetcore2.1', 'go1.x']
Timeout:

@@ -149,2 +149,3 @@ Description: 'The function execution time at which Lambda should terminate the function'

HasClientSgModule3: !Not [!Equals [!Ref ClientSgModule3, '']]
HasTracingConfigModeActive: !Equals [!Ref TracingConfigMode, Active]
Resources:

@@ -181,2 +182,19 @@ Role:

- !If
- HasDeadLetterQueueModule
- Effect: Allow
Action: 'sqs:SendMessage'
Resource: {'Fn::ImportValue': !Sub '${DeadLetterQueueModule}-Arn'}
- !Ref 'AWS::NoValue'
- !If
- HasTracingConfigModeActive
- Effect: Allow
Action:
- 'xray:PutTraceSegments'
- 'xray:PutTelemetryRecords'
- 'xray:GetSamplingRules'
- 'xray:GetSamplingTargets'
- 'xray:GetSamplingStatisticSummaries'
Resource: '*'
- !Ref 'AWS::NoValue'
- !If
- HasDependencyModule1

@@ -290,3 +308,3 @@ - Effect: Allow

ModuleVersion:
Value: '2.4.1'
Value: '2.6.0'
StackName:

@@ -293,0 +311,0 @@ Value: !Ref 'AWS::StackName'

{
"name": "@cfn-modules/lambda-function",
"version": "2.5.0",
"version": "2.6.0",
"description": "AWS Lambda function with automated IAM policy generation, encryption, log group and alerting",

@@ -5,0 +5,0 @@ "author": "Michael Wittig <michael@widdix.de>",

@@ -40,3 +40,3 @@ [![Build Status](https://travis-ci.org/cfn-modules/lambda-function.svg?branch=master)](https://travis-ci.org/cfn-modules/lambda-function)

ReservedConcurrentExecutions: '-1' # optional
Runtime: 'nodejs10.x' # required
Runtime: 'nodejs12.x' # required
Timeout: '3' # optional

@@ -158,3 +158,3 @@ TracingConfigMode: PassThrough # optional

<td>no</td>
<td>['dotnetcore1.0', 'dotnetcore2.1', 'go1.x', 'java8', 'nodejs10.x', 'nodejs8.10', 'python2.7', 'python3.6', 'python3.7', 'ruby2.5']</td>
<td>['nodejs12.x', 'nodejs10.x', 'nodejs8.10', 'python3.8', 'python3.7', 'python3.6', 'python2.7', 'ruby2.5', 'java11', 'java8', 'dotnetcore2.1', 'go1.x']</td>
</tr>

@@ -161,0 +161,0 @@ <tr>

@@ -10,3 +10,3 @@ ---

Handler: 'defaults.handler'
Runtime: 'nodejs10.x'
Runtime: 'nodejs12.x'
TemplateURL: './node_modules/@cfn-modules/lambda-function/module.yml'

@@ -21,4 +21,4 @@ ---

Handler: 'defaults.handler'
Runtime: 'nodejs10.x'
Runtime: 'nodejs12.x'
LayerArns: !Ref Layer
TemplateURL: './node_modules/@cfn-modules/lambda-function/module.yml'

@@ -10,4 +10,4 @@ ---

Handler: 'defaults.handler'
Runtime: 'nodejs10.x'
Runtime: 'nodejs12.x'
FunctionName: 'NamedLambda'
TemplateURL: './node_modules/@cfn-modules/lambda-function/module.yml'