By default, garak outputs a JSONL file, with the name garak.<uuid>.report.jsonl, that stores outcomes from a scan. garak provides a CLI option to further structure this file for downstream consumption. The open data schema of AI vulnerability Database (AVID) is used for this purpose.

The syntax for this is as follows:

python3 -m garak -r <path_to_file>


As an example, let’s load up a garak report from scanning gpt-3.5-turbo-0613.

python3 -m garak -r

This produces the following output.

πŸ“œ Converting garak reports
πŸ“œ AVID reports generated at gpt35-0906.avid.jsonl