Workload Security Collectors API Fails to Accept Server Names with Underscore
Applies to
- Data Infrastructure Insights
- Storage Workload Security
- Storage Workload Security API
Issue
When attempting to update a Workload Security collector using the API, the call fails if the server name contains an underscore .
400 BAD_REQUEST{ "errorMessage": "Failed to add or update collector. Reason-[The value of the Server field (.server) must be in either domain format or IPv4 format.]", "errorCode": "BAD_REQUEST"}
** NOTE-This only occurs from the API being ran, underscores are accepted via the WebUI within DII.**
