You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Basically, it is checking the value of each resourceProvider field. However, if I input "xxxx", it gave me blow error messages, it contains other redundant infos.
target_discovery.0.resourceProvider: XXXX does not equal ping
target_discovery.0.probeMetadata: Unexpected element
... ...
target_discovery.0.resourceProvider: XXXX does not equal http
target_discovery.0.url: Required field missing
... ...
Is there a way that it only return something like XXXX does not equal ping or http?
The text was updated successfully, but these errors were encountered:
@nbaju1 Thanks for your advice. Since different Provider have very different schema, first approach probably wont work. I will try your second suggestion
My use case I have two type type of target_discovery (
http
andping
), each of them have different schema, my code is:Basically, it is checking the value of each
resourceProvider
field. However, if I input "xxxx", it gave me blow error messages, it contains other redundant infos.Is there a way that it only return something like
XXXX does not equal ping or http
?The text was updated successfully, but these errors were encountered: