From cf0bef90e03b5477cee1188a06fe24864c34444d Mon Sep 17 00:00:00 2001 From: Sheogorath <sheogorath@shivering-isles.com> Date: Sat, 30 Sep 2023 01:16:21 +0200 Subject: [PATCH] removal(crowdsec): Dropping crowdsec After some testing and fiddling around, I don't think it's worth the hassle. Not only was ingress-nginx much less stable since integrating the crowdsec bouncer plugin, but also just providing some questionable log parsers etc, mainly focusing on bruteforce attacks for passwords, which is useless when everything goes to SSO anyway. Finally there were some other technical faux pas, like hardcoded passwords on the integrated dashboard (which is also mostly useless), expired GPG keys on the Fedora repository and finally a lack of bouncer modules on current Fedora releases, depsite the docs claiming otherwise. And given the issues date back to march, it doesn't seem to be a something that will be resolved any time soon. I guess my biggest critique is that the whole "fail2ban of the modern area" limits itself to IP addresses only. No additional metadata to block or mitigate attacks or identify attackers. Relying on IP addresses only in 2023 is not on time. The whole being distributed with the lapi server, is nice, but not enough to make this acceptable. --- .../dashboards/crowdsec_details_v5.json | 1585 ----------------- .../crowdsec/dashboards/crowdsec_lapi_v5.json | 562 ------ .../dashboards/crowdsec_overview_v5.json | 1381 -------------- apps/base/crowdsec/kustomization.yaml | 21 - apps/base/crowdsec/namespace.yaml | 31 - apps/base/crowdsec/networkpolicy.yaml | 19 - apps/base/crowdsec/release.yaml | 106 -- apps/base/crowdsec/repository.yaml | 8 - apps/k8s01/crowdsec/certificate.yaml | 66 - apps/k8s01/crowdsec/ingress.yaml | 77 - apps/k8s01/crowdsec/kustomization.yaml | 9 - apps/k8s01/crowdsec/release-values.yaml | 62 - .../k8s01/nginx-system/release-override.yaml | 68 +- 13 files changed, 3 insertions(+), 3992 deletions(-) delete mode 100644 apps/base/crowdsec/dashboards/crowdsec_details_v5.json delete mode 100644 apps/base/crowdsec/dashboards/crowdsec_lapi_v5.json delete mode 100644 apps/base/crowdsec/dashboards/crowdsec_overview_v5.json delete mode 100644 apps/base/crowdsec/kustomization.yaml delete mode 100644 apps/base/crowdsec/namespace.yaml delete mode 100644 apps/base/crowdsec/networkpolicy.yaml delete mode 100644 apps/base/crowdsec/release.yaml delete mode 100644 apps/base/crowdsec/repository.yaml delete mode 100644 apps/k8s01/crowdsec/certificate.yaml delete mode 100644 apps/k8s01/crowdsec/ingress.yaml delete mode 100644 apps/k8s01/crowdsec/kustomization.yaml delete mode 100644 apps/k8s01/crowdsec/release-values.yaml diff --git a/apps/base/crowdsec/dashboards/crowdsec_details_v5.json b/apps/base/crowdsec/dashboards/crowdsec_details_v5.json deleted file mode 100644 index 492aeeca6..000000000 --- a/apps/base/crowdsec/dashboards/crowdsec_details_v5.json +++ /dev/null @@ -1,1585 +0,0 @@ -{ - "__inputs": [ - { - "name": "DS_PROMETHEUS", - "label": "Prometheus", - "description": "", - "type": "datasource", - "pluginId": "prometheus", - "pluginName": "Prometheus" - } - ], - "__elements": [], - "__requires": [ - { - "type": "panel", - "id": "bargauge", - "name": "Bar gauge", - "version": "" - }, - { - "type": "grafana", - "id": "grafana", - "name": "Grafana", - "version": "9.0.2" - }, - { - "type": "panel", - "id": "graph", - "name": "Graph (old)", - "version": "" - }, - { - "type": "datasource", - "id": "prometheus", - "name": "Prometheus", - "version": "1.0.0" - }, - { - "type": "panel", - "id": "stat", - "name": "Stat", - "version": "" - }, - { - "type": "panel", - "id": "timeseries", - "name": "Time series", - "version": "" - } - ], - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "datasource", - "uid": "grafana" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "id": null, - "iteration": 1659090580950, - "links": [], - "liveNow": false, - "panels": [ - { - "collapsed": true, - "datasource": { - "type": "prometheus", - "uid": "IH0jqv6nz" - }, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 0 - }, - "id": 22, - "panels": [ - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 11, - "w": 12, - "x": 0, - "y": 1 - }, - "hiddenSeries": false, - "id": 18, - "legend": { - "alignAsTable": false, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": false, - "show": false, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.0.2", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "expr": "process_resident_memory_bytes{instance=\"$instance\"}", - "interval": "", - "intervalFactor": 1, - "legendFormat": "", - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Process Mem Usage", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "transparent": true, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "decbytes", - "logBase": 1, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 11, - "w": 12, - "x": 12, - "y": 1 - }, - "hiddenSeries": false, - "id": 20, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": false, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.0.2", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "expr": "rate(process_cpu_seconds_total{instance=\"$instance\"}[$__interval])*100", - "interval": "", - "intervalFactor": 2, - "legendFormat": "", - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Process CPU Usage", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "transparent": true, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "percent", - "logBase": 1, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [ - { - "options": { - "match": "null", - "result": { - "text": "N/A" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "dateTimeAsIso" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 5, - "x": 0, - "y": 12 - }, - "id": 16, - "links": [], - "maxDataPoints": 100, - "options": { - "colorMode": "none", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "text": {}, - "textMode": "auto" - }, - "pluginVersion": "9.0.2", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "expr": "(process_start_time_seconds{instance=\"$instance\"})*1000", - "instant": false, - "interval": "", - "intervalFactor": 1, - "legendFormat": "", - "refId": "A" - } - ], - "title": "Up Since", - "transparent": true, - "type": "stat" - } - ], - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "IH0jqv6nz" - }, - "refId": "A" - } - ], - "title": "System", - "type": "row" - }, - { - "collapsed": true, - "datasource": { - "type": "prometheus", - "uid": "IH0jqv6nz" - }, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 1 - }, - "id": 28, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 2 - }, - "id": 32, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "text": {}, - "textMode": "auto" - }, - "pluginVersion": "9.0.2", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "exemplar": true, - "expr": "sum(cs_alerts)", - "interval": "", - "legendFormat": "", - "refId": "A" - } - ], - "title": "Alerts Count", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 2 - }, - "id": 30, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "exemplar": true, - "expr": "cs_alerts{instance=\"$instance\"}", - "interval": "", - "legendFormat": "{{reason}}", - "refId": "A" - } - ], - "title": "Alerts per Scenario", - "type": "timeseries" - } - ], - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "IH0jqv6nz" - }, - "refId": "A" - } - ], - "title": "Alerts", - "type": "row" - }, - { - "collapsed": true, - "datasource": { - "type": "prometheus", - "uid": "IH0jqv6nz" - }, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 2 - }, - "id": 24, - "panels": [ - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "decimals": 1, - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 12, - "w": 24, - "x": 0, - "y": 3 - }, - "hiddenSeries": false, - "id": 2, - "legend": { - "alignAsTable": true, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": true, - "show": true, - "sort": "total", - "sortDesc": true, - "total": true, - "values": true - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.0.2", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "exemplar": true, - "expr": "sum(increase(cs_filesource_hits_total{instance=\"$instance\"}[$__interval])) by (source)", - "interval": "", - "intervalFactor": 2, - "legendFormat": "{{source}}", - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "exemplar": true, - "expr": "sum(increase(cs_journalctlsource_hits_total{instance=\"$instance\"}[$__interval])) by (source)", - "hide": false, - "interval": "", - "legendFormat": "{{source}}", - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "exemplar": true, - "expr": "sum(increase(cs_cloudwatch_stream_hits_total{instance=\"$instance\"}[$__interval])) by (group, stream)", - "hide": false, - "interval": "", - "legendFormat": "{{group}} - {{stream}}", - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "exemplar": true, - "expr": "sum(increase(cs_syslogsource_hits_total{instance=\"$instance\"}[$__interval])) by (source)", - "hide": false, - "interval": "", - "legendFormat": "", - "refId": "D" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Acquisition", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "transparent": true, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "logBase": 1, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "decimals": 1, - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 11, - "w": 12, - "x": 0, - "y": 15 - }, - "hiddenSeries": false, - "id": 4, - "legend": { - "alignAsTable": true, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": true, - "show": true, - "sort": "total", - "sortDesc": true, - "total": true, - "values": true - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.0.2", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "expr": "sum(increase(cs_parser_hits_ok_total{instance=\"$instance\"}[$__interval])) by (source)", - "interval": "", - "intervalFactor": 2, - "legendFormat": "{{source}}", - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Parsed lines", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "transparent": true, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "logBase": 1, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "decimals": 1, - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 11, - "w": 12, - "x": 12, - "y": 15 - }, - "hiddenSeries": false, - "id": 6, - "legend": { - "alignAsTable": true, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": true, - "show": true, - "sort": "total", - "sortDesc": true, - "total": true, - "values": true - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.0.2", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "expr": "sum(increase(cs_parser_hits_ko_total{instance=\"$instance\"}[$__interval])) by (source)", - "interval": "", - "intervalFactor": 2, - "legendFormat": "{{source}}", - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Unparsed lines", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "transparent": true, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "logBase": 1, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 12, - "w": 12, - "x": 0, - "y": 26 - }, - "id": 34, - "options": { - "displayMode": "gradient", - "minVizHeight": 10, - "minVizWidth": 0, - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "showUnfilled": true - }, - "pluginVersion": "9.0.2", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "editorMode": "code", - "exemplar": true, - "expr": "sum(rate(cs_parsing_time_seconds_bucket{instance=\"$instance\", type=\"$datasource_type\", source=\"$source\"}[$__rate_interval])) by (le)", - "format": "heatmap", - "legendFormat": "{{le}}", - "range": true, - "refId": "A" - } - ], - "title": "Parsing time", - "type": "heatmap" - } - ], - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "IH0jqv6nz" - }, - "refId": "A" - } - ], - "title": "Parsing", - "type": "row" - }, - { - "collapsed": true, - "datasource": { - "type": "prometheus", - "uid": "IH0jqv6nz" - }, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 3 - }, - "id": 26, - "panels": [ - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "decimals": 1, - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 24, - "x": 0, - "y": 4 - }, - "hiddenSeries": false, - "id": 8, - "legend": { - "alignAsTable": true, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": true, - "show": true, - "sort": "total", - "sortDesc": true, - "total": true, - "values": true - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.0.2", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "expr": "sum(cs_buckets{instance=\"$instance\"}) by (name)", - "interval": "", - "legendFormat": "{{name}}", - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Bucket Timeline", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "transparent": true, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "logBase": 1, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "decimals": 1, - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 9, - "w": 24, - "x": 0, - "y": 12 - }, - "hiddenSeries": false, - "id": 12, - "legend": { - "alignAsTable": true, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": true, - "show": true, - "sort": "total", - "sortDesc": true, - "total": true, - "values": true - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.0.2", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "expr": "sum(increase(cs_bucket_created_total{instance=\"$instance\"}[$__interval])) by (name)", - "interval": "", - "intervalFactor": 2, - "legendFormat": "{{name}}", - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Buckets creation", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "logBase": 1, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "decimals": 1, - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 24, - "x": 0, - "y": 21 - }, - "hiddenSeries": false, - "id": 11, - "legend": { - "alignAsTable": true, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": true, - "show": true, - "sort": "total", - "sortDesc": true, - "total": true, - "values": true - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.0.2", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "expr": "sum(increase(cs_bucket_overflowed_total{instance=\"$instance\"}[$__interval])) by (name)", - "interval": "", - "intervalFactor": 2, - "legendFormat": "{{name}}", - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Buckets overflow", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "transparent": true, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "logBase": 1, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "decimals": 1, - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 24, - "x": 0, - "y": 29 - }, - "hiddenSeries": false, - "id": 14, - "legend": { - "alignAsTable": true, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": true, - "show": true, - "sort": "total", - "sortDesc": true, - "total": true, - "values": true - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.0.2", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "expr": "sum(increase(cs_bucket_underflowed_total{instance=\"$instance\"}[$__interval])) by (name)", - "interval": "", - "intervalFactor": 2, - "legendFormat": "{{name}}", - "refId": "A" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Buckets underflow", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "transparent": true, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "logBase": 1, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 12, - "w": 12, - "x": 0, - "y": 37 - }, - "id": 35, - "options": { - "displayMode": "gradient", - "minVizHeight": 10, - "minVizWidth": 0, - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "showUnfilled": true - }, - "pluginVersion": "9.0.2", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "editorMode": "code", - "exemplar": true, - "expr": "sum(rate(cs_bucket_pour_seconds_bucket{instance=\"$instance\", type=\"$datasource_type\", source=\"$source\"}[$__rate_interval])) by (le)", - "format": "heatmap", - "legendFormat": "{{le}}", - "range": true, - "refId": "A" - } - ], - "title": "Bucket pour time", - "type": "heatmap" - } - ], - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "IH0jqv6nz" - }, - "refId": "A" - } - ], - "title": "Buckets", - "type": "row" - } - ], - "refresh": false, - "schemaVersion": 36, - "style": "dark", - "tags": ["crowdsec"], - "templating": { - "list": [ - { - "current": { - "selected": false, - "text": "default", - "value": "default" - }, - "hide": 0, - "includeAll": false, - "multi": false, - "name": "DS_PROMETHEUS", - "options": [], - "query": "prometheus", - "refresh": 1, - "regex": "default", - "skipUrlSync": false, - "type": "datasource" - }, - { - "current": {}, - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "definition": "label_values(cs_info, instance)", - "hide": 0, - "includeAll": false, - "label": "instance", - "multi": false, - "name": "instance", - "options": [], - "query": { - "query": "label_values(cs_info, instance)", - "refId": "Prometheus-instance-Variable-Query" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 1, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false - }, - { - "current": {}, - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "definition": "label_values(cs_parsing_time_seconds_bucket{instance=\"$instance\"}, type)", - "hide": 0, - "includeAll": false, - "multi": false, - "name": "datasource_type", - "options": [], - "query": { - "query": "label_values(cs_parsing_time_seconds_bucket{instance=\"$instance\"}, type)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - }, - { - "current": {}, - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "definition": "label_values(cs_parsing_time_seconds_bucket{instance=\"$instance\", type=\"$datasource_type\"}, source)", - "hide": 0, - "includeAll": false, - "multi": false, - "name": "source", - "options": [], - "query": { - "query": "label_values(cs_parsing_time_seconds_bucket{instance=\"$instance\", type=\"$datasource_type\"}, source)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - } - ] - }, - "time": { - "from": "now-15m", - "to": "now" - }, - "timepicker": { - "refresh_intervals": [ - "5s", - "10s", - "30s", - "1m", - "5m", - "15m", - "30m", - "1h", - "2h", - "1d" - ] - }, - "timezone": "", - "title": "CrowdSec / Details per Instance", - "uid": "6L2GdB47z", - "version": 7, - "weekStart": "" -} diff --git a/apps/base/crowdsec/dashboards/crowdsec_lapi_v5.json b/apps/base/crowdsec/dashboards/crowdsec_lapi_v5.json deleted file mode 100644 index 833eb0ee5..000000000 --- a/apps/base/crowdsec/dashboards/crowdsec_lapi_v5.json +++ /dev/null @@ -1,562 +0,0 @@ -{ - "__inputs": [ - { - "name": "DS_PROMETHEUS", - "label": "Prometheus", - "description": "", - "type": "datasource", - "pluginId": "prometheus", - "pluginName": "Prometheus" - } - ], - "__requires": [ - { - "type": "panel", - "id": "bargauge", - "name": "Bar gauge", - "version": "" - }, - { - "type": "grafana", - "id": "grafana", - "name": "Grafana", - "version": "8.1.2" - }, - { - "type": "datasource", - "id": "prometheus", - "name": "Prometheus", - "version": "1.0.0" - } - ], - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": "-- Grafana --", - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "editable": true, - "gnetId": null, - "graphTooltip": 0, - "id": null, - "iteration": 1655915193937, - "links": [], - "panels": [ - { - "collapsed": false, - "datasource": null, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 0 - }, - "id": 10, - "panels": [], - "title": "Agents", - "type": "row" - }, - { - "datasource": "${DS_PROMETHEUS}", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 1 - }, - "id": 2, - "options": { - "displayMode": "gradient", - "orientation": "vertical", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "showUnfilled": false, - "text": {} - }, - "pluginVersion": "8.1.2", - "repeat": "query0", - "repeatDirection": "h", - "targets": [ - { - "exemplar": false, - "expr": "sum(rate(cs_lapi_request_duration_seconds_bucket{endpoint=\"/v1/watchers/login\", instance=\"$lapi\"}[$__rate_interval])) by (le)", - "format": "heatmap", - "interval": "", - "legendFormat": "{{le}}", - "refId": "A" - } - ], - "title": "Agents Login", - "type": "heatmap" - }, - { - "datasource": "${DS_PROMETHEUS}", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 1 - }, - "id": 6, - "options": { - "displayMode": "gradient", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "showUnfilled": false, - "text": {} - }, - "pluginVersion": "8.1.2", - "targets": [ - { - "exemplar": true, - "expr": "sum(rate(cs_lapi_request_duration_seconds_bucket{endpoint=\"/v1/watchers/login\"}[$__rate_interval])) by (le)", - "format": "heatmap", - "interval": "", - "legendFormat": "{{le}}", - "refId": "A" - } - ], - "title": "Heartbeat", - "type": "heatmap" - }, - { - "collapsed": false, - "datasource": null, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 9 - }, - "id": 12, - "panels": [], - "title": "Decisions", - "type": "row" - }, - { - "datasource": "${DS_PROMETHEUS}", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 10 - }, - "id": 4, - "options": { - "displayMode": "gradient", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "showUnfilled": false, - "text": {} - }, - "pluginVersion": "8.1.2", - "targets": [ - { - "exemplar": true, - "expr": "sum(rate(cs_lapi_request_duration_seconds_bucket{endpoint= \"/v1/decisions\", instance=\"$lapi\", method=~\"(GET)|(HEAD)\"}[$__rate_interval])) by (le)", - "format": "heatmap", - "interval": "", - "legendFormat": "{{le}}", - "refId": "A" - } - ], - "title": "Decisions GET (live)", - "type": "heatmap" - }, - { - "datasource": "${DS_PROMETHEUS}", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 10 - }, - "id": 13, - "options": { - "displayMode": "gradient", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "showUnfilled": false, - "text": {} - }, - "pluginVersion": "8.1.2", - "targets": [ - { - "exemplar": true, - "expr": "sum(rate(cs_lapi_request_duration_seconds_bucket{endpoint= \"/v1/decisions/stream\", instance=\"$lapi\", method=~\"(GET)|(HEAD)\"}[$__rate_interval])) by (le)", - "format": "heatmap", - "interval": "", - "legendFormat": "{{le}}", - "refId": "A" - } - ], - "title": "Decisions GET (stream)", - "type": "heatmap" - }, - { - "datasource": "${DS_PROMETHEUS}", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 18 - }, - "id": 8, - "options": { - "displayMode": "gradient", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "showUnfilled": false, - "text": {} - }, - "pluginVersion": "8.1.2", - "targets": [ - { - "exemplar": true, - "expr": "sum(rate(cs_lapi_request_duration_seconds_bucket{endpoint=~\"/v1/decisions.*\", instance=\"$lapi\", method=\"DELETE\"}[$__rate_interval])) by (le)", - "format": "heatmap", - "interval": "", - "legendFormat": "{{le}}", - "refId": "A" - } - ], - "title": "Decisions DELETE", - "type": "heatmap" - }, - { - "collapsed": false, - "datasource": null, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 26 - }, - "id": 15, - "panels": [], - "title": "Alerts", - "type": "row" - }, - { - "datasource": "${DS_PROMETHEUS}", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 27 - }, - "id": 17, - "options": { - "displayMode": "gradient", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "showUnfilled": false, - "text": {} - }, - "pluginVersion": "8.1.2", - "targets": [ - { - "exemplar": true, - "expr": "sum(rate(cs_lapi_request_duration_seconds_bucket{endpoint=\"/v1/alerts\",instance=\"$lapi\",method=\"POST\"}[$__rate_interval])) by (le)", - "format": "heatmap", - "interval": "", - "legendFormat": "{{le}}", - "refId": "A" - } - ], - "title": "Alerts POST", - "type": "heatmap" - }, - { - "datasource": "${DS_PROMETHEUS}", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 27 - }, - "id": 18, - "options": { - "displayMode": "gradient", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "showUnfilled": false, - "text": {} - }, - "pluginVersion": "8.1.2", - "targets": [ - { - "exemplar": true, - "expr": "sum(rate(cs_lapi_request_duration_seconds_bucket{endpoint=\"/v1/alerts\",instance=\"$lapi\",method=~\"(GET)|(HEAD)\"}[$__rate_interval])) by (le)", - "format": "heatmap", - "interval": "", - "legendFormat": "{{le}}", - "refId": "A" - } - ], - "title": "Alerts GET", - "type": "heatmap" - } - ], - "schemaVersion": 30, - "style": "dark", - "tags": ["crowdsec"], - "templating": { - "list": [ - { - "current": { - "selected": false, - "text": "default", - "value": "default" - }, - "hide": 0, - "includeAll": false, - "multi": false, - "name": "DS_PROMETHEUS", - "options": [], - "query": "prometheus", - "refresh": 1, - "regex": "default", - "skipUrlSync": false, - "type": "datasource" - }, - { - "allValue": null, - "current": {}, - "datasource": "${DS_PROMETHEUS}", - "definition": "label_values(cs_info, instance)", - "description": null, - "error": null, - "hide": 0, - "includeAll": false, - "label": null, - "multi": false, - "name": "lapi", - "options": [], - "query": { - "query": "label_values(cs_info, instance)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "type": "query" - } - ] - }, - "time": { - "from": "now-6h", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "CrowdSec / LAPI Metrics", - "uid": "ofdKJG37k", - "version": 11 -} \ No newline at end of file diff --git a/apps/base/crowdsec/dashboards/crowdsec_overview_v5.json b/apps/base/crowdsec/dashboards/crowdsec_overview_v5.json deleted file mode 100644 index 329e0ddfb..000000000 --- a/apps/base/crowdsec/dashboards/crowdsec_overview_v5.json +++ /dev/null @@ -1,1381 +0,0 @@ -{ - "__inputs": [ - { - "name": "DS_PROMETHEUS", - "label": "Prometheus", - "description": "", - "type": "datasource", - "pluginId": "prometheus", - "pluginName": "Prometheus" - } - ], - "__requires": [ - { - "type": "grafana", - "id": "grafana", - "name": "Grafana", - "version": "8.1.2" - }, - { - "type": "panel", - "id": "graph", - "name": "Graph (old)", - "version": "" - }, - { - "type": "datasource", - "id": "prometheus", - "name": "Prometheus", - "version": "1.0.0" - }, - { - "type": "panel", - "id": "stat", - "name": "Stat", - "version": "" - }, - { - "type": "panel", - "id": "timeseries", - "name": "Time series", - "version": "" - } - ], - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": "-- Grafana --", - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "editable": true, - "gnetId": null, - "graphTooltip": 0, - "id": null, - "links": [], - "panels": [ - { - "collapsed": false, - "datasource": null, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 0 - }, - "id": 24, - "panels": [], - "title": "Summary", - "type": "row" - }, - { - "cacheTimeout": null, - "datasource": "${DS_PROMETHEUS}", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [ - { - "options": { - "match": "null", - "result": { - "text": "N/A" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "#E02F44", - "value": null - }, - { - "color": "#E02F44", - "value": 10 - }, - { - "color": "#299c46", - "value": 10 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 6, - "x": 0, - "y": 1 - }, - "id": 2, - "interval": null, - "links": [], - "maxDataPoints": 100, - "options": { - "colorMode": "background", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "text": {}, - "textMode": "auto" - }, - "pluginVersion": "8.1.2", - "targets": [ - { - "exemplar": true, - "expr": "count(cs_info)", - "interval": "", - "legendFormat": "", - "refId": "A" - } - ], - "timeFrom": null, - "timeShift": null, - "title": "Running Crowdsec", - "transparent": true, - "type": "stat" - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_PROMETHEUS}", - "decimals": 1, - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 18, - "x": 6, - "y": 1 - }, - "hiddenSeries": false, - "id": 8, - "legend": { - "alignAsTable": true, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": true, - "show": true, - "sort": "total", - "sortDesc": true, - "total": true, - "values": true - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "8.1.2", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "exemplar": true, - "expr": "sum(increase(cs_filesource_hits_total[$__interval])) by (instance)", - "interval": "", - "intervalFactor": 2, - "legendFormat": "{{instance}}", - "refId": "A" - }, - { - "exemplar": true, - "expr": "sum(increase(cs_journalctlsource_hits_total[$__interval])) by (instance)", - "hide": false, - "interval": "", - "legendFormat": "{{instance}}", - "refId": "B" - }, - { - "exemplar": true, - "expr": "sum(increase(cs_cloudwatch_stream_hits_total[$__interval])) by (instance)", - "hide": false, - "interval": "", - "legendFormat": "{{instance}}", - "refId": "C" - }, - { - "exemplar": true, - "expr": "sum(increase(cs_syslogsource_hits_total[$__interval])) by (instance)", - "hide": false, - "interval": "", - "legendFormat": "{{instance}}", - "refId": "D" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Acquisitions", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "transparent": true, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_PROMETHEUS}", - "decimals": 1, - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 9 - }, - "hiddenSeries": false, - "id": 10, - "legend": { - "alignAsTable": true, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": true, - "show": true, - "sort": "total", - "sortDesc": true, - "total": true, - "values": true - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "8.1.2", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "sum(increase(cs_parser_hits_total[$__interval])) by (instance)", - "interval": "", - "intervalFactor": 2, - "legendFormat": "{{instance}}", - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Parsers", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "transparent": true, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_PROMETHEUS}", - "decimals": 1, - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 9 - }, - "hiddenSeries": false, - "id": 12, - "legend": { - "alignAsTable": true, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": true, - "show": true, - "sort": "total", - "sortDesc": true, - "total": true, - "values": true - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "8.1.2", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "sum(increase(cs_bucket_overflowed_total[$__interval])) by (instance)", - "interval": "", - "intervalFactor": 2, - "legendFormat": "{{instance}}", - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Buckets overflow", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "transparent": true, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "collapsed": false, - "datasource": null, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 17 - }, - "id": 30, - "panels": [], - "title": "Alerts", - "type": "row" - }, - { - "datasource": "${DS_PROMETHEUS}", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 12, - "x": 0, - "y": 18 - }, - "id": 36, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "text": {}, - "textMode": "auto" - }, - "pluginVersion": "8.1.2", - "targets": [ - { - "exemplar": true, - "expr": "sum(cs_active_decisions)", - "interval": "", - "legendFormat": "", - "refId": "A" - } - ], - "title": "Decisions Count", - "type": "stat" - }, - { - "datasource": "${DS_PROMETHEUS}", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 12, - "x": 12, - "y": 18 - }, - "id": 38, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "text": {}, - "textMode": "auto" - }, - "pluginVersion": "8.1.2", - "targets": [ - { - "exemplar": true, - "expr": "sum(cs_alerts)", - "interval": "", - "legendFormat": "", - "refId": "A" - } - ], - "title": "Alerts Count", - "type": "stat" - }, - { - "datasource": "${DS_PROMETHEUS}", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 11, - "w": 24, - "x": 0, - "y": 22 - }, - "id": 32, - "options": { - "legend": { - "calcs": [], - "displayMode": "table", - "placement": "right" - }, - "tooltip": { - "mode": "single" - } - }, - "targets": [ - { - "exemplar": true, - "expr": "sum(cs_active_decisions) by (reason)", - "interval": "", - "legendFormat": "{{reason}}", - "refId": "A" - } - ], - "title": "Decisions by scenario", - "type": "timeseries" - }, - { - "datasource": "${DS_PROMETHEUS}", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 24, - "x": 0, - "y": 33 - }, - "id": 34, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "single" - } - }, - "targets": [ - { - "exemplar": true, - "expr": "sum(cs_active_decisions) by (action)", - "interval": "", - "legendFormat": "{{action}}", - "refId": "A" - } - ], - "title": "Decisions By Type", - "type": "timeseries" - }, - { - "collapsed": true, - "datasource": null, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 42 - }, - "id": 26, - "panels": [ - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_PROMETHEUS}", - "decimals": 1, - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 3 - }, - "hiddenSeries": false, - "id": 4, - "interval": "", - "legend": { - "alignAsTable": true, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": true, - "show": true, - "sort": "total", - "sortDesc": true, - "total": true, - "values": true - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "8.1.2", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "sum(increase(cs_node_hits_ok_total[$__interval])) by (name)", - "format": "time_series", - "instant": false, - "interval": "", - "intervalFactor": 2, - "legendFormat": "{{name}}", - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Parsers ok", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "transparent": true, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_PROMETHEUS}", - "decimals": 1, - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 3 - }, - "hiddenSeries": false, - "id": 6, - "legend": { - "alignAsTable": true, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": true, - "show": true, - "sideWidth": null, - "sort": "total", - "sortDesc": true, - "total": true, - "values": true - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "8.1.2", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "sum(increase(cs_node_hits_ko_total[$__interval])) by (name)", - "interval": "", - "intervalFactor": 2, - "legendFormat": "{{name}}", - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Parsers nok", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "transparent": true, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - } - ], - "title": "Parsers", - "type": "row" - }, - { - "collapsed": true, - "datasource": null, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 43 - }, - "id": 28, - "panels": [ - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_PROMETHEUS}", - "decimals": 1, - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 3 - }, - "hiddenSeries": false, - "id": 18, - "legend": { - "alignAsTable": true, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": true, - "show": true, - "sort": "total", - "sortDesc": true, - "total": true, - "values": true - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "8.1.2", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "sum(increase(cs_bucket_created_total[$__interval])) by (name)", - "interval": "", - "intervalFactor": 2, - "legendFormat": "{{name}}", - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Buckets created", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "transparent": true, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_PROMETHEUS}", - "decimals": 1, - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 3 - }, - "hiddenSeries": false, - "id": 20, - "legend": { - "alignAsTable": true, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": true, - "show": true, - "sort": "total", - "sortDesc": true, - "total": true, - "values": true - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "8.1.2", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "sum(increase(cs_bucket_overflowed_total[$__interval])) by (name)", - "interval": "", - "intervalFactor": 2, - "legendFormat": "{{name}}", - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Buckets overflow", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "transparent": true, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_PROMETHEUS}", - "decimals": 1, - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 9, - "w": 24, - "x": 0, - "y": 12 - }, - "hiddenSeries": false, - "id": 22, - "legend": { - "alignAsTable": true, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": true, - "show": true, - "sort": "total", - "sortDesc": true, - "total": true, - "values": true - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "8.1.2", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "sum(cs_buckets) by (name)", - "interval": "", - "intervalFactor": 1, - "legendFormat": "{{name}}", - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Buckets Timeline", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "transparent": true, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - } - ], - "title": "Buckets", - "type": "row" - } - ], - "refresh": false, - "schemaVersion": 30, - "style": "dark", - "tags": ["crowdsec"], - "templating": { - "list": [ - { - "current": { - "selected": false, - "text": "default", - "value": "default" - }, - "hide": 0, - "includeAll": false, - "multi": false, - "name": "DS_PROMETHEUS", - "options": [], - "query": "prometheus", - "refresh": 1, - "regex": "default", - "skipUrlSync": false, - "type": "datasource" - } - ] - }, - "time": { - "from": "now-24h", - "to": "now" - }, - "timepicker": { - "refresh_intervals": [ - "5s", - "10s", - "30s", - "1m", - "5m", - "15m", - "30m", - "1h", - "2h", - "1d" - ] - }, - "timezone": "", - "title": "CrowdSec / Overview", - "uid": "hjmZdB4nk", - "version": 7 -} \ No newline at end of file diff --git a/apps/base/crowdsec/kustomization.yaml b/apps/base/crowdsec/kustomization.yaml deleted file mode 100644 index c9276aa1c..000000000 --- a/apps/base/crowdsec/kustomization.yaml +++ /dev/null @@ -1,21 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization -namespace: crowdsec -resources: - - namespace.yaml - - repository.yaml - - release.yaml - - ../../../shared/networkpolicies/allow-from-same-namespace.yaml - - ../../../shared/networkpolicies/allow-from-monitoring.yaml - - ../../../shared/networkpolicies/allow-from-ingress.yaml -patchesStrategicMerge: - - networkpolicy.yaml -configMapGenerator: - - name: crowdsec-dashboards - files: - - ./dashboards/crowdsec_overview_v5.json - - ./dashboards/crowdsec_lapi_v5.json - - ./dashboards/crowdsec_details_v5.json - options: - labels: - grafana_dashboard: crowdsec diff --git a/apps/base/crowdsec/namespace.yaml b/apps/base/crowdsec/namespace.yaml deleted file mode 100644 index c6bab2ed1..000000000 --- a/apps/base/crowdsec/namespace.yaml +++ /dev/null @@ -1,31 +0,0 @@ -apiVersion: v1 -kind: Namespace -metadata: - name: crowdsec - labels: - pod-security.kubernetes.io/audit: privileged - pod-security.kubernetes.io/enforce: privileged - pod-security.kubernetes.io/warn: privileged - pod-security.kubernetes.io/audit-version: v1.27 - pod-security.kubernetes.io/enforce-version: v1.27 - pod-security.kubernetes.io/warn-version: v1.27 ---- -apiVersion: v1 -kind: ServiceAccount -metadata: - name: flux-reconciler - namespace: crowdsec ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: RoleBinding -metadata: - name: flux-reconciler - namespace: crowdsec -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: ClusterRole - name: admin -subjects: - - kind: ServiceAccount - name: flux-reconciler - namespace: crowdsec diff --git a/apps/base/crowdsec/networkpolicy.yaml b/apps/base/crowdsec/networkpolicy.yaml deleted file mode 100644 index 82662ad0d..000000000 --- a/apps/base/crowdsec/networkpolicy.yaml +++ /dev/null @@ -1,19 +0,0 @@ ---- -apiVersion: networking.k8s.io/v1 -kind: NetworkPolicy -metadata: - name: allow-from-monitoring -spec: - podSelector: - matchLabels: - k8s-app: crowdsec ---- -apiVersion: networking.k8s.io/v1 -kind: NetworkPolicy -metadata: - name: allow-from-ingress -spec: - podSelector: - matchLabels: - k8s-app: crowdsec - type: lapi \ No newline at end of file diff --git a/apps/base/crowdsec/release.yaml b/apps/base/crowdsec/release.yaml deleted file mode 100644 index 9ede5555c..000000000 --- a/apps/base/crowdsec/release.yaml +++ /dev/null @@ -1,106 +0,0 @@ -apiVersion: helm.toolkit.fluxcd.io/v2beta1 -kind: HelmRelease -metadata: - name: crowdsec - namespace: crowdsec -spec: - timeout: 15m - releaseName: crowdsec - chart: - spec: - chart: crowdsec - sourceRef: - kind: HelmRepository - name: crowdsec - namespace: crowdsec - version: "0.9.8" - interval: 5m - install: - crds: Skip - remediation: - retries: -1 - upgrade: - crds: Skip - remediation: - retries: -1 - valuesFrom: - - kind: ConfigMap - name: crowdsec-base-values - valuesKey: values.yaml - - kind: Secret - name: crowdsec-override-values - valuesKey: values-overrides.yaml - optional: true - postRenderers: - - kustomize: - patchesStrategicMerge: - - kind: DaemonSet - apiVersion: apps/v1 - metadata: - name: crowdsec-agent - spec: - template: - spec: - initContainers: - - name: wait-for-lapi - resources: - limits: - cpu: "1" - containers: - - name: crowdsec-agent - # Required in order to run as Super-Privileged-Container and therefore accessing host resources - securityContext: - privileged: true - allowPrivilegeEscalation: true ---- -apiVersion: v1 -kind: ConfigMap -metadata: - name: crowdsec-base-values - namespace: crowdsec -data: - values.yaml: | - container_runtime: containerd - agent: - metrics: - enabled: true - serviceMonitor: - enabled: true - resources: - limits: - cpu: '1' - memory: 100Mi - requests: - cpu: 150m - memory: 100Mi - # To specify each pod you want to process it logs (pods present in the node) - acquisition: - # The namespace where the pod is located - - namespace: nginx-system - # The pod name - podName: nginx-ingress-ingress-nginx-controller-* - # as in crowdsec configuration, we need to specify the program name so the parser will match and parse logs - program: nginx - # Those are ENV variables - env: - # As it's a test, we don't want to share signals with CrowdSec so disable the Online API. - - name: DISABLE_ONLINE_API - value: "true" - # As we are running Nginx, we want to install the Nginx collection - - name: COLLECTIONS - value: "crowdsecurity/nginx" - lapi: - metrics: - enabled: true - serviceMonitor: - enabled: true - resources: - limits: - cpu: '1' - memory: 1Gi - requests: - cpu: 150m - memory: 512Mi - dashboard: - enabled: false - diff --git a/apps/base/crowdsec/repository.yaml b/apps/base/crowdsec/repository.yaml deleted file mode 100644 index a7aef98eb..000000000 --- a/apps/base/crowdsec/repository.yaml +++ /dev/null @@ -1,8 +0,0 @@ -apiVersion: source.toolkit.fluxcd.io/v1beta1 -kind: HelmRepository -metadata: - name: crowdsec - namespace: crowdsec -spec: - interval: 30m - url: https://crowdsecurity.github.io/helm-charts \ No newline at end of file diff --git a/apps/k8s01/crowdsec/certificate.yaml b/apps/k8s01/crowdsec/certificate.yaml deleted file mode 100644 index dd6793985..000000000 --- a/apps/k8s01/crowdsec/certificate.yaml +++ /dev/null @@ -1,66 +0,0 @@ -apiVersion: cert-manager.io/v1 -kind: Certificate -metadata: - name: crowdsec-tls - namespace: crowdsec - labels: - app.kubernetes.io/name: crowdsec -spec: - dnsNames: - - ENC[AES256_GCM,data:7ctacfZGie4pE2VfH5i3bh96LQnad/YQGr8=,iv:o0fkT8qIPyz2Pm6GM4ZIWvl5cxJXlVx7qlFaN4PpXlk=,tag:t5H5JsBObnmNDWUlc33Ncg==,type:str] - issuerRef: - name: letsencrypt - kind: ClusterIssuer - secretName: ingress-crowdsec-tls -sops: - kms: [] - gcp_kms: [] - azure_kv: [] - hc_vault: [] - age: [] - lastmodified: "2023-09-28T21:26:28Z" - mac: ENC[AES256_GCM,data:goF9lVngzWTJpURm4cY4Me3kB8Ro7WHP0Llub5um/x09buXu2lBZlOYscYq0Sug5Nh4gPA7zfUzUo29advtA1mEijl38kDpIOjw5EIZZ4PFbCMqlEyYcBQF/lV+rF+MaGo/PHdLpdZkg+GO1p/hrLXLM5T7Y35pQ2OpEydqWBB8=,iv:nlP47dFysqk6kU6yeF4rImoBTHQL0W6IR6jvDpc+UhY=,tag:AiUj2SJuTcU5UinZBmlssg==,type:str] - pgp: - - created_at: "2022-01-21T18:13:48Z" - enc: |- - -----BEGIN PGP MESSAGE----- - - wcFMA7kpg2bgzVHcARAAs0OQxzkgcgs/iXO3DXjnuyddgI5X/Gz5Gd3q0U6MrK18 - gfZIWvh2gemiU0YepfnQwbHkFLWOO/hYLjppAd4/HS93Gg8Hqg7Kh9WLiQFqolAn - SSvm1KvlesTselWGu8/282UO5jDM7E0NuqsHPC9K/4im+jkWO9s2fAw+hQIvvVPw - CktPYqihMvTmLyTVX9dMkwgDzTdJ8JeaI26S5tyMkAg+B/ymxKWG4m7bRIG9+kOD - fnsUUfd+zobOLR3w251+AydJlCy3gs6hJYlW1wz8m6cOzKHe3SEnN9GLJSbSa95n - +WpY31VF+eXZ4Z8GXoy3QHTWzbcWJ10RKb5eTPixAJzL3opSTbKJGmUuQlq+/9Wg - 876dUQGl26CHm8solPytStPJDoSjcNbClJN1Rfp2SopAucqDG5XPIzXh7gIzfwrR - qauiO2AnC85DkWwU9w3wODB9zY3PzcmbzxyLPzEqnSABIEVw8VJoM/pnIRv2gs17 - 2YN61VO/YgUuxXtvvAHMgk1XQPfH45bM/i9lwX8EHDHqBWQVtYIqyw0lnVPZl1Hz - VuN6/aH4AnVAqeMjS4ezLZ26cyF8S/wkuQPK8tOfOs2l4smD1jp67A1A9RQfF4Hz - QRHL7VEc3EElB7FobZSAccjptfghhFjtIEhrmiZJgIIFcYv8IGDCf59pmVXSUKPS - UQGgA6xeWVYOj7DKYrgO4xMUXtofOv4WVRFO7iejeRqF5YbWmaCIq0GNvpwwZvWe - jqtu9MjOqwG0X682yB6/Ss/HBV+vAYrMoRqunjrSlZ+oLw== - =pOY7 - -----END PGP MESSAGE----- - fp: 286791FB6648539775DB31B8FCB98C2A3EC6F601 - - created_at: "2022-01-21T18:13:48Z" - enc: | - -----BEGIN PGP MESSAGE----- - - hQIMA4oYbIHZIrAPARAAlM62U+idC9A4irm5RkSx5fZv+HGu7Jrm5GNPzv2tQ9WY - ponFAjh0/DDq2qWcpveRS3owFAwhoMbm1vYx9O29ycM5XzjxHF5CjytSssRU0FkX - UK5OdW+SURLREvIOZjYoEqjxFGj22ZAegkNIHYadTSGyesWM8Fj3Q6Su0EVyeyaI - FaE5Eo3Ya0tn7p+oMoAsJFJhtz9oFvPcaXCri+BTiIHCGZBQf9ndAvpr23zd2cO8 - LBNwHOmJmtiHM3xndhVstBt9YnRqjqg3hZt65zB7LIP8zRPDtzsvTAdcLMkibhh5 - GPn6JyOvlBPFrxR0ZmuGTURFODfjFrjn96igHDGbET1XKDVb99uQA7tJDRjZYUPM - 3zfjj+aKi8R9k+/fU/jO827K8jHN9tPmrsJslUGDtV6sRxfWXUsfur8840TfnFBm - f8mqqOBA9ahJaN+0EyXvFHCfPglYs7zXKL4fYnO6PKB7fR+IDFUQzHxZGDTgLB6g - gtayT8FHE6EQ/1Lxsjw4kHfJYlabi5jSPAWtws/RXF8oZgByT6O1yYCtfJPzzlyT - A9b2X2EG4Lj6QFQNN7n/qOwa6timOrdZOfIDLMZt7JIDpHXhCmzo2WCm3wFS/L4R - 6zuYDUg5rm3sxHzcw+9xn/PK8yedVCmCGNrnON9hn0TeqXmuY87KQu1Az+3wJqDU - ZgEJAhCnHsdsGhUmeXb4Lb8+hJfFB1DTL3qk6iPqxPsjfA1n3N/KYLd3KYWaM6fm - 21yCsmkJZRWxgOwTPbF+KIQAq4yleW06ys6DFLz2wgLc3LlRjJFlPeajM6v6XicO - lDUgoEyZhw== - =y2A9 - -----END PGP MESSAGE----- - fp: B137EE1549DFAF960DD1E2B15147025FB9F09E07 - encrypted_regex: ^(data|stringData|email|dnsZones?|dnsNames?|hosts?|tang|externalURL)$ - version: 3.7.3 diff --git a/apps/k8s01/crowdsec/ingress.yaml b/apps/k8s01/crowdsec/ingress.yaml deleted file mode 100644 index 3760f075e..000000000 --- a/apps/k8s01/crowdsec/ingress.yaml +++ /dev/null @@ -1,77 +0,0 @@ -apiVersion: networking.k8s.io/v1 -kind: Ingress -metadata: - name: crowdsec - namespace: crowdsec - annotations: - nginx.ingress.kubernetes.io/whitelist-source-range: 10.0.0.0/8,172.16.0.0/12,192.168.0.0/16,100.64.0.0/24 - labels: - app.kubernetes.io/name: crowdsec -spec: - rules: - - host: ENC[AES256_GCM,data:V4ci7BYq3Rx68SbH8cNec0Sb8HOviEZ9ba0=,iv:TEAzu114TgjQzZAioIVT6DzbZ17JNesdT2xuebf64xQ=,tag:XeZ31mVguuRCTQka+QB4Zg==,type:str] - http: - paths: - - path: / - pathType: Prefix - backend: - service: - name: crowdsec-service - port: - number: 8080 - tls: - - hosts: - - ENC[AES256_GCM,data:Y/OIAe4NfZ9BYatNn6XO9HU3sIPfaRPc8J0=,iv:7r3WP7xi2bGM57zhQk0P09J02q6+QGBBGUWGmAWDt7I=,tag:uLD2TT0gY5TQkYDCbQizHA==,type:str] - secretName: ingress-crowdsec-tls -sops: - kms: [] - gcp_kms: [] - azure_kv: [] - hc_vault: [] - age: [] - lastmodified: "2023-09-28T21:34:11Z" - mac: ENC[AES256_GCM,data:4sKGFwJVOIT6byesdvUdt8XLgc5I4ijvHtCh/G9iICUxBzsGl7ZoggMVqU7HzAu7j3IFEUjxGfQRhfb1Qx3Ab4j+IKKnpTdwkwiUQT/rrC21ZrMxogVgGT7xmX2qAIF8QhCGbbkoE5qo/Ti0u2BBzUTB6ODODDbnOFZ98KMN6N4=,iv:bLo/rB9qvJR29zLDsT1KyYQ/pZKhh5DCGW42ZnvaP0M=,tag:OCtRpMYbxojilB1iwUjwqw==,type:str] - pgp: - - created_at: "2022-09-13T20:16:18Z" - enc: |- - -----BEGIN PGP MESSAGE----- - - wcFMA7kpg2bgzVHcAQ//QKUo6MGGO7kJyGfQ8WULaFNILDGmSNjPj6avjps8nbpa - BdNlszBms4ghflXW6xfBe2vqTvo+Bjd6XqngSoEOpYQNruKTodDpkRBj2KsT+nza - PfQocIiGaLmYsjdT7RtrCIzkm27IwL1MMtPrWPPfiiRHv5lw18y+l2c2kkO8TA4A - eETwEpbeVTo+iryTYSHMQKHeKk+s3Oh/MVGHHC3AlNn8hmvi2Wt/eSLye27a7J5T - lbJrNkIDX/1G9NR0bg2045MkljzYyY7ttP58j+WsOca3ct8NWy4Z4OQeldCmwIFr - BrKYCoFI6eZ6DHT9Rlqm246WN70hbRb7usCgX8dn8WT/Z8dXWzRryYtIVjkzrIVm - AZQ1XelkdXybGa/ORV5aj81AIXu7konepcJX64L6OxcQjFhQWAO7y1rwclOW8QOb - h2RlsE79wNobUsErXTvUmsW30l0GWYeh3IgR0HAMu2P8ttDvb8I4yu5H1/5uZnZY - jLBnH8ooC9uDnh2z5u6ru5JmHjlQ8BWUF/dptt57qUo/I+xBhiSCqYLFo2WOy1lx - hDlSzIE5Sn5TA3fxXyc9Hwv5/c3ELW6EuXqiy4MUcLREL07C4OLp0/1q/Tshj0FG - PReQZkVON4jFuDtfFVID8Rm20CBkVe2xahThK8jCGms15UpiU8hsv8VgAn7aIsPS - UQF1wuAsfdOVLBugwP0jsc57R60KmtLpig04S0WLJAlNEXGk+yGqAsluHGxJpnnm - LUM72fLPLolfVdF2aS9UjTSkSy34Rh5J/j08usEN8R7mWw== - =xL8K - -----END PGP MESSAGE----- - fp: 286791FB6648539775DB31B8FCB98C2A3EC6F601 - - created_at: "2022-09-13T20:16:18Z" - enc: | - -----BEGIN PGP MESSAGE----- - - hQIMA4oYbIHZIrAPARAAi5C2YbFg1dJGa/C+tsp2xn3fhu5Qvl2ywWFz/lWyO6rW - si4H0ivAkiI85jd2xgxXq54EWY5pkH0a/Ynly5p9zJuZf+dXP5RkOa7EEbv7h/UV - ZRQRpJRJuMKIOUXHKvRR93lQYItSPTCkcRkt6mVEhvYQwOxJmmmjtOF1umbra3Zi - sFWez2yil9BCC9kGWM4n2kHHLhb0RJdlfj3tP7RTYC9ssGCdoUnh4CgksRv6QW2G - HbrO38UJf96gzrjh09HJS4gSnIbtHVDGZ5lVITFpU3WPirga4BGEgib6Ip2GNb4i - 6hPmb3aWFwLeHf83CoDV8VbL03t5OLdeUWkAn9xNSZOPy8rZJgm/UXfuii1l39ui - gJk2VWVleK1rHGEV+sCsjGQjQvGL6QUgB+4dp6petsw5Jt1gxBbVZmvkuWjpkPw4 - BkLHPf51Gs0SCogWaVf5XdQqX1bovTZotTbTpa6A0G4iwsPIqQkSB/C7ykod5I0s - lXBqXCk9sgAr+hxdRtMpzZJhWC82EoP+Z8IhVEl0GvRyFC+BjFJKMNiTNLRsqmxL - iGaZrCXym7qM++uGKaUWmhVPg3g+l2AUmAwgf6ISIGQolaIf7J+jIc9jw4HSYcIM - MAjvGOGD02ABGvNGwiyi84ibIhnVngmrxuBrQTfBSfhqhJa6XUtLvaTt0OJa2UnU - aAEJAhAjKsBPBcSGRBgbDk+peX46kE7gF1p0tIqKjD1mBaSW5+x5xcITUHQxTcuV - tievOikl8nF+zBDmG3TlRiKimMGz2DwlARwkIsXOaU9I/VVwot153VYG/tpEbqKs - 8LzbNsLdj2Ld - =S0CC - -----END PGP MESSAGE----- - fp: B137EE1549DFAF960DD1E2B15147025FB9F09E07 - encrypted_regex: ^(data|stringData|email|dnsZones?|dnsNames?|.*(H|h)osts?|tang|externalURL|.*-secret|.*-url|.*Secrets?|.*-domain|password|subjects|node|apiURL|.*(S|s)erverNames?|.*SecretKey|externalName)$ - version: 3.7.3 diff --git a/apps/k8s01/crowdsec/kustomization.yaml b/apps/k8s01/crowdsec/kustomization.yaml deleted file mode 100644 index d7a746c25..000000000 --- a/apps/k8s01/crowdsec/kustomization.yaml +++ /dev/null @@ -1,9 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization -namespace: crowdsec -resources: - - ../../base/crowdsec - - ingress.yaml - - certificate.yaml - - release-values.yaml - - ../../../shared/resourcequotas/default.yaml diff --git a/apps/k8s01/crowdsec/release-values.yaml b/apps/k8s01/crowdsec/release-values.yaml deleted file mode 100644 index 1bce84ed1..000000000 --- a/apps/k8s01/crowdsec/release-values.yaml +++ /dev/null @@ -1,62 +0,0 @@ -apiVersion: v1 -kind: Secret -metadata: - name: crowdsec-override-values - namespace: crowdsec -type: Opaque -stringData: - values-overrides.yaml: ENC[AES256_GCM,data:JV/+40OYwzkdZPmqDSKaigHV2enrfDMnK1P05xD8OGSLXFmxJJp7TRxJ1UYXaB+539y/jC0f7BJqQFlWzbk+Ey63IAWkX2csspU5lvKdGoqB/GNLWHULBkP/tcoz/MM/C+wgNidTEpENUxuHqc9EWw+eACixuZ0q/IKU5XpHQUW6XqnIcbnDOx3dAZrOxDEO1LpR3t7ztMQX54dDaKdx3dQMJJLZDoLSIRghDGt1onVGPPTwv/2NNsn8YYUhSNE86t5IBnV0wKnVZH2CMYgSq+R4WpBXXCV9bPKFzuPTe6HeMRghheAmoGKNhcWsDVDR1TCjHEsT7ckimcLNcZq/BGqdLqKWL8jArFLU/nV3Nttjk1N/PQCjjWAG7QkVA4xWBfxS65YFTE1OGUQ0qvYWzEDs/iMKM3GCYoHLQugmURK640fxxGFOUWtuiVGHG/N20lhizNhsNMvzz9oFGhpOuHikpD0sKZYqQBtjjFYqAY9P28if2SuEFaKCx8JVge3LehmxKgMxyHj52k7bUtdcfnqzHUdCy2Bf/mqCaGWywwCL/V+FbFZQqEgzEg6VA+BRA5tb2OEBVzkch8IGtflKmwrE9VntUwgk5pA21Mvdl9TklbbRwdSQFUmayRh6bm6wfCqjwdHy8FHIPAUMTerwlXCPj/a1YvZLAov1NGF0WLrCOT70PXmY06hkzjiC2fl5eskqaiWd6GyS1BqEtUawMBqygqaA1jJhQs5CchTSXlZg9zj88WXACVhObSnBE1tL7ofRUXmSE0mW2agJITeFEna2ePrAvO2Vxhb3t9+FQaiLPJGok/6PCwI4T7erjBVz5FolD+hqk3c+0Uk6LOuwh0G4ShEfBoDxUR564xoGY6pzjuNVXH+ZDQzv/GXVUPpX4dcZvrffbTRMDSvXDqO3cDgYYdZNAlAXukuFtXCt5ffAw9Lt2JWosvfDTVpHFnNxKdmeAFVUISbt09Tc9p61mNfilexlHsoUIkDIE5u+rdwZkQ8/kY/BUYTmoWTui7leBYfKlRpDKJiE7+t9VlyXa9rMhOyXNVwCCQXoUTvKbjvWSvZPIymu1sE1oh/aeSd85qRGOZDecp8IrnYmlV/X5fj3Wn/K2IZ4+KiAkByw2ZwDHyUZQ3uUFaVA5c6wAzZ+f2DzBpAvrF465hbcFnyJHa3aXB5uxzGxUHoND2JLliIBm9hBfZ5uStviJsGNRkW/JKMGItoclcSdLiouEUB2w0mGhKWKKhZfXkuLJG3eFwwseTiDs/7lVy09OK0NKfEj1AWds2dqEhJTRtoVBiU/7dSpL+gJtDQHEhcMJ28hZ1WkOoGZ4TNOqmPfsJ/Rhu+w4ioSSs/B/4MvM5jLQZebsbPuOS0W15KZNaycZahqltKMeu2uvLJNqxUdUWkXF8B0F+OUYr3Vo0dLY//iPaeP6URDh5oJ67GgkOAOCVkeWvwbm41EFPRqFJse9TIbPfeXbPFkROX1BdgJhfnEjeAttgjf,iv:epE30qyzRFQwYrFHLvC9ZF1Sc1rkGUcZ+p0/toZAQgA=,tag:LyXW3I17lH/emKdtAGeEIQ==,type:str] - enrollKey: ENC[AES256_GCM,data:mR03lhEdYQFpT5MJp0awUgVijVmcoLvXEQ==,iv:hzxQL818iHe83vstbawpDfDL9X7nG39yB3X2t98u2sY=,tag:NG/mbbqvGKysacHQBxoyUA==,type:str] - enrollInstanceName: ENC[AES256_GCM,data:nnbFRJGxnZZYKw==,iv:+/0+Bi6LEW6v2i7jKFxEHn9xjcxZfI7sh/ZxGHtdczE=,tag:kCuvVI2a0I5db0hkyDM/aw==,type:str] -sops: - kms: [] - gcp_kms: [] - azure_kv: [] - hc_vault: [] - age: [] - lastmodified: "2023-09-28T23:20:54Z" - mac: ENC[AES256_GCM,data:OqsfnpHt6062gMW6I1v/qw3aAmxcABOG4dugsZ4/Hl8qJfG/sNgox0oy8aVVkHRQEzXVHzZ4ziEHcZoDU4RSs2dLUilxeJaFDaw4RSMz8Bcu/11EYbHJmUqQYGaPPBf+K16TnosSGgPNfmFj2rA2mvkD0DQB+FxKQFetqrCTgH4=,iv:Uadtz3IzRisQ3oDHvEca0dItERuaNnqObZA3X/FAM70=,tag:QeIa7CJH1VmO87G4EefjPw==,type:str] - pgp: - - created_at: "2022-03-22T22:26:35Z" - enc: |- - -----BEGIN PGP MESSAGE----- - - wcFMA7kpg2bgzVHcARAAmpPJYfBx1JYmUXqCJmkej7ba7aogITgzwuMEBBQbr/65 - WMVEptobGcljz/ycAIIT8zExiglRwXaV70Ds9SzLvJ0RM01cWQfQUpQEivrF2K+4 - L/BLMYJdGtrNADvYVuUFcrLOASEi4cRawh/Rwmo4RAHolTmt1VbPrA/No1bmtLXZ - veUAwANUT8kexxuX3njKQKmkK3eyFf/P1SBmCKie4Br6jEQlN9Z7OdiskQtVTOHE - vvy6zFmyU/VIfOEUUxegsVyYaC+qV9L3AcomfJfUX1cxMzNzj7wax+b1EadM/v8B - 8B66H72gksIAJeZD/unU66gIKIZuMFXDo/yYbLbp/+sFJGtyGh08YTunEwyQql1k - 2qXCgoeJJHrAGypWyWVBAsDUaHd+HwmgzOcE6mx107k6rA54uNOlhj0m9/Imu0+f - rnOQ0o0Clkw6U5hXJ9VTZdWksPDOa6j9hNy3wfH0LS+W5S4YOXIneqKCoqqMzryy - 6vgf0ndz63od86dF0733WAjR0OGs1iCgXFSE8OIf0CG3jf0IU3erpaVQ9rdeL8FV - 9L1ikCaX6V+inJrkXijzgdl3TslWG6a+y8j6RNPMh0TEJiQZMa+qliTSSk3MBRLi - aNKPbZQF/4S3Ou7VKIf/kGfTkzDw0wj0PcmD99GxCrJjG/fIR/tR5pkahFxwMhjS - UQHJQHIymV6Mr/T/WPKcz/+kQUUm7BDPLo0HgwtpiQ8F1/Kh/U74qV2KW2kqDyPy - Puc4QJTnUVybUOhMR6d2ARB9Rn05ETaH6tTsEHs2VSEgfw== - =x66y - -----END PGP MESSAGE----- - fp: 286791FB6648539775DB31B8FCB98C2A3EC6F601 - - created_at: "2022-03-22T22:26:35Z" - enc: | - -----BEGIN PGP MESSAGE----- - - hQIMA4oYbIHZIrAPARAAh/jKXCjLYRo45aqFBAr+IIuZSKMB6KxgdCIPVJaKN3sL - w1TSUf1Qbtk6mf/6A81GlT3CiOug7z1tH0HpcciFxC7PK4yka6cwm32qlr3d9mK6 - L+OsFwj/TAFVg7KIvMHk6NKdKjT7JOBYhE+pdthYxs0+X0TFjdw/FJpOa5qt+6YA - uyq17gh877tasrj7wINW8qsntdM5E36kQcBf9msF/yxdKgMdCFU40tgFzz0wx9Ra - cueBidvOZonpvXi+9wu6p67lAp98ud3ZsbKBSelbmcscgwaOg26NOkEH8siZC3KK - QbC1209h6p8128NLhNgSo/nIYEJcFNeiRFZV3Crqr1f/akNRYm3QunxPY/ytkw4o - ArJNhWl75Mn3hDRoxtGxMiiCCUkpX3OLdUpi2rseT1skDVJXRnLQhAVuVugM+Q7b - ALx8xFjKBLRPw1jyLbbp/UGJse8dAMsFH5dVkU1nchL9qt2meTzm+7n5yxqXGxXM - 8iTpJsYkD8N/QEyIiVF6c9uiS5PKuVbXnIq1Y/UbSoATVKANq+FX5XLA2au0r28L - Hdzah7RjN/+X/h/bQFUHjHe2SMKPDTrOcwN2NNI0BtuRYAon5SBEboHZIx6ch7RL - npBSfiV+MDPRBwoRYxuPqo+0jC4IxWm6XwA3PoMoEOhqJOCWf/iRAnIBC8P48H3U - ZgEJAhCLN0nf09dsjbiWnZBvrB/ro0ooOBIZKwbTtnjm5fN+K9+hH3xfp97ebJsq - DR6CBPL7HE/UK4yA6QFOOkA2oT5q9wTciNwJ9DdZ4D+tWtXPUUp2HOnhStCMFv4f - A3XBQLtGLg== - =MC25 - -----END PGP MESSAGE----- - fp: B137EE1549DFAF960DD1E2B15147025FB9F09E07 - encrypted_regex: ^(data|stringData|email|dnsZones?|dnsNames?|hosts?|tang|externalURL|.*-secret|.*-url|.*Secrets?|.*-domain|password|subjects|node|apiURL|.*(S|s)erverNames?|.*SecretKey)$ - version: 3.7.3 diff --git a/clusters/k8s01/nginx-system/release-override.yaml b/clusters/k8s01/nginx-system/release-override.yaml index 248786c8f..00e5c5e84 100644 --- a/clusters/k8s01/nginx-system/release-override.yaml +++ b/clusters/k8s01/nginx-system/release-override.yaml @@ -5,77 +5,15 @@ metadata: namespace: nginx-system type: Opaque stringData: - values-overrides.yaml: ENC[AES256_GCM,data:vVAeAz14ML3O9dxzlLmOx/D7JTq12A2s3GTFYCNAGgLFy1WPk2RNLRHOwN3FtuNzC2bJB20G/gk5FTquNXS+0lAX8rxJSOy8XLyyTvhJIuw4Vm0in7ynThRiU4pltSCGuogly3op8cH4znPL+A0ZlOPSi0mGsMNp7SCQpTYYRPZONEfrQEDP1LB9i7m0m8ZYA5gyoh4XnjazL++Gtj+mD/UG4Lza/vedap7BlRVTnXMkfOpzXnpckXssf/64rNy+Dt9NQDF2+i/MjXpeW61JwjgVpAiGI8xDmQeGBVqp5y864ufREe6Dl+n5LTTtS5qf6YiL7/7p3w1df4hXtHyUW1g5hkCOJDKXmZtjzy9pxj+sBOQkanPe3iseeEOxDE1R6Yni3+6KoyAxuCcCsujHw2EU2xQPqEuUfVXW/cfSfc9UvTViwq5vzVyj9LYA85xUxKT7Xzp0vxNrzgV67V3Hqu87Yzpi/21r77lpEACJ1WXDioQ+R+QLwXpanmXonio4twhJXz3RUZdySa+RvcCD++SMF+o/97FgYjrIbW5EcMNbEuE9A0xZGV7zHz2ckpfM7GdQ9aioci1tBa3H/Z4nnpyLrpy5zt6uHvyx6qKEkPVcIsTRLHmZvuI0MUM4cAPPNLEqavHSgmjXHUdfSyoTeDl3BmnNP+y+GIUczFoZFRnRb5scrz4yJc77OrGy3tCmF20f3n/UAsV2BOTSgxqMeqicEYeuZhhpsmQpFJIRGw+TVRtvQ/dNvYleJyEkAyPnDG9xWcQKvZ3LbIXIzewLjGqHmfgbKN0OUcOCx0nN/F9eURznhdS7ofl7WsnGGat16uIzPDWwrQnL23Zts1/mEa+zTJ/nwYh0GbyMGWQtfqG2ttngdXlv0dnecdHuHHfEwD3Lti9Io1oTOQDKCHaB8wLbMS8tL9BiV6YAX+fsIfA4C4LdGR8uj6P5MweQ/L28/rKBlqYbAfbew1BBRAHGwRAUwmA7CibJk6c+zu3TGox/CEIheF/Md7p7mhNIKahMXBjCpMPBhAAyAwYZhLB7094nCTy7dR8cPiC/kqFkGWwK8Yo5GMnvMfKVSQfGeo6a+S3xn/urnsJalGz8Xn9Ce40Ve8LRlbzgDvSgvbOOkD5aL6VIEM8VLneK7RMf8OLHCOztEjMTdUiwXYDneTWZaUi5CP0FJC6tzZZ308tf3Xzkj4nwcDAT1UHiB6mVpGQ4aVQI+VwsVPR5xm6QmzdOSi79u7C/PRu6l7Ux7+FpH7UK8bVwGJBsaMWkwF62DoVHZPlkFmsgHeqWtTqnDaNQ3APHGsb/UZ2jMPtVLFEjpNUpyw/N/tnJv6gLpUayY0EB/9D/7k/za+uH8S/ghUayvW+8h0xFKdrolfriYZrDI1l4SZd61mlla+QwZYwOvgxSkfVIf3uaM0+fds0S1WD6hAFeam7q1Vy0Cs7LzcyUYJsLrruyAFyZEv04sTYc5nbaogryXk5IAlxqCJY0gRu0+Nkg+0G0a8OKGX4PiF5FH0k20yoQahvSHgxoJba+0sfZeopQc978IB69FDTD4zl/hb54JJwKLwqpJp5Anbp6a7HXHW4PRdDAlS3JIz1Puw5WoCruFPuh0kHy92Cu9Ak2j2mYRuG/DHxD1I8YMhmzeCkoFSQgBHxdruhJ7KG+91VE806Q+/RVaubXjkV5uNNpoz+ZKwKjSf0fCofxjbVwDT5Pgz7wasOy9+8RAH2S6S2pg9B7auMk68w/9lhcrqU=,iv:JRQfFSwcmKk5W6MobmVhsWQgQal8BzoYy1oWJ/Xfk60=,tag:yR2oPx+ZCFHhAwZDDE3cOg==,type:str] + values-overrides.yaml: ENC[AES256_GCM,data:+JH6xHivUwSOKi6rCzhlrkD/gKoTeQGAZrbt06WpSvXCH4+zCa9zh/zlKG67o6xne29V2Zt8wLWU6HOA3Lon1SiaMPGxp9I9f7MemP2eJHGIe6q9NuaOfM+mxirIo4F6q5Z9lVEVL3DtYe4mkt1uafA/VGtAjxNqzWaCmz0LZkpvIo1rhgYY+vuzYur+Od1tbIfoowMibl6NrCqXqHg3UkraxFQ=,iv:BSEELAzmsAsK7VgQZTok8+eCtoxRyD1c0hXfD1cj7NY=,tag:dSTmuGX0R+i2PPjQLnVh5w==,type:str] sops: kms: [] gcp_kms: [] azure_kv: [] hc_vault: [] age: [] - lastmodified: "2023-09-28T22:10:10Z" - mac: ENC[AES256_GCM,data:dK5nnsS2l1nAPMmHIPz6kNgkT46yU6ja/Tq2vE9roS+Fz5eV1eJjOJZFPdpIYtOvzEKd6qpfm8lMObZ72MpdcCZWN73UhhnDwJzu5FVj4TxwtVmuy4zX5ipR+rwHXwHtzMP02p/SzZdMBIEX6KpSqy4eM1ZX2q7kI6BDLkgN784=,iv:g2kWs99CcIQpFlu+aOb4+jdErsM40KeOIrS0LiaLrsw=,tag:/EbHsPcmbH5/xnyJ7e5Gqg==,type:str] - pgp: - - created_at: "2022-02-09T22:43:33Z" - enc: |- - -----BEGIN PGP MESSAGE----- - - wcFMA7kpg2bgzVHcARAADWlCAiz3CyI6JANxoCD7FSqqxyGAW+wBxCnN2Pd9y+bf - M+qjxnqOBa5SEXtn/Q9TafS3Du1+AnES0T+MVtw6x/cP8jD89ZSisJLlE94bBwrV - JPkv6JV3nOoi80dgMNeQOd8tzfdFZO25P24Nzf4cnHJz9x4vQFndFSgS1Zz6Jlyx - +ErYR6C/DGEgmFehbvdZRIZwPIcQaC4TokMW9oRP+9zZghtT1lRX5p6M4GdcmzAy - PcrQatZ3oNYbfoaDkvXivtWoBwm4t4bGW5j9lgASjsqBcd8lDsxArFQBiR+NcJRz - i9an0Uz0ArB6fUn/XFfLtOWtmXMtnKhJ4gnJK3Vu5LQfzS5UHTPJDZRQLtX8kRXG - 6E/s20HnVi1srjls3mxGUJZ9jIL4OVwSyXOu3QRferHOu/RCKK7nm+UOkMPsXoDK - PGIbdAZx/lbKoZS+8zld7UFih+NcgGdLMhZrE+QXU7QAtdHf4UZ4a03fn8XwrX76 - UIvIG7YKS47c4I3QDUAQIbvH9HTyvQX9CS6jttktbIHfcUHgtaOsS9QRb1vhuhZi - /6vkc3uWDV9+Z1yO6DbGj5E4y8erweI5w2vAq8EYMhPdna6h2AYdsWd4gmfan+81 - lOEnZGKzNntTNFFusDVLMKMdLRWD4/vaZe56ACeJ39tRdD+koavbLEsikHq6spnS - 5gEioKhhxI4jHeEI5dGDtXQg8k2agqvVwK0RfvAnkN3kjZYmZ/rfVMrv0TTQqdO4 - EPAO25j1U7BlLB92z1CUtiDkaB1wMCJ7fHFjMMf5sftfy+IktvWWAA== - =PpW2 - -----END PGP MESSAGE----- - fp: 286791FB6648539775DB31B8FCB98C2A3EC6F601 - - created_at: "2022-02-09T22:43:33Z" - enc: | - -----BEGIN PGP MESSAGE----- - - hQIMA4oYbIHZIrAPAQ//SZ6MB3LR3Zlp5pvWFVBdT9+ReRK5zPpeVXEslslVmOu6 - eYlETdYSxdeqrb1Swkq+m3snm1e9c55pp077xCY5rsex0t4yDCXD1EnlGjLDER4c - okNMx30Hrs4EZEkXpXq5oE6p9nBckZdwQ3n7Bm3OsecmsXxvV6xH6bV8amzDsJjI - 5lFWIuw9AIlWosiJdnn/VH9+7PWZYIQwSBS7lyf8+IB2sHS2+ejaVRFxeta3kk0t - ZWk2+CA80A8kgp9RoGZNjWOwBRBMdS7oh+t/e4g0LAF1vm3cYoGRe1wMYkT0BjtH - j8NqdsyJK1ingSUzDDvjVlJcvdit6Ll/9beoCh7+Zcu0poQ9UNO28f+AGXpJgADS - i414dwdUi1ZGzsM2mIiOAPkVezXXzqk8fyA+m/VaIvHl0qGgrCQU93a1mFbfy/P/ - rV1pHjphUu0WUsVTr9e3Y+K/44872DWOnM6Ek3yiYUlk8sNlrLcDXF6IaRhmpojH - VPwjOFXlTH0yrJlATmSpzZvkBduDFq6Bx6s9SgfZiKF6fMopUx11YPoOdjqQ6cua - YqOPEEQXVudpNOojDZSMjjwP2qFf0vU25vVyz+AYXusJZmc+MIGqvYE8rfMRxt+0 - F1Lf3A6N39av1robgpscH1H1Q/A/jcuzwNGWZkt1+mrFkJW7FyvEXdOPx8up4oLU - aAEJAhBz50wHUC7M3/U9NG3/DCCC7JayMD8bMq4bLUh1MDVlgjqUxZX4wmG/6SgC - PDfEI1l5w/yMS1A6CVxeKtr9OL4HQH8a44+i5HmR8SNYuYquXNwRN7aS+w79Im16 - y76455qoZQMF - =ho5d - -----END PGP MESSAGE----- - fp: B137EE1549DFAF960DD1E2B15147025FB9F09E07 - encrypted_regex: ^(data|stringData|email|dnsZones?|dnsNames?|hosts?|tang|externalURL|.*-secret|.*-url|.*Secret|.*-domain|password|subjects|node|apiURL)$ - version: 3.7.3 ---- -apiVersion: v1 -kind: Secret -metadata: - name: crowdsec-bouncer - namespace: nginx-system -type: Opaque -stringData: - #ENC[AES256_GCM,data:EMvPIQM3szvrtW80uG8UdH7IExCZEa/fZsgA9jJurrP9nE4HgHX7LH5B7ookDvMkaPfznYQ=,iv:N2GNif7mw9JLSYIB+BxsX8mTq502KF6sFK9qUOkM0G0=,tag:jhRJFEm/Exu7SAKZJv9ftg==,type:comment] - apiKey: ENC[AES256_GCM,data:iaYBcZGj17EFxDtFV7VJz1PSwYv+R84S/XjM9jGqjBc=,iv:7WlfiShpYmlwJzx3/fl0kFEEDQQSUdi3bYzuBr8H3GY=,tag:FWbQZsG6cJ+xSRtOB/d7dA==,type:str] -sops: - kms: [] - gcp_kms: [] - azure_kv: [] - hc_vault: [] - age: [] - lastmodified: "2023-09-28T22:10:10Z" - mac: ENC[AES256_GCM,data:dK5nnsS2l1nAPMmHIPz6kNgkT46yU6ja/Tq2vE9roS+Fz5eV1eJjOJZFPdpIYtOvzEKd6qpfm8lMObZ72MpdcCZWN73UhhnDwJzu5FVj4TxwtVmuy4zX5ipR+rwHXwHtzMP02p/SzZdMBIEX6KpSqy4eM1ZX2q7kI6BDLkgN784=,iv:g2kWs99CcIQpFlu+aOb4+jdErsM40KeOIrS0LiaLrsw=,tag:/EbHsPcmbH5/xnyJ7e5Gqg==,type:str] + lastmodified: "2023-09-29T23:15:30Z" + mac: ENC[AES256_GCM,data:vp89SSQOl65NOtPV+FE3/xQuvVwalvG1TM+aDz1qyPEta4Akc9RAD2YTIqkDQ3nl1d9IFNOWz+oDhrPRpZHmC16X0gST8Rm7OaAKE1cisoqNrkLyXrhu4e1aET4Hwo/uCc7YJeVh27yZjvWD/oqfxrLm9li5h6rZvej+LNtui10=,iv://V6CRyrOHexINBeiYJ4FH3dWq3Iq3avXcQV9eK2cYo=,tag:ZL1PMoebxvqvtPRG7NqM1g==,type:str] pgp: - created_at: "2022-02-09T22:43:33Z" enc: |- -- GitLab