{"id":31881268,"url":"https://github.com/itkq/banacle","last_synced_at":"2025-10-13T01:58:56.724Z","repository":{"id":33907629,"uuid":"163491395","full_name":"itkq/banacle","owner":"itkq","description":"Create or delete DENY NACL ingress entries on AWS VPC as ChatOps (Slack Slash Command)","archived":false,"fork":false,"pushed_at":"2023-03-16T05:50:34.000Z","size":349,"stargazers_count":6,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-19T16:52:01.663Z","etag":null,"topics":["aws-vpc","chatops","nacl-entry","slack"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/itkq.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-12-29T08:10:56.000Z","updated_at":"2022-05-08T02:58:02.000Z","dependencies_parsed_at":"2023-02-10T17:50:11.047Z","dependency_job_id":null,"html_url":"https://github.com/itkq/banacle","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/itkq/banacle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itkq%2Fbanacle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itkq%2Fbanacle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itkq%2Fbanacle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itkq%2Fbanacle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/itkq","download_url":"https://codeload.github.com/itkq/banacle/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itkq%2Fbanacle/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278778956,"owners_count":26044256,"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","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-vpc","chatops","nacl-entry","slack"],"created_at":"2025-10-13T01:58:30.225Z","updated_at":"2025-10-13T01:58:56.715Z","avatar_url":"https://github.com/itkq.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Banacle: Create or delete DENY NACL ingress entries on AWS VPC as ChatOps (Slack Slash Command)\n\n**NOTE: The maximum number of NACL entries associated with a NACL is 20. You might reach this limitation if you receive attacks like DoS frequently. Please consider another way such as AWS WAF in that case.**\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'banacle'\n```\n\nAnd then execute:\n\n```\n$ bundle\n```\n\nOr install it yourself as:\n\n```\n$ gem install banacle\n```\n\n## Usage\n\nBanacle is supposed to be run as a Sinatra server. You can run it simply by `rackup` command. Banacle has two endpoints for Slack as follows:\n\n- `/slack/command`: handle Slash Command\n- `/slack/message`: handle Interactive Message\n\nBy default, the format of Slack Slash Command is: `/[cmd] [create or delete] [region] [vpc_id or vpc_name] [cidr_blocks]`\n\n### Customize authentication\nYou can customize Banacle by using request handler modules.\nSee example directory which implements a customized authentication feature for details.\n\n## Example: ban 1.2.3.4 from my VPC\n\nNote: Use documentation block for testing. https://tools.ietf.org/html/rfc5737\n\nExecute a command that create a DENY NACL ingress entry for 1.2.3.4 on a VPC named \"test\" in ap-northeast-1.\n\n![](./docs/demo1.png)\n\nThen an approval request appears. Someone else can review the request and decide to approve or reject it. The requester can cancel the request. In this case, the request looks good so the reviewer clicks \"Approve\" button.\n\n![](./docs/demo2.png)\n\nAfter approving the request, Banacle executes creating the NACL entry on the target VPC through the AWS API as follows.\n\n![](./docs/nacl.png)\n\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/itkq/banacle.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitkq%2Fbanacle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitkq%2Fbanacle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitkq%2Fbanacle/lists"}