mozilla / minion-zap-plugin

Minion ZAP Plugin
15 stars 8 forks source link

alert.get('...') is a unicode object due to zap api changes #5

Closed yeukhon closed 11 years ago

yeukhon commented 11 years ago
            for alert in self.zap.core.alerts():
                issue = self._minion_issue(alert)

the method .alerts() now returns the following format, rather than a list of dictionary directly.

new format:


{'alerts': [ dict1, dict2, dict3 ....]}