mirror of https://github.com/MISP/misp-objects
values_list added in the documentation
parent
10b21c6aac
commit
0e25309411
|
@ -87,7 +87,10 @@ def asciidoc(content=False, adoc=None, t='title',title=''):
|
||||||
disableCorrelation = 'icon:check[] '
|
disableCorrelation = 'icon:check[] '
|
||||||
if 'description' in content['attributes'][v]:
|
if 'description' in content['attributes'][v]:
|
||||||
if content['attributes'][v]['description']:
|
if content['attributes'][v]['description']:
|
||||||
description = content['attributes'][v]['description']
|
values = ''
|
||||||
|
if 'values_list' in content['attributes'][v]:
|
||||||
|
values = content['attributes'][v]['values_list']
|
||||||
|
description = '{} {}'.format(content['attributes'][v]['description'],values)
|
||||||
output = '\n| {} | {} a| {} a| {}\n'.format(v, content['attributes'][v]['misp-attribute'], description ,disableCorrelation)
|
output = '\n| {} | {} a| {} a| {}\n'.format(v, content['attributes'][v]['misp-attribute'], description ,disableCorrelation)
|
||||||
adoc = adoc + output
|
adoc = adoc + output
|
||||||
output = '\n|===\n'
|
output = '\n|===\n'
|
||||||
|
|
Loading…
Reference in New Issue