Invalid Marshaling of ServerVulnerabilityProperties
in SubAssessment
#23891
Labels
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
Mgmt
This issue is related to a management-plane library.
needs-team-attention
Workflow: This issue needs attention from Azure service team or SDK team
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Service Attention
Workflow: This issue is responsible by Azure service team.
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: