error:Collection error: NullPointerExceptionjava.lang.NullPointerException: Cannot invoke "String.equalsIgnoreCase(String)" because the return value of "com.vmware.um.nsxtcollector.api.ResourceReference.getTargetType()" is nullWorkaround will need to be performed using NSX APIs using tools like postman or curl.
For each VC cluster follow: # Call REST API to get all clusters - GET https://\lmhost/policy/api/v1/infra/settings/firewall/security/intrusion-services/cluster-configs/
GET https://\lmhost/policy/api/v1/infra/settings/firewall/security/intrusion-services/cluster-configs/<cluster_id>target_type": "VC_Cluster" in the "cluster". Use in the next step. For example:"cluster": { "target_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx:domain-xxx", "target_type": "VC_Cluster" >>>> ADD THIS LINE }target_type using above payload - PATCH https://\lmhost/policy/api/v1/infra/settings/firewall/security/intrusion-services/cluster-configs/<cluster_id>GET cluster config to verify if the ids_enabled is set to true, if its true run PATCH to set it to false.GET https://{{lmhost}}/policy/api/v1/infra/settings/firewall/security/intrusion-services/cluster-configs/<cluster-id>
response body and update ids_enabled=falsePATCH call. Example:PATCH https://{{lmhost}}/policy/api/v1/infra/settings/firewall/security/intrusion-services/cluster-configs/<cluster-id>