openshift / scapresults

A helper script used by openshift/compliance-operator to upload OpenSCAP scan results into a configMap

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DEPRECATED

This project has been moved under the compliance-operator

Please consult compliance-operator for latest development.


scapresults

This is deployed as a workload for the compliance-operator, and is used in order to collect the logs of the OpenSCAP checks for the nodes in the cluster.

This is a small script that uploads a file to a ConfigMap, optionally gzipping it to fit within the etc 1MB file limit.

TODO

  • Handle duplicated ConfigMaps: What happens when the ConfigMap that this tool is trying to create already exists? Should it overwrite, ignore or fail?

  • Lock down the container

About

A helper script used by openshift/compliance-operator to upload OpenSCAP scan results into a configMap

License:Apache License 2.0


Languages

Language:Go 66.6%Language:Makefile 30.1%Language:Dockerfile 3.3%