Skip to content

Commit ab164be

Browse files
authored
Merge pull request #1714 from DependencyTrack/issue-1090-update-breaking-changes
Issue-1090 : Document Findings response changes.
2 parents 3d4abdb + e0ca0ad commit ab164be

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

docs/getting-started/changes-over-v4.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,4 +73,12 @@ and vulnerability analysis is performed by services separately from the API serv
7373
[Kafka]: https://kafka.apache.org/
7474
[Lucene]: https://lucene.apache.org/
7575
[PostgreSQL]: https://www.postgresql.org/
76-
[Protobuf]: https://protobuf.dev/
76+
[Protobuf]: https://protobuf.dev/
77+
[sarif.peb]: https://github.com/DependencyTrack/hyades-apiserver/blob/main/src/main/resources/templates/findings/sarif.peb
78+
79+
### Findings
80+
81+
* The Findings response object's `vulnerability` will no longer contain two fields below, `cwes` will hold the respective ids.
82+
* `cweId`
83+
* `cweName`
84+
* In the SARIF file (schema defined in [sarif.peb]), `cweId` will be replaced by list of cwe ids in `cwes`. And name of the SARIF rule will be vulnerability's `vulnId` instead of `cweName`.

0 commit comments

Comments
 (0)