Skip to main content

Triggering Security Scans

There are two methods to trigger the StarShip CodeReviewer:

1. GitLab MR Trigger​

To trigger a security scan on GitLab MR, simply add the following Note:

@codegpt /secscan

alt text

During the triggering process, it supports configuring the scanning scope and output format as shown below.

@codegpt /secscan --config={"scope": "mr", "report_format": "pdf"}

In the configuration, the value of "scope" can be "mr" or "repo", with the default being "mr". The value of report_format can be "pdf", "json", or "markdown", with the default being "pdf". alt text

2. Triggering from the IDE​

After installing the IDE plugin Code Souler, you can trigger it from the Code Souler interface. Check CodeSouler Code Scan for more details.