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
0.0.18
to
0.0.19
+1
-1
.travis.yml

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

- 'yamllint module.yml'
- '#cfn-lint module.yml' # TODO false positives
- 'cfn-lint -i E3002 E2507 -t module.yml' # TODO false positives in rules E3002 E2507
- 'grep -q "LICENSE-2.0" module.yml'

@@ -99,2 +99,14 @@ ---

Default: ''
EnvironmentVariable1:
Description: 'Optional value of environment variable VARIABLE1'
Type: String
Default: ''
EnvironmentVariable2:
Description: 'Optional value of environment variable VARIABLE2'
Type: String
Default: ''
EnvironmentVariable3:
Description: 'Optional value of environment variable VARIABLE3'
Type: String
Default: ''
Conditions:

@@ -167,3 +179,6 @@ HasAlertingModule: !Not [!Equals [!Ref AlertingModule, '']]

Environment:
Variables: # TODO how to handle this? Seems to be impossible...
Variables:
VARIABLE1: !Ref EnvironmentVariable1
VARIABLE2: !Ref EnvironmentVariable2
VARIABLE3: !Ref EnvironmentVariable3
DEPENDENCY1_ARN: !If [HasDependencyModule1, {'Fn::ImportValue': !Sub '${DependencyModule1}-Arn'}, '']

@@ -229,3 +244,3 @@ DEPENDENCY2_ARN: !If [HasDependencyModule2, {'Fn::ImportValue': !Sub '${DependencyModule2}-Arn'}, '']

ModuleVersion:
Value: '0.0.18'
Value: '0.0.19'
StackName:

@@ -232,0 +247,0 @@ Value: !Ref 'AWS::StackName'

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

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

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

Handler: 'example.handler' # required (file must be in the `lambda-src` folder)
MemorySize: 128 # optional
ReservedConcurrentExecutions: -1 # optional
MemorySize: '128' # optional
ReservedConcurrentExecutions: '-1' # optional
Runtime: 'nodejs8.10' # required
Timeout: 3 # optional
Timeout: '3' # optional
TracingConfigMode: PassThrough # optional
LogGroupRetentionInDays: 14 # optional
LogGroupRetentionInDays: '14' # optional
DependencyModule1: !GetAtt 'Queue.Outputs.StackName' # optional
DependencyModule2: !GetAtt 'Table.Outputs.StackName' # optional
DependencyModule3: '' # optional
EnvironmentVariable1: '' # optional
EnvironmentVariable2: '' # optional
EnvironmentVariable3: '' # optional
TemplateURL: './node_modules/@cfn-modules/lambda-function/module.yml'

@@ -53,4 +56,6 @@ ```

* [Cron](https://www.npmjs.com/package/@cfn-modules/lambda-event-source-cron)
* [DynamoDB stream](https://www.npmjs.com/package/@cfn-modules/lambda-event-source-dynamodb-stream)
* [SQS queue](https://www.npmjs.com/package/@cfn-modules/lambda-event-source-sqs-queue)
* [S3 bucket](https://www.npmjs.com/package/@cfn-modules/s3-bucket)
* [Webhook](https://www.npmjs.com/package/@cfn-modules/lambda-event-source-webhook)

@@ -175,3 +180,24 @@ ## Parameters

</tr>
<tr>
<td>EnvironmentVariable1</td>
<td>Optional value of environment variable VARIABLE1</td>
<td></td>
<td>no</td>
<td></td>
</tr>
<tr>
<td>EnvironmentVariable2</td>
<td>Optional value of environment variable VARIABLE2</td>
<td></td>
<td>no</td>
<td></td>
</tr>
<tr>
<td>EnvironmentVariable3</td>
<td>Optional value of environment variable VARIABLE3</td>
<td></td>
<td>no</td>
<td></td>
</tr>
</tbody>
</table>