Skip to content

Commit

Permalink
j1ql fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mikiodehartj1 authored Feb 19, 2024
1 parent 3086117 commit b4bdfec
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions rule-packs/sophos-endpoint-security.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"queries": [
{
"name": "query0",
"query": "Find sophos_endpoint that !HAS User THAT IS Person THAT IS okta_user|azure_user|google_user",
"query": "FIND sophos_endpoint that !HAS User THAT IS Person THAT IS (okta_user|azure_user|google_user)",
"version": "v1"
}
],
Expand All @@ -29,7 +29,7 @@
"queries": [
{
"name": "query0",
"query": "FIND sophos_endpoint WITH tamperProtectionEnabled != true ",
"query": "FIND sophos_endpoint WITH tamperProtectionEnabled != true",
"version": "v1"
}
],
Expand Down Expand Up @@ -89,7 +89,7 @@
"queries": [
{
"name": "query0",
"query": "FIND sophos_endpoint WHERE policyType != undefined AND policyTypeUpToDate != true",
"query": "FIND sophos_endpoint WITH policyType != undefined AND policyTypeUpToDate != true",
"version": "v1"
}
],
Expand All @@ -113,7 +113,7 @@
"queries": [
{
"name": "query0",
"query": "FIND sophos_user WHERE lastActive > 30 days",
"query": "FIND sophos_user WITH lastActive > date.now - 30 days",
"version": "v1"
}
],
Expand All @@ -125,7 +125,7 @@
"queries": [
{
"name": "query0",
"query": "FIND sophos_user WITH sophos_role that has permissionSet = defined",
"query": "FIND sophos_user THAT RELATES TO sophos_role WITH permissionSet != undefined",
"version": "v1"
}
],
Expand All @@ -137,7 +137,7 @@
"queries": [
{
"name": "query0",
"query": "FIND sophos_endpoint_protection WHERE protected != true",
"query": "FIND sophos_endpoint_protection WITH protected != true",
"version": "v1"
}
],
Expand Down

0 comments on commit b4bdfec

Please sign in to comment.