Skip to main content

Get Project Details

Retrieve details for a single project associated with a deployment that you have access to.

External Documentation

To learn more, visit the SemGrep documentation.

Parameters

ParameterDescription
Deployment SlugSlug of the deployment name. Can be obtained by the Get Deployment action, or in your Settings in the Web UI.
Project NameName of the project, typically the repository name.

Example Output

{
"project": {
"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

Get Project Details with Semgrep and Send Results Via Email

Workflow LibraryPreview this Workflow on desktop