From 1f1d7e80f546434f6ffd731fd1b8c60cee8447fe 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..956f953a2 --- /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.name }}; {{ rule.metadata.id }} ;{{ rule.framework }}; {{ rule.metadata.cwe_id | join(", ")}}; {{ rule.metadata.documentation_url }} +{% endfor %} \ No newline at end of file