{"id":16111778,"url":"https://github.com/cliffano/open-sesame","last_synced_at":"2025-09-22T05:32:50.062Z","repository":{"id":51607233,"uuid":"81722248","full_name":"cliffano/open-sesame","owner":"cliffano","description":"CLI tool for adding your public IP address to AWS security group's inbound rules","archived":false,"fork":false,"pushed_at":"2024-06-23T08:56:32.000Z","size":13615,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-07T14:40:54.031Z","etag":null,"topics":["aws","cli","nodejs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cliffano.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-02-12T11:50:08.000Z","updated_at":"2024-08-24T23:30:28.000Z","dependencies_parsed_at":"2024-04-18T11:56:22.309Z","dependency_job_id":"20b16891-c02c-41c0-9ce9-1fb671a1c70a","html_url":"https://github.com/cliffano/open-sesame","commit_stats":{"total_commits":80,"total_committers":4,"mean_commits":20.0,"dds":"0.22499999999999998","last_synced_commit":"7c5f48c98f9355df0330d2cea3a59f9b274e689a"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cliffano%2Fopen-sesame","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cliffano%2Fopen-sesame/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cliffano%2Fopen-sesame/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cliffano%2Fopen-sesame/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cliffano","download_url":"https://codeload.github.com/cliffano/open-sesame/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233828145,"owners_count":18736578,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","cli","nodejs"],"created_at":"2024-10-09T19:45:31.586Z","updated_at":"2025-09-22T05:32:44.747Z","avatar_url":"https://github.com/cliffano.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg align=\"right\" src=\"https://raw.github.com/cliffano/open-sesame/master/avatar.jpg\" alt=\"Avatar\"/\u003e\n\n[![Build Status](https://github.com/cliffano/open-sesame/workflows/CI/badge.svg)](https://github.com/cliffano/open-sesame/actions?query=workflow%3ACI)\n[![Security Status](https://snyk.io/test/github/cliffano/open-sesame/badge.svg)](https://snyk.io/test/github/cliffano/open-sesame)\n[![Dependencies Status](https://img.shields.io/david/cliffano/open-sesame.svg)](http://david-dm.org/cliffano/open-sesame)\n[![Coverage Status](https://img.shields.io/coveralls/cliffano/open-sesame.svg)](https://coveralls.io/r/cliffano/open-sesame?branch=master)\n[![Published Version](https://img.shields.io/npm/v/open-sesame.svg)](http://www.npmjs.com/package/open-sesame)\n\u003cbr/\u003e\n\nOpen Sesame\n-----------\n\nOpen Sesame is a CLI tool for adding your public IP address to AWS security group's inbound rules.\n\nThis is handy when you're sitting behind a dynamic IP (e.g. you're using a Wi-Fi dongle) and would like to allow access from that IP to some AWS resources through a security group.\n\n![Console command screenshot](https://raw.github.com/cliffano/open-sesame/master/screenshots/console.png)\n\nInstallation\n------------\n\n    npm install -g open-sesame\n\nUsage\n-----\n\nAdd inbound rule to specified security group, rule will be named 'open-sesame':\n\n    open-sesame aws --region ap-southeast-2 --secgroup-id sg-12345678\n\nAdd inbound rule with specified port and name:\n\n    open-sesame aws --region ap-southeast-2 --secgroup-id sg-12345678 --port 22 --rule-name some-wi-fi\n\nNote: open-sesame 1.x.x uses `--name` arg instead of `--rule-name` .\n\nAdd inbound rules to multiple security groups:\n\n    open-sesame aws --region ap-southeast-2 --secgroup-id sg-12345678,sg-87654321\n\nPermission\n----------\n\nYou can use the example below to provision an IAM policy for Open Sesame to use:\n\n    {\n        \"Version\": \"2012-10-17\",\n        \"Statement\": [\n            {\n                \"Sid\": \"OpenSesame0\",\n                \"Effect\": \"Allow\",\n                \"Action\": [\n                    \"ec2:DescribeSecurityGroups\"\n                ],\n                \"Resource\": [\n                    \"*\"\n                ]\n            },\n            {\n                \"Sid\": \"OpenSesame1\",\n                \"Effect\": \"Allow\",\n                \"Action\": [\n                    \"ec2:RevokeSecurityGroupIngress\",\n                    \"ec2:AuthorizeSecurityGroupIngress\"\n                ],\n                \"Resource\": [\n                    \"arn:aws:ec2:\u003cregion\u003e:\u003caccount_id\u003e:security-group/sg-12345678\",\n                    \"arn:aws:ec2:\u003cregion\u003e:\u003caccount_id\u003e:security-group/sg-87654321\"\n                ]\n            }\n        ]\n    }\n\nColophon\n--------\n\n[Developer's Guide](https://cliffano.github.io/developers_guide.html#nodejs)\n\nBuild reports:\n\n* [Code complexity report](https://cliffano.github.io/open-sesame/complexity/plato/index.html)\n* [Unit tests report](https://cliffano.github.io/open-sesame/test/mocha.txt)\n* [Test coverage report](https://cliffano.github.io/open-sesame/coverage/c8/index.html)\n* [Integration tests report](https://cliffano.github.io/open-sesame/test-integration/cmdt.txt)\n* [API Documentation](https://cliffano.github.io/open-sesame/doc/jsdoc/index.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcliffano%2Fopen-sesame","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcliffano%2Fopen-sesame","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcliffano%2Fopen-sesame/lists"}