aboutsummaryrefslogtreecommitdiffstats
path: root/exceptions
diff options
context:
space:
mode:
authorlhinds <lhinds@redhat.com>2017-06-25 18:43:51 +0100
committerlhinds <lhinds@redhat.com>2017-06-25 18:50:26 +0100
commit48ce2a2317eb86b73b6da297c8ed9082b06faf9f (patch)
tree7f43ce80b63c0a5662cb8cdd50629c18753a4e2d /exceptions
parent0b6fc6f47d2ce40d64659f398d025d5bcf2c7feb (diff)
Implements sha256 exception functionality
This patch adds functionality for file checksum verfications for binary files. The master_list.yaml binaries yaml directive now only contains simple exceptions (for common artefacts that are gitignored) Each project_exception file now has a filename and a sha256 hash. If a binary file is not found, or the hash is mismatched, it will output the hash for the user to include in an exception patch. This functionality has been added to complete project scans and patchset scans JIRA: RELENG-240 Change-Id: Iafa5710f4a0da192fc74335b1200b504413f8a8b Signed-off-by: lhinds <lhinds@redhat.com>
Diffstat (limited to 'exceptions')
-rw-r--r--exceptions/sandbox.yaml4
1 files changed, 3 insertions, 1 deletions
diff --git a/exceptions/sandbox.yaml b/exceptions/sandbox.yaml
index e41b04a..b0f8d24 100644
--- a/exceptions/sandbox.yaml
+++ b/exceptions/sandbox.yaml
@@ -5,7 +5,9 @@
# of escaping YAML delimiters too (such as `:`) using double quotes "".
binaries:
- binary_ignore: [nullvalue]
+ ping:
+ - d0d7dfc73e0fac09d920ebbdf8cd4e0ef623f15d6246ff20d7a6d12c9a48bf41
+
file_audits:
file_names: [nullvalue]
file_contents: