ashenchowthee / zaproxy

Automatically exported from code.google.com/p/zaproxy
0 stars 0 forks source link

Alerts are not returned when invoked thru API #1586

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run an active scan thru ZAP and make sure that there are few alerts for URLs 
in scope.
2. Invoke ZAP API for View Alerts.
3. Invoke ZAP API for view numberOfAlerts.

What is the expected output? What do you see instead?
Both view alerts() and view numberOfAlerts() methods should return the correct 
values. Instead numberOfAlerts() return 0, and alerts() return an empty 
collection.

What version of the product are you using? On what operating system?
Latest Weekly Build 2015_03_30

Please provide any additional information below.
Refer to the following post for more information.
https://groups.google.com/forum/#!topic/zaproxy-users/8jy0cnFlgeo

Original issue reported on code.google.com by dmet...@gmail.com on 1 Apr 2015 at 4:20

GoogleCodeExporter commented 9 years ago

Original comment by THC...@gmail.com on 1 Apr 2015 at 11:05

GoogleCodeExporter commented 9 years ago
I've backed out the changes that caused this.

Original comment by psii...@gmail.com on 2 Apr 2015 at 3:25

GoogleCodeExporter commented 9 years ago
Fixed in 2.4.0

Original comment by psii...@gmail.com on 14 Apr 2015 at 11:03