Commit Graph

2 Commits

Author SHA1 Message Date
Andy Pitcher 4299f43299
Add new yaml validation around checks nature (Automated or Manual) (#236)
* Add new yaml validation around checks nature for each profiles' yaml file
    - Verifies if text: contains Automated or Manual
    - Verifies if Automated matches scored true and Manual matches scored false

* Fix check types: generic profiles

* Fix check types: k3s cis-1.23

* Fix check types: k3s cis-1.24

* Fix check types: k3s cis-1.7

* Fix check types: k3s cis-1.8

* Fix check types: rke cis-1.23

* Fix check types: rke cis-1.24

* Fix check types: rke cis-1.7

* Fix check types + Add line breaks: rke cis-1.8

* Fix check types: rke2 cis-1.23

* Fix check types: rke2 cis-1.24

* Fix check types: rke2 cis-1.7

* Fix check types: rke2 cis-1.8
2024-08-22 14:13:46 -04:00
Paulo Gomes d171603407
build: Refactor Makefile logic
The multi-stage dockerfile is now used to build the project binary, instead
of copying it from the host. This enforces that the binary is always rebuilt
whenever there is a change that invalidates the previous version - from a
container image perspective.

The makefile was restructured so that only the most important and relevant code
is present. In order to enable code reuse, build related logic was extracted to
hack/make/build.mk. All code related to installing tools is now placed in
hack/make/tools.mk.

Signed-off-by: Paulo Gomes <paulo.gomes@suse.com>
2024-01-12 17:47:31 +00:00