Closed candrews closed 1 year ago
Sometimes, the HDF CodeDesc is empty. Currently, that results in the SARIF Message being set to "." which isn't good.
To fix that issue, if CodeDesc is empty, use the Desc.
I've reported one case where the HDF code_desc is set to the empty string at https://github.com/mitre/saf/issues/1163
code_desc
@michaelcfanning how does this PR look?
I'm eager to get this merged and see the improvement in a release :-)
Your changes are published to NuGet. Thanks for the contribution! Come back again. :)
https://www.nuget.org/packages/Sarif.Sdk
Sometimes, the HDF CodeDesc is empty. Currently, that results in the SARIF Message being set to "." which isn't good.
To fix that issue, if CodeDesc is empty, use the Desc.
I've reported one case where the HDF
code_desc
is set to the empty string at https://github.com/mitre/saf/issues/1163