Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
### Changed
- Added support for 'method' parameter on Replacer 'add_rule'

### Fixed
- Return the whole response from `alert.alert_counts_by_risk` (Issue 9314).

## [0.5.0] - 2025-12-15
### Added
- Add the APIs of the following add-ons:
Expand Down
2 changes: 1 addition & 1 deletion src/zapv2/alert.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def alert_counts_by_risk(self, url=None, recurse=None):
params['url'] = url
if recurse is not None:
params['recurse'] = recurse
return six.next(six.itervalues(self.zap._request(self.zap.base + 'alert/view/alertCountsByRisk/', params)))
return (self.zap._request(self.zap.base + 'alert/view/alertCountsByRisk/', params))

def delete_all_alerts(self, apikey=''):
"""
Expand Down