Skip to content

Commit f27cd82

Browse files
committed
Implemented future proofed description inclusion
1 parent 195f902 commit f27cd82

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

dojo/tools/checkov/parser.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,9 @@ def get_item(vuln, test, check_type):
119119
if "check_name" in vuln:
120120
description += f"{vuln['check_name']}\n"
121121

122+
if "description" in vuln:
123+
description += f"\n{vuln['description']}\n"
124+
122125
if "benchmarks" in vuln:
123126
bms = vuln['benchmarks'].keys()
124127
if len(bms) > 0:

0 commit comments

Comments
 (0)