fixed a small bug in new code

master
Marcus Bakker 2019-05-14 13:56:07 +02:00
parent 5fdcb2376d
commit ff492db9ff
1 changed files with 1 additions and 1 deletions

View File

@ -462,7 +462,7 @@ def check_yaml_file_health(filename, file_type):
for visibility in v['visibility']:
for key in ['applicable_to', 'score', 'comment']:
if key not in detection:
if key not in visibility:
print('[!] Technique ID: ' + tech + ' is MISSING the key-value pair in visibility: ' + key)
try: