git.security.get-dependency-alertOne dependency alert: the advisory in full, CVSS, links, why the package is installed, and every place it is
Request syntax
GET /git/api/repositories/{repoId}/security/dependency-alerts/{alertId}Path parameters
repoIdRequiredstring
Constraints: uuid
alertIdRequiredstring
Constraints: uuid
Response
200 with `alert` (the advisory: description, cvssScore, cvssVector, references, aliases, relationship, chain, among others) and `places`, every lockfile entry of the same package and advisory.
A JSON response is wrapped as { "success": true, "data": … }; the CLI prints the whole body with --json.
Fields of data
alertAlwaysobject
The alert, with the advisory in fullalert.idAlwaysstring
The alertalert.orgIdAlwaysstring
The organizationalert.repoIdAlwaysstring
The repositoryalert.stateAlwaysone of open, fixed, dismissed
fixed once a scan no longer finds the vulnerable versionalert.manifestPathAlwaysstring
The lockfile the package is installed byalert.ecosystemAlwaysstring
The package ecosystem, e.g. npmalert.packageNameAlwaysstring
The vulnerable packagealert.installedVersionAlwaysstring
The version the lockfile installsalert.fixedVersionAlwaysstring, may be null
The first version with the fix; null if none yetalert.vulnerabilityIdAlwaysstring
The advisory id, e.g. GHSA-… or CVE-…alert.severityAlwaysone of critical, high, medium, low, unknown
The severityalert.titleAlwaysstring
The advisory's titlealert.urlAlwaysstring, may be null
A link to the advisory; null when it has nonealert.cvssScoreAlwaysnumber, may be null
CVSS base score, 0 to 10; null when not publishedalert.cvssVectorAlwaysstring, may be null
CVSS vector string; null when not publishedalert.referencesAlwaysarray of string
Links the advisory citesalert.aliasesAlwaysarray of string
Other ids of the same advisoryalert.publishedAtAlwaysstring, may be null
When the advisory was published (ISO 8601); null when unknownalert.relationshipAlwaysone of direct, indirect, may be null
direct: named in the manifest; indirect: pulled in by another package; null when unknownalert.chainAlwaysarray of string
From a direct dependency down to this package, name@version eachalert.devAlwaysboolean, may be null
Only a development dependency; null when unknownalert.lastSeenCommitOidAlwaysstring
The default-branch commit of the scan that last saw italert.dismissedReasonAlwaysstring, may be null
Why it was dismissed; null unless dismissedalert.dismissedCommentAlwaysstring, may be null
Own words beside the reason; null unless givenalert.dismissedAtAlwaysstring, may be null
When it was dismissed (ISO 8601); null unless dismissedalert.dismissedByIamUserIdAlwaysstring, may be null
Who dismissed it; null unless dismissedalert.fixedAtAlwaysstring, may be null
When a scan found it fixed (ISO 8601); null until thenalert.createdAtAlwaysstring
When it was first found (ISO 8601)alert.updatedAtAlwaysstring
When the alert last changed (ISO 8601)alert.descriptionAlwaysstring, may be null
The advisory as published (Markdown); null for alerts found before it was keptplacesAlwaysarray of object
Every lockfile entry of the same package and advisory, this one included, by lockfileplaces[].idAlwaysstring
The alertplaces[].orgIdAlwaysstring
The organizationplaces[].repoIdAlwaysstring
The repositoryplaces[].stateAlwaysone of open, fixed, dismissed
fixed once a scan no longer finds the vulnerable versionplaces[].manifestPathAlwaysstring
The lockfile the package is installed byplaces[].ecosystemAlwaysstring
The package ecosystem, e.g. npmplaces[].packageNameAlwaysstring
The vulnerable packageplaces[].installedVersionAlwaysstring
The version the lockfile installsplaces[].fixedVersionAlwaysstring, may be null
The first version with the fix; null if none yetplaces[].vulnerabilityIdAlwaysstring
The advisory id, e.g. GHSA-… or CVE-…places[].severityAlwaysone of critical, high, medium, low, unknown
The severityplaces[].titleAlwaysstring
The advisory's titleplaces[].urlAlwaysstring, may be null
A link to the advisory; null when it has noneplaces[].cvssScoreAlwaysnumber, may be null
CVSS base score, 0 to 10; null when not publishedplaces[].cvssVectorAlwaysstring, may be null
CVSS vector string; null when not publishedplaces[].referencesAlwaysarray of string
Links the advisory citesplaces[].aliasesAlwaysarray of string
Other ids of the same advisoryplaces[].publishedAtAlwaysstring, may be null
When the advisory was published (ISO 8601); null when unknownplaces[].relationshipAlwaysone of direct, indirect, may be null
direct: named in the manifest; indirect: pulled in by another package; null when unknownplaces[].chainAlwaysarray of string
From a direct dependency down to this package, name@version eachplaces[].devAlwaysboolean, may be null
Only a development dependency; null when unknownplaces[].lastSeenCommitOidAlwaysstring
The default-branch commit of the scan that last saw itplaces[].dismissedReasonAlwaysstring, may be null
Why it was dismissed; null unless dismissedplaces[].dismissedCommentAlwaysstring, may be null
Own words beside the reason; null unless givenplaces[].dismissedAtAlwaysstring, may be null
When it was dismissed (ISO 8601); null unless dismissedplaces[].dismissedByIamUserIdAlwaysstring, may be null
Who dismissed it; null unless dismissedplaces[].fixedAtAlwaysstring, may be null
When a scan found it fixed (ISO 8601); null until thenplaces[].createdAtAlwaysstring
When it was first found (ISO 8601)places[].updatedAtAlwaysstring
When the alert last changed (ISO 8601)
Checked against the handlers: every route test validates their answers against this schema.
Errors
- 400The request does not pass the schema above. The body is { "error": …, "issues": […] }, one issue per field.
- 401No credentials, or an access key that is unknown, revoked or expired.
- 403The caller's policies do not allow git:ListSecurityAlerts on this resource. The body names the action and the resource, and the refusal is recorded in the audit log.
- 404The resource does not exist in your organization.
Examples
The required parameters only, with example values. Replace id and the other placeholders with your own.
dcloud git security get-dependency-alert repoId alertIdcurl -X GET "https://console.platform-development.deutschecloud.app/git/api/repositories/repoId/security/dependency-alerts/alertId" \
-H "Authorization: EWS-ACCESS-KEY $ACCESS_KEY"Generated from the API description, the same one the API checks requests against and the CLI is built from. MCP tool: dcloud_git_security_get-dependency-alert.