Transition to Microsoft Defender Vulnerability Management - java sdk, SecuritySubAssessmentInner AdditionalData problem

Schnider Michael 26 Reputation points
2024-02-06T16:43:07.3533333+00:00

Hi, We want to migrate from https://learn.microsoft.com/en-us/azure/defender-for-cloud/defender-for-containers-vulnerability-assessment-azure to https://learn.microsoft.com/en-us/azure/defender-for-cloud/agentless-vulnerability-assessment-azure which is described here: https://learn.microsoft.com/en-us/azure/defender-for-cloud/transition-to-defender-vulnerability-management We did all the steps. We are getting the vulnerability assessments via the java SDK as described here https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/SAMPLE.md#subassessments_list When we load the assessments with the old assessment key for Qualys (dbd0cb49-b563-45e7-9724-889e799fa648) we get the following result in the debugger: Screenshot 2024-02-06 at 17.12.12

The property "additionalData" is of type ContainerRegistryVulnerabilityProperties and has more properties on it. On the other hand, when we load the assessments with the new assessment key for Microsoft Defender Vulnerability Management (c0b7cfc6-3172-465a-b378-53c7ff2cc0d5) we get the following result in the debugger:
Screenshot 2024-02-06 at 17.15.02

The property "additionalData" is of type AdditionalData and has no fields on it which we still need. We use the latest library "1.0.0-beta.5" My guess is that something with the mapping of the new result for the new assessment key is wrong. Or maybe a problem in the backend? Thanks, BR Michael

Azure Container Registry
Azure Container Registry
An Azure service that provides a registry of Docker and Open Container Initiative images.
396 questions
Microsoft Defender for Cloud
Microsoft Defender for Cloud
An Azure service that provides threat protection for workloads running in Azure, on-premises, and in other clouds. Previously known as Azure Security Center and Azure Defender.
1,199 questions
{count} vote