diff options
author | lhinds <lhinds@redhat.com> | 2017-11-16 14:34:54 +0000 |
---|---|---|
committer | lhinds <lhinds@redhat.com> | 2017-11-16 14:34:54 +0000 |
commit | 8365245c9dc2f8e2ff2adf8aa84162e420747132 (patch) | |
tree | cb2123ab88f518fdea539e48f5192180a97cf6d7 /anteater/src/project_scan.py | |
parent | 6a5d426b8244eeb4a4bf0556b9cc0a8a4fee95ed (diff) |
Enter sha256 binary sum in report files
JIRA: RELENG-317
Change-Id: If1a0c1e911e2d9c9684c29379707550133146020
Signed-off-by: lhinds <lhinds@redhat.com>
Diffstat (limited to 'anteater/src/project_scan.py')
-rw-r--r-- | anteater/src/project_scan.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/anteater/src/project_scan.py b/anteater/src/project_scan.py index 9bb3539..3a04a83 100644 --- a/anteater/src/project_scan.py +++ b/anteater/src/project_scan.py @@ -111,6 +111,9 @@ def scan_file(project_dir, project, binary_list, file_audit_list, "a") as gate_report: gate_report.write('Non Whitelisted Binary: {0}\n'. format(full_path)) + gate_report.write( + 'Submit patch with the following hash: {0}\n'. + format(hasher.hexdigest())) else: if not items.endswith(tuple(file_ignore)): |