mirror of
https://github.com/ziirish/burp-ui.git
synced 2026-05-21 06:45:24 -06:00
enforce ACL filtering on monitor API (fix #242)
This commit is contained in:
parent
010c65cc9a
commit
c91f14476d
1 changed files with 4 additions and 1 deletions
|
|
@ -242,7 +242,10 @@ class Live(Resource):
|
|||
res.append(data)
|
||||
else:
|
||||
for client in running:
|
||||
# TODO: fix #242 / add ACL test
|
||||
# ACL
|
||||
if has_acl and not is_admin and \
|
||||
not current_user.acl.is_client_allowed(client, server):
|
||||
continue
|
||||
data = {}
|
||||
data['client'] = client
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue