- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
I am testing few sample query with JOIN however running into multiple syntax errors.
I am trying match Azure NSG list and would like to know, if Azure VNET contain subnet with that specific NSG.
NSG -ID to match with VNET-Subnet array contains NSGID.
1,. Does Join works for single elements between X and Y or if there is single to multiple match between X and Y , along wiht Y with array match.
2. Does filter command needs left and right with variabl such as X.id ==Y.id or can it works X.id=="String"
3. Can we use filter with X.id == [array1][?any([properties].id 0] or similar?
Below query shows syntax error
config from cloud.resource where api.name = 'azure-network-nsg-list' AND json.rule = flowLogsSettings.enabled is false and id equals "AAAA" as X;
config from cloud.resource where api.name = 'azure-network-vnet-list' as Y;
filter '($.Y.id equals "BBBB")';
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!