intruxxer / zaproxy

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

Return the list of alerts in the Python API instead of a dictionary with one entry #575

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The core.alerts() function is returning a dictionary with just one entry with a 
key of 'alerts'. Instead, this should return the value associated with this 
entry.

Expected:

alerts = zap.core.alerts()

Actual:

alerts = zap.core.alerts().get('alerts')

Original issue reported on code.google.com by dave.h...@gmail.com on 26 Mar 2013 at 7:47

GoogleCodeExporter commented 9 years ago

Original comment by THC...@gmail.com on 9 Feb 2014 at 4:20

GoogleCodeExporter commented 9 years ago
r4510

Original comment by THC...@gmail.com on 28 Mar 2014 at 3:05

GoogleCodeExporter commented 9 years ago

Original comment by psii...@gmail.com on 31 Mar 2014 at 11:17

GoogleCodeExporter commented 9 years ago
Fixed in ZAP 2.3.0

Original comment by psii...@gmail.com on 10 Apr 2014 at 3:25