sane_default added in the documentation

pull/26/merge
Alexandre Dulaunoy 2017-09-24 21:36:36 +02:00
parent dc73dd3e86
commit b97f0a1e1a
No known key found for this signature in database
GPG Key ID: 09E2CD4944E6CBCD
1 changed files with 3 additions and 0 deletions

View File

@ -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'