{"id":17680464,"url":"https://github.com/hahwul/zaproxy-ruby","last_synced_at":"2025-05-12T23:11:43.679Z","repository":{"id":204299237,"uuid":"711536186","full_name":"hahwul/zaproxy-ruby","owner":"hahwul","description":"A Ruby Implementation and Library for Easy Utilization of ZAP API","archived":false,"fork":false,"pushed_at":"2024-02-19T15:35:20.000Z","size":130,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-30T17:52:17.225Z","etag":null,"topics":["ruby","ruby-gem","security","zap","zaproxy"],"latest_commit_sha":null,"homepage":"https://rubygems.org/gems/zaproxy","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hahwul.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-29T15:13:00.000Z","updated_at":"2024-01-11T07:41:35.000Z","dependencies_parsed_at":"2024-10-24T10:54:00.974Z","dependency_job_id":"ebae84ab-8b84-45c3-9515-eeb22cafbe47","html_url":"https://github.com/hahwul/zaproxy-ruby","commit_stats":null,"previous_names":["hahwul/zaproxy-ruby"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hahwul%2Fzaproxy-ruby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hahwul%2Fzaproxy-ruby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hahwul%2Fzaproxy-ruby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hahwul%2Fzaproxy-ruby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hahwul","download_url":"https://codeload.github.com/hahwul/zaproxy-ruby/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253837454,"owners_count":21971984,"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":["ruby","ruby-gem","security","zap","zaproxy"],"created_at":"2024-10-24T09:07:35.399Z","updated_at":"2025-05-12T23:11:43.655Z","avatar_url":"https://github.com/hahwul.png","language":"Ruby","readme":"\u003cimg src=\"https://github.com/hahwul/zaproxy-ruby/assets/13212227/83423722-0148-4a49-9347-54b145eda387\" width=\"160px\"\u003e\n\n# zaproxy-ruby\n\nA Ruby Implementation and Library for Easy Utilization of [ZAP API](https://www.zaproxy.org/docs/api/#introduction).\n\n```ruby\nrequire 'zaproxy'\n\ninstance = ZAPv2.new(endpoint: 'http://localhost:8090')\n\ninstance.core.sites\n# \u003cResult:0x0000000105eef830\n# @message=\"{\\\"sites\\\":[\\\"https://www.hahwul.com\\\",\\\"https://github.com\\\"]}\",\n# @object={\"sites\"=\u003e[\"https://www.hahwul.com\", \"https://github.com\"]},\n# @success=true\u003e\n\ninstance.spider.scan('https://www.hahwul.com','','','','')\n# \u003cResult:0x0000000105f01738 @message=\"{\\\"scan\\\":\\\"0\\\"}\", @object={\"scan\"=\u003e\"0\"}, @success=true\u003e\n```\n\n## Getting started\nThe `zaproxy` gem provides Ruby bindings to the ZAP(Zed Attack Proxy) tool, allowing you to automate security testing and scanning of web applications. You can install the gem using either `gem` or `bundler`.\n\n### Gem\n```bash\ngem install zaproxy\n```\n\n### Bundler\nIf you are managing dependencies with Bundler, you can add the zaproxy gem to your project's Gemfile and then use Bundler to install it.\n\nCreate a Gemfile in your project directory. and Open the Gemfile and add the following line to specify the zaproxy gem\n\n```ruby\n# Gemfile\ngem 'zaproxy'\n```\n\nIn your terminal, navigate to your project directory and run the following command to install the gem and its dependencies using Bundler\n\n```bash\nbundle install\n```\n\n## Documents\n- [RubyDocs](https://rubydoc.info/gems/zaproxy)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhahwul%2Fzaproxy-ruby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhahwul%2Fzaproxy-ruby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhahwul%2Fzaproxy-ruby/lists"}