Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

batch-alarms

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

batch-alarms - npm Package Compare versions

Comparing version 1.1.1 to 2.0.0

2

index.js

@@ -12,2 +12,3 @@ 'use strict';

* @param {String} opts.email Email to submit alarms to
* @param {String|Object} opts.apache Apache formatted log group
* @param {String|Object} opts.cluster ARN or CF Ref/Att of ECS Cluster

@@ -168,2 +169,3 @@ * @param {String|Object} opts.service ARN or CF Ref/Att of ECS Service

TargetGroupFullName: opts.targetgroup,
Apache: opts.apache,
ServiceName: opts.service,

@@ -170,0 +172,0 @@ Cluster: opts.cluster

@@ -118,4 +118,18 @@ 'use strict';

}
},
{
"type": "log",
"x": 0,
"y": 18,
"width": 24,
"height": 6,
"properties": {
title: '5XX Requests',
"query": "SOURCE '${Apache}' | fields @timestamp, @message\n| sort @timestamp desc\n| parse @message '* - - [*] \"* * *\" * * \"*\" \"*\"' as client, dateTimeString, httpVerb, url, protocol, statusCode, bytes, referer, userAgent\n| filter statusCode == \"500\"\n | display @timestamp, statusCode, httpVerb, url, userAgent",
"region": "us-east-1",
"stacked": false,
"view": "table"
}
}
]
};

2

package.json
{
"name": "batch-alarms",
"version": "1.1.1",
"version": "2.0.0",
"description": " Library for providing default CloudFormation dashboards & ECS Services ",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -21,2 +21,3 @@ <h1 align=center>batch-alarms</h1>

prefix: 'CFPrefix',
apache: cf.stackName,
email: 'nick@ingalls.ca',

@@ -23,0 +24,0 @@ cluster: cf.ref('APIECSCluster'),

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc