J1QL With vs. That?
Jeff
mod
I am trying to understand how the structure of my J1QL queries impacts my results.
In particular, what are the differences between the relationships [WITH] and [THAT] in JupiterOne?
In particular, what are the differences between the relationships [WITH] and [THAT] in JupiterOne?
0
Answers
-
WITH is followed by property name and values to filter entities.
THAT is followed by a Relationship verb.
Here are some examples.
Example of a WITH query:Find PasswordPolicy with minLength >= 8 and requireLowercase = true and requireUppercase = true and requireSymbols = true and maxAgeDays <= 90 and historyCount >= 12
In this example, WITH is used to filter password policies according to minimum length, special characters, and age requirements.
Example of a THAT query:Find Person that IS User that HAS UserGroup
In this example, the query will return all users THAT belong to a user group.
0
This Month's Leaders
Categories
- 336 All Categories
- Featured Categories
- 7 About the AskJ1 Community
- 11 Product Announcements
- From Mission Control
- 1 Rapid Response
- 3 How J1 Uses J1
- Topics
- 131 Asset Management
- 56 Compliance & Reporting
- 65 Security Operations
- 40 Security Engineering
- 5 Open Source
- 18 News, Careers and More