List All Projects
Retrieve a list of scanned projects in an organization. Does not return archived repositories.
External Documentation
To learn more, visit the SemGrep documentation.
Parameters
Parameter | Description |
---|---|
Deployment Slug | Slug of the deployment name. Can be obtained by the Get Deployment action, or in your Settings in the Web UI. |
Page Number | The number of the results page to retrieve. Pages are numbered from zero (0). |
Page Size | The size of page to return. Valid range is 100 - 3000. |
Example Output
{
"projects": [
{
"id": 1234567,
"name": "returntocorp/semgrep",
"url": "https://github.com/returntocorp/semgrep",
"tags": [
"tag"
],
"created_at": "2020-11-18T23:28:12.391807Z",
"latest_scan_at": "2023-01-13T20:51:51.449081Z",
"primary_branch": "refs/heads/custom-main",
"default_branch": "refs/heads/main"
}
]
}
Workflow Library Example
List All Projects with Semgrep and Send Results Via Email
Preview this Workflow on desktop