Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ plugins/IncidentIO/ @noorulkhan-n
plugins/FantasyPremierLeague/* @TimWheeler-SQUP
plugins/GoogleSheets/* @kieranlangton
plugins/Ivanti-ITSM/ @shawn149
plugins/Zscaler/ @shawn149
plugins/MetOffice/* @blackgrouse
plugins/Phare/* @vinbab
plugins/Postcoder/* @richbenwell
Expand Down
13 changes: 13 additions & 0 deletions plugins/Zscaler/v1/configValidation.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"steps": [
{
"displayName": "Read the Trust portal feed",
"dataStream": {
"name": "feedValidation"
},
"required": true,
"error": "Could not read the Zscaler Trust RSS feed. Check the selected Trust portal is reachable from the SquaredUp agent or cloud.",
"success": "Feed read successfully."
}
]
}
103 changes: 103 additions & 0 deletions plugins/Zscaler/v1/dataStreams/cloudStatus.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
{
"name": "cloudStatus",
"displayName": "Cloud Status",
"description": "Current status of each Zscaler cloud, rolled up from active incidents and maintenance on the Trust portal",
"tags": [
"Status",
"Incidents"
],
"baseDataSourceName": "httpRequestUnscoped",
"config": {
"httpMethod": "get",
"endpointPath": "rss-feed",
"paging": {
"mode": "none"
},
"postRequestScript": "cloudStatus.js"
},
"matches": "none",
"metadata": [
{
"name": "cloud",
"displayName": "Cloud",
"shape": "string",
"role": "label"
},
{
"name": "product",
"displayName": "Product",
"shape": "string"
},
{
"name": "fedrampLevel",
"displayName": "FedRAMP Level",
"shape": "string"
},
{
"name": "severity",
"displayName": "Severity",
"shape": "number",
"visible": false
},
{
"name": "state",
"displayName": "State",
"shape": "state"
},
{
"name": "statusText",
"displayName": "Status",
"shape": "string",
"role": "description"
},
{
"name": "activeIncidents",
"displayName": "Active Incidents",
"shape": ["number", { "decimalPlaces": 0 }]
},
{
"name": "activeMaintenance",
"displayName": "Active Maintenance",
"shape": ["number", { "decimalPlaces": 0 }]
},
{
"name": "upcomingMaintenance",
"displayName": "Upcoming Maintenance",
"shape": ["number", { "decimalPlaces": 0 }]
},
{
"name": "activeAdvisories",
"displayName": "Active Advisories",
"shape": ["number", { "decimalPlaces": 0 }]
},
{
"name": "incidentsLast30Days",
"displayName": "Incidents (Last 30 Days)",
"shape": ["number", { "decimalPlaces": 0 }]
},
{
"name": "lastIncident",
"displayName": "Last Incident",
"shape": "date"
},
{
"name": "nextMaintenance",
"displayName": "Next Maintenance",
"shape": "date"
},
{
"name": "currentEventLink",
"displayName": "Current Event",
"shape": ["url", { "label": "View post" }]
}
],
"defaultShaping": {
"sort": {
"by": [
["severity", "desc"],
["cloud", "asc"]
]
}
},
"timeframes": false
}
27 changes: 27 additions & 0 deletions plugins/Zscaler/v1/dataStreams/feedValidation.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"name": "feedValidation",
"displayName": "Feed Validation",
"description": "Confirms the selected Trust portal returns a parseable RSS document",
"tags": [
"Status"
],
"baseDataSourceName": "httpRequestUnscoped",
"config": {
"httpMethod": "get",
"endpointPath": "rss-feed",
"paging": {
"mode": "none"
},
"postRequestScript": "feedValidation.js"
},
"matches": "none",
"visibility": {
"type": "hidden"
},
"metadata": [
{
"pattern": ".*"
}
],
"timeframes": false
}
Loading
Loading