Skip to content

Commit 16b383f

Browse files
author
Glenn Snyder
committed
adding URL to the debug output
1 parent d0c5311 commit 16b383f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/update_vuln_status.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
if vuln_name == args.vulnerability:
6565
vuln['remediationStatus'] = status
6666
vuln['comment'] = comment
67-
logging.debug(f"Updating vuln {args.vulnerability} in project {project['name']}, version {version['versionName']} with status {status} and comment {comment}")
67+
logging.debug(f"Updating vuln {args.vulnerability} in project {project['name']}, version {version['versionName']} using URL {vuln['_meta']['href']} with status {status} and comment {comment}")
6868
result = hub.execute_put(vuln['_meta']['href'], data=vuln)
6969
if result.status_code == 202:
7070
logging.info(f"Successfully updated vuln {args.vulnerability} in project {project['name']}, version {version['versionName']} with status {status} and comment {comment}")

0 commit comments

Comments
 (0)