DependencyTrack / DependencyTrack/dependency-track

No full response from web api

Open
#1,089 1 comment 0 reactions 0 assignees View on GitHub
question
Dominant language
Java
Stars
4.2k
Forks
811
Avg merge
8h 39m
Merged PRs (30d)
237

Description

If I send a request to api/v1/Poject UUID
i don't get full response????

http://******/api/v1/project/8294677a-b700-4933-80e0-7dae26064d83

output

{
"name": "******",
"version": "development",
"classifier": "APPLICATION",
"uuid": "8294677a-b700-4933-80e0-7dae26064d83",
"lastBomImport": 1624447488680,
"lastBomImportFormat": "CycloneDX 1.2",
"lastInheritedRiskScore": 15.0,
"active": true
}

No information on vulnerabilities available , the swagger shows

{
"author": "string",
"publisher": "string",
"group": "string",
"name": "string",
"description": "string",
"version": "string",
"classifier": "APPLICATION",
"cpe": "string",
"purl": {
"scheme": "string",
"type": "string",
"namespace": "string",
"name": "string",
"version": "string",
"qualifiers": {},
"subpath": "string"
},
"swidTagId": "string",
"directDependencies": "string",
"uuid": "string",
"parent": {},
"children": [
{}
],
"properties": [
{
"project": {},
"groupName": "string",
"propertyName": "string",
"propertyValue": "string",
"propertyType": "BOOLEAN",
"description": "string"
}
],
"tags": [
{
"name": "string",
"projects": [
{}
]
}
],
"lastBomImport": "2021-06-23T13:33:24.829Z",
"lastBomImportFormat": "string",
"lastInheritedRiskScore": 0,
"active": true,
"metrics": {
"project": {},
"critical": 0,
"high": 0,
"medium": 0,
"low": 0,
"unassigned": 0,
"vulnerabilities": 0,
"vulnerableComponents": 0,
"components": 0,
"suppressed": 0,
"findingsTotal": 0,
"findingsAudited": 0,
"findingsUnaudited": 0,
"inheritedRiskScore": 0,
"policyViolationsFail": 0,
"policyViolationsWarn": 0,
"policyViolationsInfo": 0,
"policyViolationsTotal": 0,
"policyViolationsAudited": 0,
"policyViolationsUnaudited": 0,
"policyViolationsSecurityTotal": 0,
"policyViolationsSecurityAudited": 0,
"policyViolationsSecurityUnaudited": 0,
"policyViolationsLicenseTotal": 0,
"policyViolationsLicenseAudited": 0,
"policyViolationsLicenseUnaudited": 0,
"policyViolationsOperationalTotal": 0,
"policyViolationsOperationalAudited": 0,
"policyViolationsOperationalUnaudited": 0,
"firstOccurrence": "2021-06-23T13:33:24.829Z",
"lastOccurrence": "2021-06-23T13:33:24.829Z"
}
}

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.