SecurityFTW / cs-suite

Cloud Security Suite - One stop tool for auditing the security posture of AWS/GCP/Azure infrastructure.
GNU General Public License v3.0
1.13k stars 217 forks source link

UnboundLocalError: local variable 'j_res' referenced before assignment #43

Open vhusker opened 4 years ago

vhusker commented 4 years ago

When running an Azure Audit I receive the following error:

6.1: Checking if any network group allows public access to RDP

Traceback (most recent call last): File "cs.py", line 89, in main() File "cs.py", line 83, in main azureaudit.azure_audit() File "/home/jbenson/cs-suite/modules/azureaudit.py", line 1885, in azure_audit rdp_public() File "/home/jbenson/cs-suite/modules/azureaudit.py", line 1074, in rdp_public j_res['value'] = "The network group %s does not allow public RDP access" % network_group UnboundLocalError: local variable 'j_res' referenced before assignment