From 8365245c9dc2f8e2ff2adf8aa84162e420747132 Mon Sep 17 00:00:00 2001 From: lhinds Date: Thu, 16 Nov 2017 14:34:54 +0000 Subject: Enter sha256 binary sum in report files JIRA: RELENG-317 Change-Id: If1a0c1e911e2d9c9684c29379707550133146020 Signed-off-by: lhinds --- anteater/src/project_scan.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'anteater/src/project_scan.py') 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)): -- cgit 1.2.3-korg