From c7d0bf293c9e7ddadcab4f2f25e03a8688494746 Mon Sep 17 00:00:00 2001 From: gotbadger Date: Mon, 29 Jan 2024 13:35:47 +0000 Subject: [PATCH] docs(rules): make rule list available as a csv --- docs/rules.csv.njk | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 docs/rules.csv.njk diff --git a/docs/rules.csv.njk b/docs/rules.csv.njk new file mode 100644 index 000000000..10d2c2409 --- /dev/null +++ b/docs/rules.csv.njk @@ -0,0 +1,9 @@ +--- +permalink: '/rules.csv' +eleventyExcludeFromCollections: true +layout: false +--- + +Language; Rule Title; Rule ID; Framework; CWE; Doc +{% for rule in rules.rules | sortById %}{{ rule.languages | join(", ")}}; {{ rule.metadata.description | safe }}; {{ rule.metadata.id }} ;{{ rule.framework }}; {{ rule.metadata.cwe_id | join(", ")}}; {{ rule.metadata.documentation_url }} +{% endfor %} \ No newline at end of file