Security News
Opengrep Emerges as Open Source Alternative Amid Semgrep Licensing Controversy
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
serverless-log-forwarding
Advanced tools
Serverless plugin for forwarding CloudWatch logs to another Lambda function.
Amplify builds innovative and compelling digital educational products that empower teachers and students across the country. We have a long history as the leading innovator in K-12 education - and have been described as the best tech company in education and the best education company in tech. While others try to shrink the learning experience into the technology, we use technology to expand what is possible in real classrooms with real students and teachers.
Make sure you have the following installed before starting:
To install the plugin, run:
npm install serverless-log-forwarding
Then make the following edits to your serverless.yaml
file:
plugins:
- serverless-log-forwarding
custom:
logForwarding:
destinationARN: '[ARN of Lambda Function to forward logs to]'
# optional:
filterPattern: '[filter pattern for logs that are sent to Lambda function]'
normalizedFilterID: true # whether to use normalized function name as filter ID
stages:
- '[name of the stage to apply log forwarding]'
- '[another stage name to filter]'
functions:
myFunction:
handler: src/someHandler
# optional properties for per-function configuration:
logForwarding:
# set enabled to false to disable log forwarding for a single given function
enabled: false
To run the test:
npm test
All tests should pass.
If there is an error update the node_module inside the serverless-log-forwarding folder:
npm install
The plugin will be packaged with the lambda when deployed as normal using Serverless:
serverless deploy
If you have any security issue to report, contact project maintainers privately. You can reach us at github@amplify.com
We welcome pull requests! For your pull request to be accepted smoothly, we suggest that you:
[1.2.1] - 2018-10-09
FAQs
a serverless plugin to forward logs to given lambda function
The npm package serverless-log-forwarding receives a total of 3,539 weekly downloads. As such, serverless-log-forwarding popularity was classified as popular.
We found that serverless-log-forwarding demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.