RHEL Security Vulnerability Test (#270)

* check for security vulnerabilities on rhel

* import

* check host is red hat

* filepath join

* imports
This commit is contained in:
LPowlett
2019-02-04 10:25:55 +00:00
committed by Arthur Barr
parent df6ce917c2
commit 43676049b7
2 changed files with 47 additions and 2 deletions

View File

@@ -8,6 +8,12 @@ You need to ensure you have the following tools installed:
* [dep](https://github.com/golang/dep) (official Go dependency management tool) - needed to prepare for running the tests
* [Helm](https://helm.sh) - only needed for running the Kubernetes tests
### Prerequisites for testing a RedHat image
If you want to test a container image with Red Hat Enterprise Linux as the base OS, then you need to use a host server with Red Hat Enterprise Linux. You must also have the following tools installed:
* [Yum](http://yum.baseurl.org/) (available in `rhel-7-server-extras`)
* [Buildah](https://buildah.io) (available in `rhel-7-server-extras`)
## Running the tests
There are two main sets of tests: