This repository contains scripts and instructions on how to translate a result from CoGuard into the format Coverity's third party integration toolkit (documentation here)
The integration is installed as part of the CoGuard CLI. Please follow the installation instructions there.
Example scripts are provided inside this repository, found here. You can copy the scripts and alter it for your respective use-case.
In the documentation, the translated JSON requires to use forward-slashes independent from the environment where the script is running. Right now, we are using the operating system path separator. See the open issue for more details.
The third party integration toolkit requires currently a flag to be associated to a file. Some of our checks are independent from a specific file, or are even just there because the file does not exist. Right now, we filter those checks out.
Once defects that are not tied to a file are supported in Coverity, we will add these checks into the list.