From f8c1c3bf414a30ef25d400da4e63e5fc80a2033d Mon Sep 17 00:00:00 2001 From: Philip Hayton Date: Wed, 31 Jan 2024 11:56:50 +0000 Subject: [PATCH] docs(rules): make rule list available as a csv (#1479) --- 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