Skip to content

Commit 717cf5f

Browse files
author
Glenn Snyder
committed
fixing issue where the comment on the vulnerability was not updating
1 parent d231104 commit 717cf5f

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
@@ -63,7 +63,7 @@
6363

6464
if vuln_name == args.vulnerability:
6565
vuln['remediationStatus'] = status
66-
vuln['remediationComment'] = comment
66+
vuln['comment'] = comment
6767
logging.debug(f"Updating vuln {args.vulnerability} in project {project['name']}, version {version['versionName']} with status {status} and comment {comment}")
6868
result = hub.execute_put(vuln['_meta']['href'], data=vuln)
6969
if result.status_code == 202:

0 commit comments

Comments
 (0)