Skip to content

Commit

Permalink
Fix information leak on agg service status for ns-limited users
Browse files Browse the repository at this point in the history
The daemon_status handler did not filter the monitor.services
dataset.
  • Loading branch information
cvaroqui committed Jul 9, 2019
1 parent b4f0c06 commit 0ccdf0f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/osvcd_mon.py
Original file line number Diff line number Diff line change
Expand Up @@ -3430,7 +3430,8 @@ def get_all_paths(self):

def get_agg_services(self, paths=None):
data = {}
paths = self.get_all_paths()
if paths is None:
paths = self.get_all_paths()
for path in paths:
try:
if self.get_service(path).topology == "span":
Expand Down

0 comments on commit 0ccdf0f

Please sign in to comment.