Skip to content
Snippets Groups Projects
Commit cda1b8c1 authored by qweqweasdasd's avatar qweqweasdasd
Browse files

print authentication

parent 65fd7d57
No related branches found
No related tags found
No related merge requests found
......@@ -397,6 +397,8 @@ def import_dep_info(file_path, endpoints_to_scan):
auth_name = os.getenv('GMP_USER')
auth_passwd = os.getenv('GMP_PASSWORD')
print(auth_name, aut)
logging.basicConfig(filename='debug.log', level=logging.DEBUG)
local_ip = socket.gethostbyname(socket.gethostname())
connection = TLSConnection(hostname=local_ip)
......@@ -451,4 +453,4 @@ for host,ports in endpoints.items():
severities = process_global_severity(severities)
with open(severity_filename, "w") as f:
f.write(json.dumps(severities))
f.write(json.dumps(severities))
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment