rules: fmt: add additional meta field ordering

This commit is contained in:
William Ballenthin
2020-06-21 16:43:24 -06:00
parent b3ca9f0daf
commit c8eee01f31

View File

@@ -21,7 +21,7 @@ logger = logging.getLogger(__name__)
# these are the standard metadata fields, in the preferred order.
# when reformatted, any custom keys will come after these.
META_KEYS = ("name", "namespace", "rule-category", "author", "scope", "att&ck", "mbc", "examples")
META_KEYS = ("name", "namespace", "rule-category", "author", "description", "lib", "scope", "att&ck", "mbc", "references", "examples")
FILE_SCOPE = 'file'