blackducksoftware / hub-client-go

Hub Client for Go (golang)
Apache License 2.0
9 stars 19 forks source link

Add missing vulnerability fields #81

Closed hanguyen304 closed 3 years ago

hanguyen304 commented 3 years ago

Add missing nullable fields:

  1. workaround
  2. vendorFixDate
  3. credit
  4. discoveryDate
  5. vendorNotificationDate
  6. zeroDay
  7. underReview
  8. parentAdvisory
  9. bdsaTags
tandr commented 3 years ago

Where did you find them, in documentation, or in the field? Is this the same version of reply (v4)? Not that it would cause problems is they are really optional even with an old code, but still, would be good to follow existing convention of proper versioning.

hanguyen304 commented 3 years ago

Yes, this is the same version of reply (v4). Unfortunately these fields (except bdsaTags) haven't been added to the API documentations, I got them from the HUB code. I'll add an internal ticket to update the HUB API docs in later release.