Skip to content

Commit

Permalink
Merge pull request #92 from imranalisyed506/imnode20changes
Browse files Browse the repository at this point in the history
[ENG-55436] : Upgrade the lambda runtime node version to 20
  • Loading branch information
imranalisyed506 authored Jul 10, 2024
2 parents c99f6e9 + 0fba86c commit ac4d41e
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion al-cwe-collector.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"Runtime": {
"path": "Runtime",
"value": "nodejs18.x"
"value": "nodejs20.x"
}
}
4 changes: 2 additions & 2 deletions cfn/guardduty.template
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@
}
},
"Handler":"index.handler",
"Runtime":"nodejs18.x",
"Runtime":"nodejs20.x",
"MemorySize":128,
"Timeout": 5,
"Tags": [
Expand Down Expand Up @@ -439,7 +439,7 @@
"S3Key": "packages/lambda/al-cwe-collector.zip"
},
"Handler":"index.handler",
"Runtime":"nodejs18.x",
"Runtime":"nodejs20.x",
"MemorySize":128,
"Timeout":300,
"Environment":{
Expand Down
34 changes: 17 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "al-cwe-collector",
"version": "1.3.25",
"version": "1.3.26",
"license": "MIT",
"description": "Alert Logic CloudWatch Events Collector",
"repository": {
Expand All @@ -21,29 +21,29 @@
}
],
"devDependencies": {
"@aws-sdk/client-cloudformation": "^3.609.0",
"@aws-sdk/client-cloudwatch": "^3.609.0",
"@aws-sdk/client-cloudwatch-events": "^3.609.0",
"@aws-sdk/client-kms": "^3.609.0",
"@aws-sdk/client-lambda": "^3.609.0",
"@aws-sdk/client-s3": "^3.609.0",
"@aws-sdk/client-ssm": "^3.609.0",
"clone": "^2.1.2",
"dotenv": "^16.3.1",
"dotenv": "^16.4.5",
"jshint": "^2.13.6",
"mocha": "^10.2.0",
"mocha": "^10.6.0",
"mocha-jenkins-reporter": "^0.4.8",
"nyc": "^15.1.0",
"nyc": "^17.0.0",
"rewire": "^7.0.0",
"sinon": "^15.2.0",
"@aws-sdk/client-cloudformation": "^3.427.0",
"@aws-sdk/client-cloudwatch": "^3.427.0",
"@aws-sdk/client-cloudwatch-events": "^3.427.0",
"@aws-sdk/client-kms": "^3.427.0",
"@aws-sdk/client-lambda": "^3.427.0",
"@aws-sdk/client-ssm": "^3.427.0",
"@aws-sdk/client-s3": "^3.427.0"
"sinon": "^18.0.0"
},
"dependencies": {
"@alertlogic/al-aws-collector-js": "4.1.25",
"@alertlogic/al-collector-js": "3.0.10",
"async": "^3.2.4",
"@alertlogic/al-aws-collector-js": "^4.1.26",
"@alertlogic/al-collector-js": "^3.0.11",
"async": "^3.2.5",
"cfn-response": "^1.0.1",
"debug": "^4.3.4",
"moment": "^2.29.4"
"debug": "^4.3.5",
"moment": "^2.30.1"
},
"author": "Alert Logic Inc."
}
6 changes: 3 additions & 3 deletions ps_spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ stages:
- pull_request
- pull_request:
trigger_phrase: test it
image: node:18
image: node:20
compute_size: small
commands:
- npm install
Expand All @@ -17,7 +17,7 @@ stages:
name: When Tag Created Run Coverage
when:
- tag: ['v?\d+.\d+.\d+']
image: node:18
image: node:20
compute_size: small
commands:
- make test
Expand All @@ -35,7 +35,7 @@ stages:
image: 422372788747.dkr.ecr.us-east-1.amazonaws.com/al-paws-collector-pipeline:latest
compute_size: small_arm
commands:
- source $NVM_DIR/nvm.sh && nvm use 18
- source $NVM_DIR/nvm.sh && nvm use 20
- npm install
- make compile test package
- mkdir cwe-collector
Expand Down

0 comments on commit ac4d41e

Please sign in to comment.