- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
08-03-2023 01:24 PM
I think the only method is with this RQL:
config from cloud.resource where cloud.type = 'azure' AND api.name = 'azure-application-gateway' AND json.rule = "['properties.frontendIPConfigurations'][?(@.['properties.publicIPAddress'].id != '')].['properties.httpListeners'].id exists"
However, inside the array you can't put any key value with dots between its characters, so I got error by trying that query. What Can I do?
08-28-2023 10:41 AM - edited 08-29-2023 11:05 AM
Hello, this can done using RQL joins.
Please try the RQL query below.
config from cloud.resource where api.name = 'azure-application-gateway' as X; config from cloud.resource where api.name = 'azure-network-public-ip-address' as Y; filter "$.['X'].['properties.frontendIPConfigurations'][*].['properties.publicIPAddress'].['id'] contains $.Y.id"; show Y;
Please let me know if you have any questions or would like to schedule a call to discuss this further.
Regards
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!