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

aws-sg-container

Package Overview
Dependencies
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aws-sg-container - npm Package Compare versions

Comparing version 0.15.1 to 0.16.0

_imgs/logo.png

2

lib/container.js

@@ -26,4 +26,2 @@ /*

var deploy = function deploy(mode, target, system, containerDef, container, out, cb) {

@@ -30,0 +28,0 @@ out.preview({cmd: 'check security groups', host: null, user: null, keyPath: null});

@@ -30,2 +30,4 @@ /*

_ec2.describeSecurityGroups(sgParams, function(err, sgroups) {
var c = _.find(system.topology.containers, function(cont) { return cont.id === container.id; });
if (sgroups && sgroups.SecurityGroups && sgroups.SecurityGroups.length > 0) {

@@ -42,3 +44,3 @@ match = _.find(sgroups.SecurityGroups, function(group) { return group.GroupName === container.id; });

return cb(null, system);
}
}
else {

@@ -53,4 +55,4 @@ return cb(err, system);

_ec2.createTags(tagParams, function() {
var c = _.find(system.topology.containers, function(cont) { return cont.id === container.id; });
c.nativeId = resp.GroupId;
c.groupId = resp.GroupId;
system.dirty = true;

@@ -71,2 +73,5 @@ if (sg.IpPermissions) {

else {
c.nativeId = match.GroupId;
c.groupId = match.GroupId;
system.dirty = true;
cb();

@@ -73,0 +78,0 @@ }

@@ -14,7 +14,9 @@ {

],
"version": "0.15.1",
"version": "0.16.0",
"license": "Artistic License 2.0",
"author": "Peter Elger (http://nearform.com/)",
"contributors": [
"Peter Elger <elger.peter@gmail.com> (http://peterelger.com/)"
"Peter Elger <elger.peter@gmail.com> (http://peterelger.com/)",
"Luca Lanziani <luca@lanziani.com>",
"Matteo Collina <hello@matteocollina.com>"
],

@@ -21,0 +23,0 @@ "main": "lib/container",

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