From b97f0a1e1ac0554d5836d0ce6406ff751f3e94ef Mon Sep 17 00:00:00 2001 From: Alexandre Dulaunoy Date: Sun, 24 Sep 2017 21:36:36 +0200 Subject: [PATCH] sane_default added in the documentation --- tools/adoc_objects.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/adoc_objects.py b/tools/adoc_objects.py index bd6e0f5..41aee41 100755 --- a/tools/adoc_objects.py +++ b/tools/adoc_objects.py @@ -91,6 +91,9 @@ def asciidoc(content=False, adoc=None, t='title',title=''): if 'values_list' in content['attributes'][v]: values = content['attributes'][v]['values_list'] description = '{} {}'.format(content['attributes'][v]['description'],values) + if 'sane_default' in content['attributes'][v]: + values = content['attributes'][v]['sane_default'] + description = '{} {}'.format(content['attributes'][v]['description'],values) output = '\n| {} | {} a| {} a| {}\n'.format(v, content['attributes'][v]['misp-attribute'], description ,disableCorrelation) adoc = adoc + output output = '\n|===\n'