Skip to content

Commit

Permalink
Merge pull request #101 from JupiterOne/KNO-362
Browse files Browse the repository at this point in the history
changes to query + minor j1ql formatting
  • Loading branch information
SeaBlooms authored Feb 20, 2024
2 parents 331f60a + b4bdfec commit 75bd51e
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions rule-packs/sophos-endpoint-security.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"queries": [
{
"name": "query0",
"query": "FIND Device !PROTECTS << sophos_endpoint",
"query": "FIND Device THAT !PROTECTS << sophos_endpoint",
"version": "v1"
}
],
Expand All @@ -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 All @@ -41,7 +41,7 @@
"queries": [
{
"name": "query0",
"query": "FIND sophos_endpoint with lockdownStatus != ('installing' or 'registering' or 'starting' or 'stopping' or 'unlocked')",
"query": "FIND sophos_endpoint WITH lockdownStatus != ('installing' OR 'registering' OR 'starting' OR 'stopping' OR 'unlocked')",
"version": "v1"
}
],
Expand All @@ -53,7 +53,7 @@
"queries": [
{
"name": "query0",
"query": "FIND sophos_endpoint with updateStatus != ('upToDate' or 'updating' or 'rebootRequired')",
"query": "FIND sophos_endpoint WITH updateStatus != ('upToDate' OR 'updating' OR 'rebootRequired')",
"version": "v1"
}
],
Expand All @@ -65,7 +65,7 @@
"queries": [
{
"name": "query0",
"query": "FIND sophos_device with portsEnabled != '443'",
"query": "FIND sophos_device WITH portsEnabled != '443'",
"version": "v1"
}
],
Expand All @@ -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 @@ -101,7 +101,7 @@
"queries": [
{
"name": "query0",
"query": "FIND sophos_endpoint with encryption != true",
"query": "FIND sophos_endpoint WITH encryption != true",
"version": "v1"
}
],
Expand All @@ -113,7 +113,7 @@
"queries": [
{
"name": "query0",
"query": "FIND sophos_user that has a updatedAt > 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 75bd51e

Please sign in to comment.