The generic module is used to import code issues from the file. Regardless of language or combination of languages, if you get your code issues data into the generic format as specified by this module, it will be imported and correctly applied.

Module Name:

gamma_generic

The supported format looks like:

Supported severity types :
Critical, High, Medium, Low and Info

Usage

Step 1: There are two ways to get generic code issues:

  1. By specifying the path of the CSV file where it is located:
    To specify a path, use the following API:
    POST - api/v1/repositories/{repositoryUid}/config/{moduleType}/{moduleName}
    Refer to this link to get additional information.
  2. By uploading a zip file: Here, the CSV file is zipped and send to API.
    To upload zip use following API:
    POST - api/v1/repositories/{repositoryUid}/upload/{moduleName
    Refer to this link to get additional information.
Note:
Please refer API documentation to get detail information on each of these APIs.
Currently, we are supporting this generic module through API only.

Step 2: Run scan to get the generic code issues on UI.