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

hubot-aws-sesame

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hubot-aws-sesame

Hubot script to open/close access to servers on AWS based on chat presence

  • 0.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

A Hubot script to open / close ports on security groups automatically in AWS based on a user's presence.

If you regularly open ports in security groups in AWS to your current IP, this is the tool for you. When Hubot sees you sign in, it will send you a picture. When it's loaded in your chat client (if you're using Adium, you'll need to install the Adinline plugin) Hubot is able to get your IP, and then open the security group(s) to you.

Installation

Assuming you've installed Hubot and have an instance already running, the steps are simple. Just add "hubot-aws-sesame" to both your dependencies list in Hubot's package.json file as well as the external-scripts.json file. Then run:

npm install

Configuration:

  • HUBOT_AWS_REGION
  • HUBOT_AWS_KEY_ID
  • HUBOT_AWS_SECRET_KEY
  • HUBOT_AWS_SEC_RULES
  • HUBOT_ROOT_URL

HUBOT_AWS_SEC_RULES should contain the security group(s) that should have access enabled and the port range(s) that should be opened within them. It should be of the form (spaces are ignored):

<sec group id>: <port start>[ - <port end>][, <port start> - <port end>];

For instance, each of the following would work:

  • sg-123: 22
  • sg-123: 20 - 222
  • sg-123: 22; sg-456: 1-1600
  • sg-123: 10 - 20; sg-456: 30

HUBOT_ROOT_URL should be the root URL of an internet visible host. This is necessary so that a message can be sent to the client containing a link to this bot's Hubot web server. For instance, the following are valid values:

Commands:

hubot show firewall - Show all users who currently have access to AWS

Keywords

FAQs

Package last updated on 24 Aug 2014

Did you know?

Socket

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.

Install

Related posts

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