updated parse_generic_info to use newresult function
This commit is contained in:
parent
80770de5c0
commit
a77eafe513
@ -114,13 +114,10 @@ class NIST(Source):
|
||||
|
||||
requests = []
|
||||
for key, value in data.iteritems():
|
||||
result = Result({
|
||||
'attribute': key,
|
||||
'value': value,
|
||||
'source': 'NIST',
|
||||
'reliability': 'Unknown',
|
||||
'conditions': ''
|
||||
})
|
||||
result = self.newresult(
|
||||
attribute=key,
|
||||
value=value
|
||||
)
|
||||
requests.append(result)
|
||||
|
||||
return requests
|
||||
|
Reference in New Issue
Block a user