RQL Filter Query Syntax Error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Please sign in to see details of an important advisory in our Customer Advisories area.

RQL Filter Query Syntax Error

L0 Member

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")';

 

 

 

 

0 REPLIES 0
  • 174 Views
  • 0 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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!