Invalid Marshaling of ServerVulnerabilityProperties
in SubAssessment
#23891
Labels
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
needs-triage
Workflow: This is a new issue that needs to be triaged to the appropriate team.
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Bug Report
The
MarshalJSON()
function forServerVulnerabilityProperties
the SDK is hardcoding theassessedResourceType
asServerVulnerabilityAssessment
when in the sdk the constAssessedResourceTypeServerVulnerability
has a value ofServerVulnerability
This means the following code will never return
true
:This value is also used in this function and will have to be changed as well
The text was updated successfully, but these errors were encountered: