Skip to content

Commit

Permalink
Merge pull request #136 from JupiterOne/KNO-515
Browse files Browse the repository at this point in the history
add jupiterone-integration-failures-misconfigurations
  • Loading branch information
mikiodehartj1 authored Jan 7, 2025
2 parents 340498e + d6a3fc7 commit e2264b6
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jupiterone/jupiterone-alert-rules",
"version": "0.37.0",
"version": "0.38.0",
"description": "Alert rule packages for the JupiterOne platform",
"scripts": {
"validate": "tsx ./scripts/validate.ts"
Expand All @@ -19,4 +19,4 @@
"tsx": "^4.7.0",
"typescript": "^5.3.3"
}
}
}
18 changes: 17 additions & 1 deletion rule-packs/integration-monitoring.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,21 @@
"emailBody": "({{itemIndex+1}} of {{itemCount}}) <br><b>{{item.displayName}}</b><br>---<br><b>Integration:</b>{{item.integrationType}}<br><b>InstanceId:</b> {{item.id}}<br><b>Status:</b> {{item.status}}<br><b>PollingInterval:</b> {{item.pollingInterval}}<br><b>URL:</b> https://apps.us.jupiterone.io/integrations/{{item.integrationType}}/{{item.id}}/jobs<br><br>",
"slackBody": "({{itemIndex+1}} of {{itemCount}}) \n*{{item.displayName}}*\n---\n*Integration:* {{item.integrationType}}\n*InstanceId:* {{item.id}}\n*Status:* {{item.status}}\n *PollingInterval:* {{item.pollingInterval}}\n *URL:* https://apps.us.jupiterone.io/integrations/{{item.integrationType}}/{{item.id}}/jobs \n\n"
}
},
{
"name": "jupiterone-integration-failures-misconfigurations",
"description": "JupiterOne Integrations currently in a 'FAILED' or 'CONFIGURATION_FAILURE' status with a defined Polling Interval",
"queries": [
{
"name": "query0",
"query": "FIND jupiterone_integration WITH status = ('FAILED' or 'CONFIGURATION_FAILURE') AND pollingInterval != 'DISABLED'",
"version": "v1"
}
],
"alertLevel": "INFO",
"templates": {
"emailBody": "({{itemIndex+1}} of {{itemCount}}) <br><b>{{item.displayName}}</b><br>---<br><b>Integration:</b>{{item.integrationType}}<br><b>InstanceId:</b> {{item.id}}<br><b>Status:</b> {{item.status}}<br><b>PollingInterval:</b> {{item.pollingInterval}}<br><b>URL:</b> https://apps.us.jupiterone.io/integrations/{{item.integrationType}}/{{item.id}}/jobs<br><br>",
"slackBody": "({{itemIndex+1}} of {{itemCount}}) \n*{{item.displayName}}*\n---\n*Integration:* {{item.integrationType}}\n*InstanceId:* {{item.id}}\n*Status:* {{item.status}}\n *PollingInterval:* {{item.pollingInterval}}\n *URL:* https://apps.us.jupiterone.io/integrations/{{item.integrationType}}/{{item.id}}/jobs \n\n"
}
}
]
]

0 comments on commit e2264b6

Please sign in to comment.