|
| 1 | +{ |
| 2 | + "name": "Overview", |
| 3 | + "schemaVersion": "1.4", |
| 4 | + "dashboard": { |
| 5 | + "_type": "layout/grid", |
| 6 | + "contents": [ |
| 7 | + { |
| 8 | + "static": false, |
| 9 | + "w": 2, |
| 10 | + "moved": false, |
| 11 | + "h": 4, |
| 12 | + "x": 0, |
| 13 | + "y": 0, |
| 14 | + "i": "f1c2dc6f-11e7-43e3-945d-a8b4e6f3f2d5", |
| 15 | + "z": 0, |
| 16 | + "config": { |
| 17 | + "timeframe": "none", |
| 18 | + "dataStream": { |
| 19 | + "name": "certificateOrders", |
| 20 | + "filter": { |
| 21 | + "multiOperation": "and", |
| 22 | + "filters": [ |
| 23 | + { |
| 24 | + "column": "is_renewed", |
| 25 | + "operation": "equals", |
| 26 | + "value": "false" |
| 27 | + } |
| 28 | + ] |
| 29 | + }, |
| 30 | + "id": "{{dataStreams.certificateOrders}}", |
| 31 | + "pluginConfigId": "{{configId}}" |
| 32 | + }, |
| 33 | + "_type": "tile/data-stream", |
| 34 | + "description": "", |
| 35 | + "monitorOld": { |
| 36 | + "tileRollsUp": true, |
| 37 | + "monitorType": "threshold", |
| 38 | + "condition": { |
| 39 | + "columns": [], |
| 40 | + "logic": { |
| 41 | + "if": [ |
| 42 | + { |
| 43 | + ">": [ |
| 44 | + { |
| 45 | + "var": "count" |
| 46 | + }, |
| 47 | + 0 |
| 48 | + ] |
| 49 | + }, |
| 50 | + "error" |
| 51 | + ] |
| 52 | + } |
| 53 | + }, |
| 54 | + "_type": "simple", |
| 55 | + "aggregation": "count", |
| 56 | + "groupBy": "__group_by_none__", |
| 57 | + "frequency": 15 |
| 58 | + }, |
| 59 | + "activePluginConfigIds": ["{{configId}}"], |
| 60 | + "title": "⏳ Certificates Pending Renewal", |
| 61 | + "visualisation": { |
| 62 | + "type": "data-stream-table", |
| 63 | + "config": { |
| 64 | + "data-stream-table": { |
| 65 | + "columnOrder": [ |
| 66 | + "organization.name", |
| 67 | + "certificate.serial_number", |
| 68 | + "product.name", |
| 69 | + "price", |
| 70 | + "certificate.valid_from", |
| 71 | + "certificate.valid_till", |
| 72 | + "certificate.days_remaining", |
| 73 | + "date_created", |
| 74 | + "has_reissues", |
| 75 | + "is_renewed", |
| 76 | + "order_valid_till", |
| 77 | + "status", |
| 78 | + "validity_years" |
| 79 | + ], |
| 80 | + "hiddenColumns": [ |
| 81 | + "certificate.dns_names.0", |
| 82 | + "container.name", |
| 83 | + "organization.id", |
| 84 | + "number_of_sans", |
| 85 | + "reissues_count", |
| 86 | + "duplicates_count", |
| 87 | + "container.id", |
| 88 | + "certificate.id", |
| 89 | + "id", |
| 90 | + "certificate.signature_hash", |
| 91 | + "container.is_active", |
| 92 | + "disable_renewal_notifications", |
| 93 | + "has_duplicates", |
| 94 | + "product.name_id", |
| 95 | + "product.type", |
| 96 | + "product_name_id" |
| 97 | + ], |
| 98 | + "transpose": true |
| 99 | + } |
| 100 | + } |
| 101 | + } |
| 102 | + } |
| 103 | + }, |
| 104 | + { |
| 105 | + "static": false, |
| 106 | + "w": 2, |
| 107 | + "moved": false, |
| 108 | + "h": 4, |
| 109 | + "x": 2, |
| 110 | + "y": 0, |
| 111 | + "i": "f9061103-7839-410c-8802-bda18ad36193", |
| 112 | + "z": 0, |
| 113 | + "config": { |
| 114 | + "timeframe": "none", |
| 115 | + "dataStream": { |
| 116 | + "name": "certificateOrders", |
| 117 | + "id": "{{dataStreams.certificateOrders}}", |
| 118 | + "pluginConfigId": "{{configId}}" |
| 119 | + }, |
| 120 | + "_type": "tile/data-stream", |
| 121 | + "description": "", |
| 122 | + "activePluginConfigIds": ["{{configId}}"], |
| 123 | + "title": "🧾 Certificate Order Cost", |
| 124 | + "visualisation": { |
| 125 | + "type": "data-stream-bar-chart", |
| 126 | + "config": { |
| 127 | + "data-stream-bar-chart": { |
| 128 | + "xAxisGroup": "none", |
| 129 | + "showLegend": false, |
| 130 | + "range": { |
| 131 | + "type": "auto" |
| 132 | + }, |
| 133 | + "showGrid": true, |
| 134 | + "grouping": false, |
| 135 | + "xAxisData": "certificate.serial_number", |
| 136 | + "displayMode": "actual", |
| 137 | + "showTotals": false, |
| 138 | + "yAxisLabel": "", |
| 139 | + "horizontalLayout": "vertical", |
| 140 | + "showValue": false, |
| 141 | + "yAxisData": ["price"], |
| 142 | + "showYAxisLabel": true, |
| 143 | + "xAxisLabel": "", |
| 144 | + "legendPosition": "bottom", |
| 145 | + "showXAxisLabel": true |
| 146 | + } |
| 147 | + } |
| 148 | + } |
| 149 | + } |
| 150 | + }, |
| 151 | + { |
| 152 | + "static": false, |
| 153 | + "w": 4, |
| 154 | + "moved": false, |
| 155 | + "h": 3, |
| 156 | + "x": 0, |
| 157 | + "y": 4, |
| 158 | + "i": "07018f53-b11c-4617-88a0-b7afbeafd924", |
| 159 | + "z": 0, |
| 160 | + "config": { |
| 161 | + "timeframe": "none", |
| 162 | + "dataStream": { |
| 163 | + "name": "certificateOrders", |
| 164 | + "id": "{{dataStreams.certificateOrders}}", |
| 165 | + "sort": { |
| 166 | + "by": [["date_created", "desc"]] |
| 167 | + }, |
| 168 | + "group": { |
| 169 | + "by": [], |
| 170 | + "aggregate": [] |
| 171 | + }, |
| 172 | + "pluginConfigId": "{{configId}}" |
| 173 | + }, |
| 174 | + "_type": "tile/data-stream", |
| 175 | + "description": "", |
| 176 | + "activePluginConfigIds": ["{{configId}}"], |
| 177 | + "title": "📜 All Certificate Orders", |
| 178 | + "visualisation": { |
| 179 | + "type": "data-stream-table", |
| 180 | + "config": { |
| 181 | + "data-stream-table": { |
| 182 | + "columnOrder": [ |
| 183 | + "organization.name", |
| 184 | + "certificate.serial_number", |
| 185 | + "product.name", |
| 186 | + "certificate.valid_from", |
| 187 | + "certificate.valid_till", |
| 188 | + "certificate.days_remaining", |
| 189 | + "date_created", |
| 190 | + "is_renewed", |
| 191 | + "order_valid_till", |
| 192 | + "product.name_id", |
| 193 | + "status", |
| 194 | + "validity_years" |
| 195 | + ], |
| 196 | + "hiddenColumns": [ |
| 197 | + "certificate.dns_names.0", |
| 198 | + "container.name", |
| 199 | + "organization.id", |
| 200 | + "number_of_sans", |
| 201 | + "price", |
| 202 | + "reissues_count", |
| 203 | + "duplicates_count", |
| 204 | + "container.id", |
| 205 | + "certificate.id", |
| 206 | + "id", |
| 207 | + "certificate.signature_hash", |
| 208 | + "container.is_active", |
| 209 | + "disable_renewal_notifications", |
| 210 | + "has_duplicates", |
| 211 | + "has_reissues", |
| 212 | + "product.type", |
| 213 | + "product_name_id" |
| 214 | + ] |
| 215 | + } |
| 216 | + } |
| 217 | + } |
| 218 | + } |
| 219 | + }, |
| 220 | + { |
| 221 | + "static": false, |
| 222 | + "w": 2, |
| 223 | + "moved": false, |
| 224 | + "h": 4, |
| 225 | + "x": 2, |
| 226 | + "y": 7, |
| 227 | + "i": "e0e8661b-9aa2-4579-b17d-16b15017ba91", |
| 228 | + "z": 0, |
| 229 | + "config": { |
| 230 | + "timeframe": "none", |
| 231 | + "dataStream": { |
| 232 | + "name": "accountUsers", |
| 233 | + "id": "{{dataStreams.accountUsers}}", |
| 234 | + "pluginConfigId": "{{configId}}" |
| 235 | + }, |
| 236 | + "_type": "tile/data-stream", |
| 237 | + "description": "", |
| 238 | + "activePluginConfigIds": ["{{configId}}"], |
| 239 | + "baseTile": "data-stream-base-tile", |
| 240 | + "title": "🔐👥 Certificate Portal Users", |
| 241 | + "visualisation": { |
| 242 | + "type": "data-stream-table", |
| 243 | + "config": { |
| 244 | + "data-stream-table": { |
| 245 | + "hiddenColumns": [ |
| 246 | + "access_roles.0.id", |
| 247 | + "container.template_id", |
| 248 | + "container.parent_id", |
| 249 | + "container.id", |
| 250 | + "account_id", |
| 251 | + "id", |
| 252 | + "container.ekey", |
| 253 | + "container.has_logo", |
| 254 | + "container.public_id", |
| 255 | + "has_container_assignments", |
| 256 | + "type" |
| 257 | + ], |
| 258 | + "transpose": true, |
| 259 | + "columnOrder": [ |
| 260 | + "first_name", |
| 261 | + "last_name", |
| 262 | + "access_roles.0.name", |
| 263 | + "container.name", |
| 264 | + "container.is_active", |
| 265 | + "email", |
| 266 | + "last_login_date", |
| 267 | + "status", |
| 268 | + "username" |
| 269 | + ], |
| 270 | + "resizedColumns": { |
| 271 | + "columnWidths": { |
| 272 | + "last_name": 111 |
| 273 | + } |
| 274 | + } |
| 275 | + } |
| 276 | + } |
| 277 | + } |
| 278 | + } |
| 279 | + }, |
| 280 | + { |
| 281 | + "static": false, |
| 282 | + "w": 2, |
| 283 | + "moved": false, |
| 284 | + "h": 4, |
| 285 | + "x": 0, |
| 286 | + "y": 7, |
| 287 | + "i": "db4c9c48-5d39-4ab0-82f8-934fd7fa41bc", |
| 288 | + "z": 0, |
| 289 | + "config": { |
| 290 | + "timeframe": "none", |
| 291 | + "dataStream": { |
| 292 | + "name": "accountUsers", |
| 293 | + "id": "{{dataStreams.accountUsers}}", |
| 294 | + "pluginConfigId": "{{configId}}" |
| 295 | + }, |
| 296 | + "_type": "tile/data-stream", |
| 297 | + "description": "", |
| 298 | + "activePluginConfigIds": ["{{configId}}"], |
| 299 | + "title": "👥 Roles Overview", |
| 300 | + "visualisation": { |
| 301 | + "type": "data-stream-donut-chart", |
| 302 | + "config": { |
| 303 | + "data-stream-donut-chart": { |
| 304 | + "valueColumn": "builtin_count_by_label", |
| 305 | + "hideCenterValue": false, |
| 306 | + "showValuesAsPercentage": false, |
| 307 | + "legendPosition": "right", |
| 308 | + "legendMode": "table", |
| 309 | + "labelColumn": "access_roles.0.name" |
| 310 | + } |
| 311 | + } |
| 312 | + } |
| 313 | + } |
| 314 | + } |
| 315 | + ], |
| 316 | + "version": 39, |
| 317 | + "columns": 4 |
| 318 | + }, |
| 319 | + "path": "overview", |
| 320 | + "folderPath": [] |
| 321 | +} |
0 commit comments