DependencyTrack / DependencyTrack/dependency-track

Findings (FPF) report missing complete analysis data for component

Open
#2,806 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
4.2k
Forks
811
Avg merge
8h 39m
Merged PRs (30d)
237

Description

### Current Behavior

Currently when going to the finding endpoint `/v1/finding/project/{uuid}/export`, we don't get all of the analysis information but only a subset. For example I don't get analysisJustification or analysisResponse. I have to make a separate API call to the `analysis` endpoint.

Current output from findings endpoint for analysis looks like:
```json
"analysis": {
"state": "IN_TRIAGE",
"isSuppressed": false
},
```
### Proposed Behavior

When getting an FPF report the analysis should contain justification and response data fields

```json
"analysis": {
"state": "IN_TRIAGE",
"analysisJustification": "CODE_NOT_REACHABLE",
"analysisResponse": "WILL_NOT_FIX",
"isSuppressed": false
}
```

### Checklist

- [X] I have read and understand the [contributing guidelines](https://github.com/DependencyTrack/dependency-track/blob/master/CONTRIBUTING.md#filing-issues)
- [X] I have checked the [existing issues](https://github.com/DependencyTrack/dependency-track/issues) for whether this enhancement was already requested

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.