docs/scripts/converters
Guilherme Macedo 2618bd9550
Add hardening guide for Rancher provisioned RKE2 clusters
Signed-off-by: Guilherme Macedo <guilherme.macedo@suse.com>
2022-05-13 16:21:52 +02:00
..
css Add hardening step and improve CSS style 2022-02-21 13:47:33 +01:00
fonts EIO-247: add converters scripts 2020-02-19 10:53:53 -07:00
headers Add hardening guide for Rancher provisioned RKE2 clusters 2022-05-13 16:21:52 +02:00
images EIO-247: add converters scripts 2020-02-19 10:53:53 -07:00
results_to_markdown adding new results to markdown converter 2021-01-05 12:29:27 -07:00
scripts Revert "Revert "Staging to master" due to rendering problems" 2022-04-04 17:19:35 -07:00
templates updates to PDF converter scripts 2020-03-17 13:01:25 -07:00
Dockerfile updates to PDF converter scripts 2020-03-17 13:01:25 -07:00
README.md EIO-247: add converters scripts 2020-02-19 10:53:53 -07:00
build.sh EIO-247: add converters scripts 2020-02-19 10:53:53 -07:00
run_md_to_pdf.sh EIO-247: add converters scripts 2020-02-19 10:53:53 -07:00
run_results_to_md.sh Update K3s hardening guide to CIS Kubernetes Benchmark 1.6 2022-02-22 15:40:12 +01:00

README.md

Converters

A collection of scripts and tools to transform documentation from one format to another. These scripts leverage docker containers to ease portability to different platforms.

Usage

To get started first build the local docker image by running the build script:

build.sh

Kube-bench json results to markdown

This converter takes two positional arguments, a kube-bench json results file and the directory of the helper scripts used for the kube-bench execution.

./run_results_to_md.sh results.json kube-bench/test_helpers

The conversion is sent to stdout which can be redirected to a file to save the conversion.

Markdown to pdf

This converter takes a single argument, a markdown file to convert to pdf format. The resulting pdf file is saved in output/output.pdf

./run_md_to_pdf.sh ../../content/rancher/v2.x/en/security/hardening-2.3.3/_index.md