policy-reporter

Monitoring and Observability Tool for the PolicyReport CRD with an optional UI.

MIT License

Stars
250
Committers
56

Bot releases are visible (Hide)

policy-reporter - policy-reporter-preview-3.0.0-alpha.2

Published by github-actions[bot] 10 months ago

Policy Reporter watches for PolicyReport Resources. It creates Prometheus Metrics and can send rule validation events to different targets like Loki, Elasticsearch, Slack or Discord

policy-reporter - policy-reporter-2.21.5

Published by fjogeleit 10 months ago

Policy Reporter watches for PolicyReport Resources. It creates Prometheus Metrics and can send rule validation events to different targets like Loki, Elasticsearch, Slack or Discord

policy-reporter - policy-reporter-2.21.4

Published by fjogeleit 10 months ago

Policy Reporter watches for PolicyReport Resources. It creates Prometheus Metrics and can send rule validation events to different targets like Loki, Elasticsearch, Slack or Discord

policy-reporter - policy-reporter-preview-3.0.0-alpha

Published by github-actions[bot] 10 months ago

Preview Build for the new Policy Reporter UI v2.

policy-reporter - policy-reporter-2.21.3

Published by fjogeleit 11 months ago

Policy Reporter watches for PolicyReport Resources. It creates Prometheus Metrics and can send rule validation events to different targets like Loki, Elasticsearch, Slack or Discord

policy-reporter - policy-reporter-2.21.2

Published by fjogeleit 11 months ago

Policy Reporter

  • Fix ID generation for Policy Reports which using scope as resource reference

Helm Chart

  • fix: Add chart parameters for setting revisionHistoryLimit [#363 by bodgit]
  • fix: allow not setting .Values.podSecurityContext for kyvernoPlugin [#361 by haraldsk]
policy-reporter - policy-reporter-2.21.1

Published by fjogeleit 12 months ago

Policy Reporter watches for PolicyReport Resources. It creates Prometheus Metrics and can send rule validation events to different targets like Loki, Elasticsearch, Slack or Discord

policy-reporter - policy-reporter-2.21.0

Published by fjogeleit 12 months ago

Policy Reporter watches for PolicyReport Resources. It creates Prometheus Metrics and can send rule validation events to different targets like Loki, Elasticsearch, Slack or Discord

policy-reporter - policy-reporter-2.20.1

Published by fjogeleit about 1 year ago

policy-reporter - policy-reporter-2.20.0

Published by fjogeleit about 1 year ago

Policy Reporter

  • Support GoogleChat as new notification target
  • Support Telegram as new notification target
  • Support HTTP BasicAuth for API and metrics
  • Go update to v1.21

Policy Reporter UI

  • Support HTTP BasicAuth authenticated API calls
  • Go update to v1.21

Policy Reporter KyvernoPlugin

  • Support HTTP BasicAuth for API and metrics
  • Go update to v1.21

BasicAuth Summary:

Configure global HTTP BasicAuthentication via Helm:

  • Username/Password can configured directly or as existing secret with username / password keys
  • The Authentication is applied to REST APIs and metrics of the Core App and KyvernoPlugin (if enabled)
  • The Authorization header will be set in the Policy Reporter UI automatically
    • External Cluster configuration also supports secretRef where you can set username / password as well as the API endpoints (api, kyvernoApi) and ssl configuration (skipTLS, certificate)
  • If monitoring enabled the basicAuth configuration will also applied on the ServiceMonitors
    • direct configuration will create a dedicated auth secret for ServiceMonitors
    • secretRef will reuse the existing secret for ServiceMonitors
global:
  basicAuth:
    #https://github.com/kyverno/policy-reporter/releases/tag/policy-reporter-2.20.0 username: "username"
    #password: "password"
    secretRef: auth-secret

Example external cluster:

ui:
  ...
  clusters:
  - name: Minikube
    api: http://policy-reporter:8080
    kyvernoApi: http://policy-reporter-kyverno-plugin:8080
    basicAuth:
      username: user
      password: password
  - name: Secret
    api: http://policy-reporter:8080
    kyvernoApi: http://policy-reporter-kyverno-plugin:8080
    secretRef: auth-secret
  - name: Unauthorized
    api: http://policy-reporter:8080
    kyvernoApi: http://policy-reporter-kyverno-plugin:8080
policy-reporter - policy-reporter-2.19.4

Published by fjogeleit over 1 year ago

Policy Reporter watches for PolicyReport Resources. It creates Prometheus Metrics and can send rule validation events to different targets like Loki, Elasticsearch, Slack or Discord

policy-reporter - policy-reporter-2.19.3

Published by fjogeleit over 1 year ago

Policy Reporter watches for PolicyReport Resources. It creates Prometheus Metrics and can send rule validation events to different targets like Loki, Elasticsearch, Slack or Discord

policy-reporter - policy-reporter-2.19.2

Published by fjogeleit over 1 year ago

Policy Reporter watches for PolicyReport Resources. It creates Prometheus Metrics and can send rule validation events to different targets like Loki, Elasticsearch, Slack or Discord

policy-reporter - policy-reporter-2.19.1

Published by fjogeleit over 1 year ago

Policy Reporter watches for PolicyReport Resources. It creates Prometheus Metrics and can send rule validation events to different targets like Loki, Elasticsearch, Slack or Discord

policy-reporter - policy-reporter-2.19.0

Published by fjogeleit over 1 year ago

  • Policy Reporter
    • New AWS SecurityHub push target - See values.yaml for available configurations
    • External DB support (PostgreSQL, MySQL, MariaDB) - See values.yaml for available configurations
      • HA Mode support - only leader write into the DB
      • Versioned Schema, autoupdated when another version is detected
      • Configurable over values and secrets
    • Cache improvements to reduce duplicated pushes
    • Split Category API into namespaced scoped and cluster scoped API
    • Support search for contained words in the results API
  • Policy Reporter UI
    • Update API requests
policy-reporter - policy-reporter-2.18.3

Published by fjogeleit over 1 year ago

  • Policy Reporter
    • new value to add priorityClassName to pods [#283 by boniek83]
    • fixed syntax error for policy reporter config.yaml [#295 by nikolay-o]
    • fixed customFields for kinesis targets [#295 by nikolay-o]
    • image signing and sbom generation for new Policy Reporter images
policy-reporter - policy-reporter-2.18.2

Published by fjogeleit over 1 year ago

Policy Reporter watches for PolicyReport Resources. It creates Prometheus Metrics and can send rule validation events to different targets like Loki, Elasticsearch, Slack or Discord

policy-reporter - policy-reporter-2.18.1

Published by fjogeleit over 1 year ago

  • Policy Reporter

    • New channel property for Slack targets to define the Slack channel to send the results too
    • New mountedSecret property to read target configs from a mounted secret [#282 by rromic]
    • AWS KMS support for S3 target with new properties bucketKeyEnabled, kmsKeyId and serverSideEncryption [#282 by rromic]
      • Mountet secret needs to be in json format with keys defined in kubernetes/secrets Values struct.
  • Monitoring

    • Add namespaceSelector to serviceMonitor values
policy-reporter - policy-reporter-2.18.0

Published by fjogeleit over 1 year ago

  • Policy Reporter
    • Improved logging configuration
      • Support JSON logging
      • Support log level
    • optional API access logging with api.logging set to true
    • New aggregation table for API performance improvements
    • Helm Ingress template
    • New Google Cloud Storage Target
      • Requires credentials as JSON String and the bucket name
      • Added in the helm values under target.gcs
    • Support for property metric labels in custom mode
      • Use the property: prefix in your customLabels list to define a property value as metric label
  • Policy Reporter KyvernoPlugin
    • Helm Ingress template
    • Improved logging configuration
      • Support JSON logging
      • Support log level
  • Policy Reporter UI
    • Improved logging configuration
      • Support JSON logging
      • Support log level
      • Proxy Logging
policy-reporter - policy-reporter-2.17.0

Published by fjogeleit over 1 year ago

2.17.0

  • Policy Reporter

    • Use metaclient to reduce informer memory usage
    • Use workerqueue to control concurrent processing of PolicyReports
    • Remove internal PolicyReport structures
    • Make sqlite volume configurable [#255 by monotek]
    • use defer to unlock when possible [#259 by eddycharly]
    • New value workers to define the amount of queue workers for PolicyReport resource processing, default 5
    • Support for global resource definition via the scope property in (Cluster)PolicyReports
  • Policy Reporter UI

    • New SSL configs for external clusters
      • skipTLS to disable SSL verification
      • certificate to configure a path to a custom CA for self signed URLs
    • New Helm values ui.volumes and ui.volumeMounts to add your custom CAs as mounts to the UI deployment.