https://<NSX-Policy-Manager-IP> /policy/api/v1/infra/realized-state/status?intent_path=<IDS-Security-Policy-Path>&include_enforced_status=true
Workaround:
To Validate if a VM is indeed protected by Malware Protection, perform the following steps:
https:///policy/api/v1/fabric/virtual-machines<VmConfig>
<uuid>[VM-external-ID-from-step-a]</uuid>
<solution>
<id>634106827##########</id>
<tag>SEND_TO_CLOUD_RA_DETECT_PREVENT</tag>
<order>634106827##########</order>
<action>RA_DETECT_PREVENT</action>
</solution>
</VmConfig>VM <vm-id-obtained-from-step-a> policy tag is <policy-tag>
OR
VM < vm-id-obtained-from-step-a> policy tag has changed from <policy-tag> to <policy-tag>
Where <policy-tag> numeric values can be one of,
enum VmPolicyTag {
POLICY_TAG_INVALID = 0;
SEND_TO_CLOUD_RA_DETECT = 1;
SEND_TO_CLOUD_RA_DETECT_PREVENT = 2;
DONT_SEND_TO_CLOUD_RA_DETECT = 3;
DONT_SEND_TO_CLOUD_RA_DETECT_PREVENT = 4;
}