![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
bragg-cloudwatch-log
Advanced tools
bragg Bragg middleware to process CloudWatch Logs events
$ npm install bragg-cloudwatch-log
All the events will be routed to post
cloudwatch:log
. You can use that route to handle the CloudWatch log events.
const app = require('bragg')();
const router = require('bragg-router')();
const cloudWatchLog = require('bragg-cloudwatch-log');
// Listen for CloudWatch Log events
router.post('cloudwatch:log', ctx => {
/**
* {
* "messageType": "DATA_MESSAGE",
* "owner": "123456789012",
* "logGroup": "/aws/lambda/echo-nodejs",
* "logStream": "2019/03/13/[$LATEST]94fa867e5374431291a7fc14e2f56ae7",
* "subscriptionFilters": [
* "LambdaStream_cloudwatchlogs-node"
* ],
* "logEvents": [
* {
* "id": "34622316099697884706540976068822859012661220141643892546",
* "timestamp": 1552518348220,
* "message": "REPORT RequestId: 6234bffe-149a-b642-81ff-2e8e376d8aff\tDuration: 46.84 ms\tBilled Duration: 100 ms \tMemory Size: 192 MB\tMax Memory Used: 72 MB\t\n"
* }
* ]
* }
*/
console.log(ctx.request.body)
});
app.use(cloudWatchLog());
app.use(router.routes());
exports.handler = app.listen();
Add the bragg CloudWatch Log middleware to the middleware pipeline.
MIT © Simon
FAQs
Bragg middleware to handle CloudWatch Logs events
The npm package bragg-cloudwatch-log receives a total of 2 weekly downloads. As such, bragg-cloudwatch-log popularity was classified as not popular.
We found that bragg-cloudwatch-log demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.