Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
hubot-aws-sesame
Advanced tools
Hubot script to open/close access to servers on AWS based on chat presence
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.
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
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:
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:
hubot show firewall - Show all users who currently have access to AWS
FAQs
Hubot script to open/close access to servers on AWS based on chat presence
We found that hubot-aws-sesame 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
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.