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.6.0
to
2.7.0
+29
.github/workflows/ci.yml
name: CI
on: push
jobs:
build:
runs-on: 'ubuntu-latest'
steps:
- uses: 'actions/checkout@v2'
- uses: 'actions/setup-python@v2'
with:
python-version: '3.8'
- name: yamlllint
run: |
pip install yamllint==1.24.2
yamllint module.yml && yamllint test/*.yml
- name: cfn-lint
run: |
pip install cfn-lint==0.34.0
cfn-lint -i W3002 -t module.yml && cfn-lint -t test/*.yml
- name: license
run: |
grep -q "LICENSE-2.0" module.yml
+12
-2

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

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

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

Default: ''
EnvironmentVariable4:
Description: 'Optional value of environment variable VARIABLE4'
Type: String
Default: ''
EnvironmentVariable5:
Description: 'Optional value of environment variable VARIABLE5'
Type: String
Default: ''
ManagedPolicyArns:

@@ -240,2 +248,4 @@ Description: 'Optional comma-delimited list of IAM managed policy ARNs to attach to the function''s IAM role'

VARIABLE3: !Ref EnvironmentVariable3
VARIABLE4: !Ref EnvironmentVariable4
VARIABLE5: !Ref EnvironmentVariable5
DEPENDENCY1_ARN: !If [HasDependencyModule1, {'Fn::ImportValue': !Sub '${DependencyModule1}-Arn'}, '']

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

ModuleVersion:
Value: '2.6.0'
Value: '2.7.0'
StackName:

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

+1
-1
{
"name": "@cfn-modules/lambda-function",
"version": "2.6.0",
"version": "2.7.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>",

@@ -1,4 +0,1 @@

[![Build Status](https://travis-ci.org/cfn-modules/lambda-function.svg?branch=master)](https://travis-ci.org/cfn-modules/lambda-function)
[![NPM version](https://img.shields.io/npm/v/@cfn-modules/lambda-function.svg)](https://www.npmjs.com/package/@cfn-modules/lambda-function)
# cfn-modules: AWS Lambda function

@@ -50,2 +47,4 @@

EnvironmentVariable3: '' # optional
EnvironmentVariable4: '' # optional
EnvironmentVariable5: '' # optional
ManagedPolicyArns: '' # optional

@@ -158,3 +157,3 @@ LayerArns: '' # optional

<td>no</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>
<td>['nodejs12.x', 'nodejs10.x', 'python3.8', 'python3.7', 'python3.6', 'python2.7', 'ruby2.5', 'java11', 'java8', 'dotnetcore2.1', 'go1.x']</td>
</tr>

@@ -225,2 +224,16 @@ <tr>

<tr>
<td>EnvironmentVariable4</td>
<td>Optional value of environment variable `VARIABLE4`</td>
<td></td>
<td>no</td>
<td></td>
</tr>
<tr>
<td>EnvironmentVariable5</td>
<td>Optional value of environment variable `VARIABLE5`</td>
<td></td>
<td>no</td>
<td></td>
</tr>
<tr>
<td>ManagedPolicyArns</td>

@@ -241,3 +254,3 @@ <td>Comma-delimited list of IAM managed policy ARNs to attach to the task's IAM role</td>

<td>ClientSgModule1</td>
<td>Stack name of <a href="https://www.npmjs.com/package/@cfn-modules/client-sg">client-sg module</a> module to mark traffic from Lambda function (requires VpcModule parameter)</td>
<td>Stack name of <a href="https://www.npmjs.com/package/@cfn-modules/client-sg">client-sg module</a> to mark traffic from Lambda function (requires VpcModule parameter)</td>
<td></td>

@@ -249,3 +262,3 @@ <td>no</td>

<td>ClientSgModule2</td>
<td>Stack name of <a href="https://www.npmjs.com/package/@cfn-modules/client-sg">client-sg module</a> module to mark traffic from Lambda function (requires VpcModule parameter)</td>
<td>Stack name of <a href="https://www.npmjs.com/package/@cfn-modules/client-sg">client-sg module</a> to mark traffic from Lambda function (requires VpcModule parameter)</td>
<td></td>

@@ -257,3 +270,3 @@ <td>no</td>

<td>ClientSgModule3</td>
<td>Stack name of <a href="https://www.npmjs.com/package/@cfn-modules/client-sg">client-sg module</a> module to mark traffic from Lambda function (requires VpcModule parameter)</td>
<td>Stack name of <a href="https://www.npmjs.com/package/@cfn-modules/client-sg">client-sg module</a> to mark traffic from Lambda function (requires VpcModule parameter)</td>
<td></td>

@@ -260,0 +273,0 @@ <td>no</td>

{
"private": true,
"dependencies": {
"eslint": "6.6.0",
"ava": "2.4.0",
"eslint": "7.6.0",
"ava": "3.11.1",
"@cfn-modules/test": "0.7.3",
"@cfn-modules/s3-bucket": "1.5.0",
"@cfn-modules/s3-bucket": "1.6.0",
"@cfn-modules/lambda-function": "file:../"

@@ -12,3 +12,10 @@ },

"test": "eslint . && ava -c 4 *.js"
},
"ava": {
"files": [
"*.js"
],
"concurrency": 4,
"timeout": "2h"
}
}
---
language: python
python:
- '2.7'
install:
- 'pip install yamllint==1.19.0'
- 'pip install cfn-lint==0.25.3'
script:
- 'yamllint module.yml'
- 'cfn-lint -i W3002 -t module.yml'
- 'grep -q "LICENSE-2.0" module.yml'

Sorry, the diff of this file is too big to display