owasp_zap 0.0.93 → 0.0.94
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/owasp_zap/version.rb +1 -1
- data/lib/owasp_zap.rb +5 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 708f82e2ef6fe7935aa5518fa97a0867080c8d1f
|
4
|
+
data.tar.gz: b95a2b050738e44b6bfa1e02ceb47c36bdbc335e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b420620860f45a7592cfabb56e4284048c5981ad5bde647618df20c76c2f62298e225fd34b13ab6c5dbda82eaa1cd730f9ebe4dc86c8e5c3b292652193fce7f7
|
7
|
+
data.tar.gz: bd2c9e4073cd5262662afaf4e379e4b775ec10c391276ecbe054468abe17fd08135c2956cb2fe1cc0b47e329fcdc2e3cbbdd327e43cadc916a229fd767952435
|
data/lib/owasp_zap/version.rb
CHANGED
data/lib/owasp_zap.rb
CHANGED
@@ -12,6 +12,7 @@ require_relative "owasp_zap/attack"
|
|
12
12
|
require_relative "owasp_zap/alert"
|
13
13
|
require_relative "owasp_zap/auth"
|
14
14
|
require_relative "owasp_zap/scanner"
|
15
|
+
require_relative "owasp_zap/policy"
|
15
16
|
|
16
17
|
module OwaspZap
|
17
18
|
class ZapException < Exception;end
|
@@ -54,6 +55,10 @@ module OwaspZap
|
|
54
55
|
response.code == 200
|
55
56
|
end
|
56
57
|
|
58
|
+
def policy
|
59
|
+
Zap::Policy.new(:base=>@base)
|
60
|
+
end
|
61
|
+
|
57
62
|
def alerts
|
58
63
|
Zap::Alert.new(:base=>@base,:target=>@target)
|
59
64
|
end
|