mirror of
https://github.com/mozilla/cipherscan.git
synced 2024-11-22 14:23:41 +01:00
fix target level verification check
This commit is contained in:
parent
a749742ff3
commit
26c7b0e0d7
@ -303,7 +303,7 @@ def process_results(data, level=None, do_json=False):
|
|||||||
json_output['level'] = evaluate_all(results)
|
json_output['level'] = evaluate_all(results)
|
||||||
json_output['target_level'] = level
|
json_output['target_level'] = level
|
||||||
json_output['compliance'] = False
|
json_output['compliance'] = False
|
||||||
if json_output['level'] == json_output['target_level']:
|
if json_output['target_level'] in json_output['level']:
|
||||||
json_output['compliance'] = True
|
json_output['compliance'] = True
|
||||||
if operator:
|
if operator:
|
||||||
json_output['operator'] = operator
|
json_output['operator'] = operator
|
||||||
|
Loading…
Reference in New Issue
Block a user