{"id":22914233,"url":"https://github.com/suse/owasp_zap","last_synced_at":"2025-08-18T03:38:29.841Z","repository":{"id":137159516,"uuid":"18329194","full_name":"SUSE/owasp_zap","owner":"SUSE","description":"ruby owasp proxy API  upstream on","archived":false,"fork":false,"pushed_at":"2015-09-10T09:21:15.000Z","size":231,"stargazers_count":9,"open_issues_count":0,"forks_count":4,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-05-12T13:51:37.543Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/vpereira/owasp_zap","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/SUSE.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-04-01T12:49:42.000Z","updated_at":"2025-05-11T05:14:01.000Z","dependencies_parsed_at":"2023-03-13T07:10:44.363Z","dependency_job_id":null,"html_url":"https://github.com/SUSE/owasp_zap","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SUSE/owasp_zap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SUSE%2Fowasp_zap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SUSE%2Fowasp_zap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SUSE%2Fowasp_zap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SUSE%2Fowasp_zap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SUSE","download_url":"https://codeload.github.com/SUSE/owasp_zap/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SUSE%2Fowasp_zap/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270940596,"owners_count":24671676,"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-08-18T02:00:08.743Z","response_time":89,"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":[],"created_at":"2024-12-14T05:14:05.985Z","updated_at":"2025-08-18T03:38:29.816Z","avatar_url":"https://github.com/SUSE.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OwaspZap\n\n\nA ruby client to access the HTTP API from Zap Proxy (http://code.google.com/p/zaproxy)\n\nif you need a rpm, check it here: https://build.opensuse.org/package/show/home:vpereirabr/owasp-zap\n\n[![Build Status](https://travis-ci.org/vpereira/owasp_zap.png?branch=master)](https://travis-ci.org/vpereira/owasp_zap)\n[![Code Climate](https://codeclimate.com/github/vpereira/owasp_zap.png)](https://codeclimate.com/github/vpereira/owasp_zap)\n\n## Status: Maintained\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n    gem 'owasp_zap'\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install owasp_zap\n\n## Usage\n\n    require 'owasp_zap'\n\n    include OwaspZap\n\n    z = Zap.new :target=\u003e'http://xxx.xxx.xxx' # create new Zap instance with default params\n    z = Zap.new :target=\u003e'http://yyy.yyy.yyy', :zap=\u003e\"/usr/share/owasp-zap/zap.sh\" # if you got my obs package\n    z = Zap.new :output=\u003e'logfile.txt' # it will log the stdout log from Zap Proxy to a file\n    z.start # start interactive\n    # TODO\n    # document it further :)\n    z.start :daemon=\u003etrue # start in daemon mode\n    z.scan # to run active scan\n    z.alerts.view # you can specify one format JSON, XML or HTML.. default JSON.\n    z.shutdown # stop the proxy\n\n    # to disable a specific test\n    to_be_disabled = JSON.load(z.policy.all)[\"policies\"].select { |p| p[\"name\"] == \"Information gathering\" }.first\n\n    unless to_be_disabled.nil?\n        z.scanner.disable([to_be_disabled[\"id\"]])\n    end\n\n    # to print the XML report\n    z.xml_report\n\n## Important\n\n  Starting from version 2.4.1 ZAP creates an API key. Applications that call the\n  API wont be able to set anything without the API KEY. We must implement it.\n  Therefore to keep it working, as default we are disabling the api key.\n\n  Please check https://github.com/zaproxy/zaproxy/wiki/FAQapikey\n\n  and https://github.com/vpereira/owasp_zap/blob/master/lib/owasp_zap.rb#L88\n  \n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuse%2Fowasp_zap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsuse%2Fowasp_zap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuse%2Fowasp_zap/lists"}