- Set tags through the Semgrep AppSec Platform > Projects > Project details page.
- Set tags using the Semgrep AppSec Platform API.
- Set tags in your repository’s
.semgrepconfig.ymlfile.
Set tags through Semgrep AppSec Platform and the API
To manage tags through Semgrep AppSec Platform, follow these steps:1
Go to the Semgrep AppSec Platform Projects page.
2
Find the project you want to modify, then click its icon under Details.
3
Click the Settings tab.
4
Add or remove tags under the Tags section.
5
Click Save.
Set tags in .semgrepconfig.yml
You can also add tags through a specific file added to your repository. To do so, follow the instructions below:
1
Create
.semgrepconfig.yml file in the root directory of your repository.2
Add tags to the
.semgrepconfig.yml file. Example of tags added to .semgrepconfig.yml file: