Skip to content

Commit

Permalink
Merge pull request #107 from JupiterOne/APP-14817
Browse files Browse the repository at this point in the history
APP-14817 - Fix trellix queries
  • Loading branch information
SeaBlooms authored Mar 2, 2024
2 parents fbcf018 + 7310dca commit c83b531
Show file tree
Hide file tree
Showing 2 changed files with 109 additions and 109 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jupiterone/jupiterone-alert-rules",
"version": "0.24.0",
"version": "0.24.1",
"description": "Alert rule packages for the JupiterOne platform",
"scripts": {
"validate": "tsx ./scripts/validate.ts"
Expand Down
216 changes: 108 additions & 108 deletions rule-packs/trellix-endpoint-security.json
Original file line number Diff line number Diff line change
@@ -1,110 +1,110 @@
[
{
"name": "trellix-threats-1",
"description": "This query will return threats with an unresolved status",
"queries": [
{
"name": "query0",
"query": "FIND trellix_threat WITH status = 'unresolved'",
"version": "v1"
}
],
"alertLevel": "MEDIUM"
},
{
"name": "trellix-threats-2",
"description": "This query will return unresolved threats with a criticality status of major or higher",
"queries": [
{
"name": "query0",
"query": "FIND trellix_threat WITH status = ('Critical' or 'Major')",
"version": "v1"
}
],
"alertLevel": "HIGH"
},
{
"name": "trellix-threats-3",
"description": "This query will return threats that require immediate attention due to a failure to quarantine or remove",
"queries": [
{
"name": "query0",
"query": "FIND trellix_threat WITH remediationStatus = ('removedFailed' or 'quarantineFailed')",
"version": "v1"
}
],
"alertLevel": "MEDIUM"
},
{
"name": "trellix-threats-4",
"description": "This will return Devices that have a non-compliant software status",
"queries": [
{
"name": "query0",
"query": "FIND trellix_device THAT INSTALLED trellix_detected_application with complianceStatus = false",
"version": "v1"
}
],
"alertLevel": "MEDIUM"
},
{
"name": "trellix-threats-5",
"description": "This will return trellix endpoints that do not have a trellix agent installed",
"queries": [
{
"name": "query0",
"query": "FIND trellix_device THAT !INSTALLED trellix_detected_application",
"version": "v1"
}
],
"alertLevel": "MEDIUM"
},
{
"name": "trellix-threats-6",
"description": "This will return trellix endpoints that have not reported a threat in the last 2 weeks. This may be due to a device that is no longer active, or is reporting incorrectly.",
"queries": [
{
"name": "query0",
"query": "FIND trellix_device THAT EXPLOITS << trellix_threat WITH createdOn > DATE.now - 14 days",
"version": "v1"
}
],
"alertLevel": "INFO"
},
{
"name": "trellix-threats-7",
"description": "This will alert when a device is First Seen.",
"queries": [
{
"name": "query0",
"query": "FIND trellix_device WITH createdOn < DATE.now - 24 hours as device return device.name, device.user",
"version": "v1"
}
],
"alertLevel": "INFO"
},
{
"name": "trellix-threats-8",
"description": "All devices should be under a group. This will notifiy if a trellix device is not associated with a trellix group",
"queries": [
{
"name": "query0",
"query": "FIND trellix_device THAT !ASSIGNED trellix_group",
"version": "v1"
}
],
"alertLevel": "MEDIUM"
},
{
"name": "trellix-threats-9",
"description": "Look for potential Expired API keys.",
"queries": [
{
"name": "query0",
"query": "FIND (trellix_apiKey|trellix_mobileApiKey) WITH expiredOn = true OR startDate > DATE.now - 365 days",
"version": "v1"
}
],
"alertLevel": "MEDIUM"
}
{
"name": "trellix-threats-1",
"description": "This query will return threats with an unresolved status",
"queries": [
{
"name": "query0",
"query": "FIND trellix_threat WITH status = 'unresolved'",
"version": "v1"
}
],
"alertLevel": "MEDIUM"
},
{
"name": "trellix-threats-2",
"description": "This query will return unresolved threats with a criticality status of major or higher",
"queries": [
{
"name": "query0",
"query": "FIND trellix_threat WITH status = ('Critical' or 'Major')",
"version": "v1"
}
],
"alertLevel": "HIGH"
},
{
"name": "trellix-threats-3",
"description": "This query will return threats that require immediate attention due to a failure to quarantine or remove",
"queries": [
{
"name": "query0",
"query": "FIND trellix_threat WITH remediationStatus = ('removedFailed' or 'quarantineFailed')",
"version": "v1"
}
],
"alertLevel": "MEDIUM"
},
{
"name": "trellix-threats-4",
"description": "This will return Devices that have a non-compliant software status",
"queries": [
{
"name": "query0",
"query": "FIND trellix_device THAT INSTALLED trellix_detected_application with complianceStatus = false",
"version": "v1"
}
],
"alertLevel": "MEDIUM"
},
{
"name": "trellix-threats-5",
"description": "This will return trellix endpoints that do not have a trellix agent installed",
"queries": [
{
"name": "query0",
"query": "FIND trellix_device THAT !INSTALLED trellix_detected_application",
"version": "v1"
}
],
"alertLevel": "MEDIUM"
},
{
"name": "trellix-threats-6",
"description": "This will return trellix endpoints that have not reported a threat in the last 2 weeks. This may be due to a device that is no longer active, or is reporting incorrectly.",
"queries": [
{
"name": "query0",
"query": "FIND trellix_device THAT EXPLOITS << trellix_threat WITH createdOn > date.now - 14 days",
"version": "v1"
}
],
"alertLevel": "INFO"
},
{
"name": "trellix-threats-7",
"description": "This will alert when a device is First Seen.",
"queries": [
{
"name": "query0",
"query": "FIND trellix_device WITH createdOn < date.now - 24 hours as device return device.name, device.user",
"version": "v1"
}
],
"alertLevel": "INFO"
},
{
"name": "trellix-threats-8",
"description": "All devices should be under a group. This will notifiy if a trellix device is not associated with a trellix group",
"queries": [
{
"name": "query0",
"query": "FIND trellix_device THAT !ASSIGNED trellix_group",
"version": "v1"
}
],
"alertLevel": "MEDIUM"
},
{
"name": "trellix-threats-9",
"description": "Look for potential Expired API keys.",
"queries": [
{
"name": "query0",
"query": "FIND (trellix_apiKey|trellix_mobileApiKey) WITH expiredOn = true OR startDate > date.now - 365 days",
"version": "v1"
}
],
"alertLevel": "MEDIUM"
}
]

0 comments on commit c83b531

Please sign in to comment.