render: verbose: only show some meta keys

This commit is contained in:
William Ballenthin
2020-06-28 08:50:05 -06:00
parent 67c511e085
commit eca87ab976

View File

@@ -27,7 +27,7 @@ def render_verbose(doc):
ostream.writeln(rutils.bold(rule['meta']['name']))
rows = []
for key in capa.rules.META_KEYS:
for key in ('namespace', 'description', 'scope'):
if key == 'name' or key not in rule['meta']:
continue