Class: ZAPv2
- Defined in:
- lib/zap/zapv2.rb,
lib/zap/v2apis/hud.rb,
lib/zap/v2apis/pnh.rb,
lib/zap/v2apis/core.rb,
lib/zap/v2apis/exim.rb,
lib/zap/v2apis/soap.rb,
lib/zap/v2apis/acsrf.rb,
lib/zap/v2apis/alert.rb,
lib/zap/v2apis/ascan.rb,
lib/zap/v2apis/break.rb,
lib/zap/v2apis/pscan.rb,
lib/zap/v2apis/stats.rb,
lib/zap/v2apis/users.rb,
lib/zap/v2apis/client.rb,
lib/zap/v2apis/params.rb,
lib/zap/v2apis/retest.rb,
lib/zap/v2apis/reveal.rb,
lib/zap/v2apis/script.rb,
lib/zap/v2apis/search.rb,
lib/zap/v2apis/spider.rb,
lib/zap/v2apis/context.rb,
lib/zap/v2apis/graphql.rb,
lib/zap/v2apis/network.rb,
lib/zap/v2apis/openapi.rb,
lib/zap/v2apis/postman.rb,
lib/zap/v2apis/reports.rb,
lib/zap/v2apis/revisit.rb,
lib/zap/v2apis/keyboard.rb,
lib/zap/v2apis/replacer.rb,
lib/zap/v2apis/selenium.rb,
lib/zap/v2apis/_template.rb,
lib/zap/v2apis/websocket.rb,
lib/zap/v2apis/automation.rb,
lib/zap/v2apis/autoupdate.rb,
lib/zap/v2apis/wappalyzer.rb,
lib/zap/v2apis/ajax_spider.rb,
lib/zap/v2apis/forced_user.rb,
lib/zap/v2apis/import_urls.rb,
lib/zap/v2apis/rule_config.rb,
lib/zap/v2apis/alert_filter.rb,
lib/zap/v2apis/authorization.rb,
lib/zap/v2apis/http_sessions.rb,
lib/zap/v2apis/local_proxies.rb,
lib/zap/v2apis/access_control.rb,
lib/zap/v2apis/authentication.rb,
lib/zap/v2apis/quickstartlaunch.rb,
lib/zap/v2apis/session_management.rb
Defined Under Namespace
Classes: AccessControl, Acsrf, AjaxSpider, Alert, AlertFilter, Ascan, Authentication, Authorization, Automation, Autoupdate, Break, Client, Context, Core, Exim, ForcedUser, GraphQL, HTTPSessions, HUD, ImportURLs, Keyboard, LocalProxies, Network, OpenAPI, Params, PnH, Postman, Pscan, QuickStartLaunch, Replacer, Reports, Retest, Reveal, Revisit, RuleConfig, Script, Search, Selenium, SessionManagement, Soap, Spider, Stats, Template, Users, Wappalyzer, Websocket
Constant Summary
Constants inherited from ZAP
Instance Attribute Summary collapse
-
#access_control ⇒ Object
readonly
Returns the value of attribute access_control.
-
#acsrf ⇒ Object
readonly
Returns the value of attribute acsrf.
-
#ajax_spider ⇒ Object
readonly
Returns the value of attribute ajax_spider.
-
#alert ⇒ Object
readonly
Returns the value of attribute alert.
-
#alert_filter ⇒ Object
readonly
Returns the value of attribute alert_filter.
-
#ascan ⇒ Object
readonly
Returns the value of attribute ascan.
-
#authentication ⇒ Object
readonly
Returns the value of attribute authentication.
-
#authorization ⇒ Object
readonly
Returns the value of attribute authorization.
-
#automation ⇒ Object
readonly
Returns the value of attribute automation.
-
#autoupdate ⇒ Object
readonly
Returns the value of attribute autoupdate.
-
#break ⇒ Object
readonly
Returns the value of attribute break.
-
#client ⇒ Object
readonly
Returns the value of attribute client.
-
#context ⇒ Object
readonly
Returns the value of attribute context.
-
#core ⇒ Object
readonly
Returns the value of attribute core.
-
#exim ⇒ Object
readonly
Returns the value of attribute exim.
-
#forced_user ⇒ Object
readonly
Returns the value of attribute forced_user.
-
#graphql ⇒ Object
readonly
Returns the value of attribute graphql.
-
#http_sessions ⇒ Object
readonly
Returns the value of attribute http_sessions.
-
#hud ⇒ Object
readonly
Returns the value of attribute hud.
-
#import_urls ⇒ Object
readonly
Returns the value of attribute import_urls.
-
#keyboard ⇒ Object
readonly
Returns the value of attribute keyboard.
-
#local_proxies ⇒ Object
readonly
Returns the value of attribute local_proxies.
-
#network ⇒ Object
readonly
Returns the value of attribute network.
-
#openapi ⇒ Object
readonly
Returns the value of attribute openapi.
-
#params ⇒ Object
readonly
Returns the value of attribute params.
-
#pnh ⇒ Object
readonly
Returns the value of attribute pnh.
-
#postman ⇒ Object
readonly
Returns the value of attribute postman.
-
#pscan ⇒ Object
readonly
Returns the value of attribute pscan.
-
#quickstartlaunch ⇒ Object
readonly
Returns the value of attribute quickstartlaunch.
-
#replacer ⇒ Object
readonly
Returns the value of attribute replacer.
-
#reports ⇒ Object
readonly
Returns the value of attribute reports.
-
#retest ⇒ Object
readonly
Returns the value of attribute retest.
-
#reveal ⇒ Object
readonly
Returns the value of attribute reveal.
-
#revisit ⇒ Object
readonly
Returns the value of attribute revisit.
-
#rule_config ⇒ Object
readonly
Returns the value of attribute rule_config.
-
#script ⇒ Object
readonly
Returns the value of attribute script.
-
#search ⇒ Object
readonly
Returns the value of attribute search.
-
#selenium ⇒ Object
readonly
Returns the value of attribute selenium.
-
#session_management ⇒ Object
readonly
Returns the value of attribute session_management.
-
#soap ⇒ Object
readonly
Returns the value of attribute soap.
-
#spider ⇒ Object
readonly
Returns the value of attribute spider.
-
#stats ⇒ Object
readonly
Returns the value of attribute stats.
-
#users ⇒ Object
readonly
Returns the value of attribute users.
-
#wappalyzer ⇒ Object
readonly
Returns the value of attribute wappalyzer.
-
#websocket ⇒ Object
readonly
Returns the value of attribute websocket.
Attributes inherited from ZAP
Instance Method Summary collapse
-
#initialize(endpoint: 'http://localhost:8080', apikey: API_KEY_DEFAULT) ⇒ ZAPv2
constructor
A new instance of ZAPv2.
Constructor Details
#initialize(endpoint: 'http://localhost:8080', apikey: API_KEY_DEFAULT) ⇒ ZAPv2
Returns a new instance of ZAPv2.
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 |
# File 'lib/zap/zapv2.rb', line 53 def initialize(endpoint: 'http://localhost:8080', apikey: API_KEY_DEFAULT) super endpoint: endpoint, apikey: apikey @access_control = AccessControl.new @api_client @acsrf = Acsrf.new @api_client @ajax_spider = AjaxSpider.new @api_client @alert = Alert.new @api_client @alert_filter = AlertFilter.new @api_client @ascan = Ascan.new @api_client @authentication = Authentication.new @api_client @authorization = Authorization.new @api_client @automation = Automation.new @api_client @autoupdate = Autoupdate.new @api_client @break = Break.new @api_client @client = Client.new @api_client @context = Context.new @api_client @core = Core.new @api_client @exim = Exim.new @api_client @forced_user = ForcedUser.new @api_client @graphql = GraphQL.new @api_client @http_sessions = HTTPSessions.new @api_client @hud = HUD.new @api_client @import_urls = ImportURLs.new @api_client @keyboard = Keyboard.new @api_client @local_proxies = LocalProxies.new @api_client @network = Network.new @api_client @openapi = OpenAPI.new @api_client @params = Params.new @api_client @pnh = PnH.new @api_client @postman = Postman.new @api_client @pscan = Pscan.new @api_client @quickstartlaunch = QuickStartLaunch.new @api_client @replacer = Replacer.new @api_client @reports = Reports.new @api_client @retest = Retest.new @api_client @reveal = Reveal.new @api_client @revisit = Revisit.new @api_client @rule_config = RuleConfig.new @api_client @script = Script.new @api_client @search = Search.new @api_client @selenium = Selenium.new @api_client @session_management = SessionManagement.new @api_client @soap = Soap.new @api_client @spider = Spider.new @api_client @stats = Stats.new @api_client @users = Users.new @api_client @wappalyzer = Wappalyzer.new @api_client @websocket = Websocket.new @api_client end |
Instance Attribute Details
#access_control ⇒ Object (readonly)
Returns the value of attribute access_control.
51 52 53 |
# File 'lib/zap/zapv2.rb', line 51 def access_control @access_control end |
#acsrf ⇒ Object (readonly)
Returns the value of attribute acsrf.
51 52 53 |
# File 'lib/zap/zapv2.rb', line 51 def acsrf @acsrf end |
#ajax_spider ⇒ Object (readonly)
Returns the value of attribute ajax_spider.
51 52 53 |
# File 'lib/zap/zapv2.rb', line 51 def ajax_spider @ajax_spider end |
#alert ⇒ Object (readonly)
Returns the value of attribute alert.
51 52 53 |
# File 'lib/zap/zapv2.rb', line 51 def alert @alert end |
#alert_filter ⇒ Object (readonly)
Returns the value of attribute alert_filter.
51 52 53 |
# File 'lib/zap/zapv2.rb', line 51 def alert_filter @alert_filter end |
#ascan ⇒ Object (readonly)
Returns the value of attribute ascan.
51 52 53 |
# File 'lib/zap/zapv2.rb', line 51 def ascan @ascan end |
#authentication ⇒ Object (readonly)
Returns the value of attribute authentication.
51 52 53 |
# File 'lib/zap/zapv2.rb', line 51 def authentication @authentication end |
#authorization ⇒ Object (readonly)
Returns the value of attribute authorization.
51 52 53 |
# File 'lib/zap/zapv2.rb', line 51 def @authorization end |
#automation ⇒ Object (readonly)
Returns the value of attribute automation.
51 52 53 |
# File 'lib/zap/zapv2.rb', line 51 def automation @automation end |
#autoupdate ⇒ Object (readonly)
Returns the value of attribute autoupdate.
51 52 53 |
# File 'lib/zap/zapv2.rb', line 51 def autoupdate @autoupdate end |
#break ⇒ Object (readonly)
Returns the value of attribute break.
51 52 53 |
# File 'lib/zap/zapv2.rb', line 51 def break @break end |
#client ⇒ Object (readonly)
Returns the value of attribute client.
51 52 53 |
# File 'lib/zap/zapv2.rb', line 51 def client @client end |
#context ⇒ Object (readonly)
Returns the value of attribute context.
51 52 53 |
# File 'lib/zap/zapv2.rb', line 51 def context @context end |
#core ⇒ Object (readonly)
Returns the value of attribute core.
51 52 53 |
# File 'lib/zap/zapv2.rb', line 51 def core @core end |
#exim ⇒ Object (readonly)
Returns the value of attribute exim.
51 52 53 |
# File 'lib/zap/zapv2.rb', line 51 def exim @exim end |
#forced_user ⇒ Object (readonly)
Returns the value of attribute forced_user.
51 52 53 |
# File 'lib/zap/zapv2.rb', line 51 def forced_user @forced_user end |
#graphql ⇒ Object (readonly)
Returns the value of attribute graphql.
51 52 53 |
# File 'lib/zap/zapv2.rb', line 51 def graphql @graphql end |
#http_sessions ⇒ Object (readonly)
Returns the value of attribute http_sessions.
51 52 53 |
# File 'lib/zap/zapv2.rb', line 51 def http_sessions @http_sessions end |
#hud ⇒ Object (readonly)
Returns the value of attribute hud.
51 52 53 |
# File 'lib/zap/zapv2.rb', line 51 def hud @hud end |
#import_urls ⇒ Object (readonly)
Returns the value of attribute import_urls.
51 52 53 |
# File 'lib/zap/zapv2.rb', line 51 def import_urls @import_urls end |
#keyboard ⇒ Object (readonly)
Returns the value of attribute keyboard.
51 52 53 |
# File 'lib/zap/zapv2.rb', line 51 def keyboard @keyboard end |
#local_proxies ⇒ Object (readonly)
Returns the value of attribute local_proxies.
51 52 53 |
# File 'lib/zap/zapv2.rb', line 51 def local_proxies @local_proxies end |
#network ⇒ Object (readonly)
Returns the value of attribute network.
51 52 53 |
# File 'lib/zap/zapv2.rb', line 51 def network @network end |
#openapi ⇒ Object (readonly)
Returns the value of attribute openapi.
51 52 53 |
# File 'lib/zap/zapv2.rb', line 51 def openapi @openapi end |
#params ⇒ Object (readonly)
Returns the value of attribute params.
51 52 53 |
# File 'lib/zap/zapv2.rb', line 51 def params @params end |
#pnh ⇒ Object (readonly)
Returns the value of attribute pnh.
51 52 53 |
# File 'lib/zap/zapv2.rb', line 51 def pnh @pnh end |
#postman ⇒ Object (readonly)
Returns the value of attribute postman.
51 52 53 |
# File 'lib/zap/zapv2.rb', line 51 def postman @postman end |
#pscan ⇒ Object (readonly)
Returns the value of attribute pscan.
51 52 53 |
# File 'lib/zap/zapv2.rb', line 51 def pscan @pscan end |
#quickstartlaunch ⇒ Object (readonly)
Returns the value of attribute quickstartlaunch.
51 52 53 |
# File 'lib/zap/zapv2.rb', line 51 def quickstartlaunch @quickstartlaunch end |
#replacer ⇒ Object (readonly)
Returns the value of attribute replacer.
51 52 53 |
# File 'lib/zap/zapv2.rb', line 51 def replacer @replacer end |
#reports ⇒ Object (readonly)
Returns the value of attribute reports.
51 52 53 |
# File 'lib/zap/zapv2.rb', line 51 def reports @reports end |
#retest ⇒ Object (readonly)
Returns the value of attribute retest.
51 52 53 |
# File 'lib/zap/zapv2.rb', line 51 def retest @retest end |
#reveal ⇒ Object (readonly)
Returns the value of attribute reveal.
51 52 53 |
# File 'lib/zap/zapv2.rb', line 51 def reveal @reveal end |
#revisit ⇒ Object (readonly)
Returns the value of attribute revisit.
51 52 53 |
# File 'lib/zap/zapv2.rb', line 51 def revisit @revisit end |
#rule_config ⇒ Object (readonly)
Returns the value of attribute rule_config.
51 52 53 |
# File 'lib/zap/zapv2.rb', line 51 def rule_config @rule_config end |
#script ⇒ Object (readonly)
Returns the value of attribute script.
51 52 53 |
# File 'lib/zap/zapv2.rb', line 51 def script @script end |
#search ⇒ Object (readonly)
Returns the value of attribute search.
51 52 53 |
# File 'lib/zap/zapv2.rb', line 51 def search @search end |
#selenium ⇒ Object (readonly)
Returns the value of attribute selenium.
51 52 53 |
# File 'lib/zap/zapv2.rb', line 51 def selenium @selenium end |
#session_management ⇒ Object (readonly)
Returns the value of attribute session_management.
51 52 53 |
# File 'lib/zap/zapv2.rb', line 51 def session_management @session_management end |
#soap ⇒ Object (readonly)
Returns the value of attribute soap.
51 52 53 |
# File 'lib/zap/zapv2.rb', line 51 def soap @soap end |
#spider ⇒ Object (readonly)
Returns the value of attribute spider.
51 52 53 |
# File 'lib/zap/zapv2.rb', line 51 def spider @spider end |
#stats ⇒ Object (readonly)
Returns the value of attribute stats.
51 52 53 |
# File 'lib/zap/zapv2.rb', line 51 def stats @stats end |
#users ⇒ Object (readonly)
Returns the value of attribute users.
51 52 53 |
# File 'lib/zap/zapv2.rb', line 51 def users @users end |
#wappalyzer ⇒ Object (readonly)
Returns the value of attribute wappalyzer.
51 52 53 |
# File 'lib/zap/zapv2.rb', line 51 def wappalyzer @wappalyzer end |
#websocket ⇒ Object (readonly)
Returns the value of attribute websocket.
51 52 53 |
# File 'lib/zap/zapv2.rb', line 51 def websocket @websocket end |