Git Product home page Git Product logo

monitoring-mixins's Introduction

Monitoring Mixins

The monitoring-mixins is a collection of reusable and configurable Prometheus alerts, and Grafana dashboards.

Usage

Generate Prometheus rules/alerts for Prometheus and Kubernetes format, and Grafana dashboards

❯ make mixins APP=monitoring-mixins VERSION=0.7.0

Generate a mixin:

❯ make mixin APP=monitoring-mixins VERSION=0.7.0 MIXIN=kube-state-metrics-mixin

Mixins

Mixin Version
alertmanager-mixin https://github.com/prometheus/alertmanager.git - v0.27.0
alloy-mixin https://github.com/grafana/alloy.git - v1.0.0
apollo-server-mixin https://github.com/bfmatei/apollo-prometheus-exporter.git - v3.0.0
cert-manager-mixin https://gitlab.com/uneeq-oss/cert-manager-mixin.git - master
coredns-mixin https://github.com/povilasv/coredns-mixin.git - master
elasticsearch-mixin https://github.com/grafana/jsonnet-libs.git - master
fluxcd-mixin https://github.com/grafana/grafonnet-lib.git - master
https://github.com/grafana/jsonnet-libs.git - master
grafana-agent-flow-mixin https://github.com/grafana/agent.git - v0.40.4
grafana-mixin https://github.com/grafana/grafana.git - v10.4.2
istio-mixin https://github.com/grafana/jsonnet-libs.git - master
jaeger-mixin https://github.com/jaegertracing/jaeger - v1.57.0
kafka-mixin https://github.com/grafana/jsonnet-libs.git - master
kube-state-metrics-mixin https://github.com/kubernetes/kube-state-metrics.git - v2.12.0
kubernetes-mixin https://github.com/kubernetes-monitoring/kubernetes-mixin.git - master
linkerd-edge-mixin https://github.com/grafana/grafonnet-lib.git - master
https://github.com/grafana/jsonnet-libs.git - master
linkerd-stable-mixin https://github.com/grafana/grafonnet-lib.git - master
https://github.com/grafana/jsonnet-libs.git - master
loki-mixin https://github.com/grafana/grafonnet-lib.git - master
https://github.com/grafana/loki.git - v3.0.0
memcached-mixin https://github.com/grafana/jsonnet-libs.git - master
mimir-mixin https://github.com/grafana/mimir.git - mimir-2.9.0
minio-mixin https://github.com/grafana/jsonnet-libs.git - master
nginx-ingress-controller-mixin https://github.com/grafana/grafonnet-lib.git - master
https://github.com/grafana/jsonnet-libs.git - master
node-exporter-mixin https://github.com/prometheus/node_exporter.git - v1.8.0
osm-mixin https://github.com/grafana/grafonnet-lib.git - master
https://github.com/grafana/jsonnet-libs.git - master
phlare-mixin https://github.com/grafana/phlare.git - v0.6.1
postgres-mixin https://github.com/prometheus-community/postgres_exporter.git - v0.15.0
prometheus-mixin https://github.com/prometheus/prometheus.git - v2.51.2
prometheus-operator-mixin https://github.com/prometheus-operator/prometheus-operator.git - v0.73.2
promtail-mixin https://github.com/grafana/grafonnet-lib.git - master
https://github.com/grafana/loki.git - v3.0.0
https://github.com/grafana/loki.git - v3.0.0
pyroscope-mixin https://github.com/grafana/pyroscope.git - v1.5.0
rabbitmq-mixin https://github.com/grafana/jsonnet-libs.git - master
sealed-secrets-mixin https://github.com/bitnami-labs/sealed-secrets.git - v0.26.2
tempo-mixin https://github.com/grafana/tempo.git - v2.4.1
thanos-mixin https://github.com/thanos-io/thanos.git - v0.35.0

monitoring-mixins's People

Contributors

dependabot[bot] avatar mend-bolt-for-github[bot] avatar nlamirault avatar renovate-bot avatar renovate[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

monitoring-mixins's Issues

CVE-2023-37920 (Critical) detected in certifi-2021.10.8-py2.py3-none-any.whl

CVE-2023-37920 - Critical Severity Vulnerability

Vulnerable Library - certifi-2021.10.8-py2.py3-none-any.whl

Python package for providing Mozilla's CA Bundle.

Library home page: https://files.pythonhosted.org/packages/37/45/946c02767aabb873146011e665728b680884cd8fe70dde973c640e45b775/certifi-2021.10.8-py2.py3-none-any.whl

Dependency Hierarchy:

  • certifi-2021.10.8-py2.py3-none-any.whl (Vulnerable Library)

Found in HEAD commit: e77bb8d6539092c4edaa6d3f70c76f93dad2031a

Found in base branch: master

Vulnerability Details

Certifi is a curated collection of Root Certificates for validating the trustworthiness of SSL certificates while verifying the identity of TLS hosts. Certifi prior to version 2023.07.22 recognizes "e-Tugra" root certificates. e-Tugra's root certificates were subject to an investigation prompted by reporting of security issues in their systems. Certifi 2023.07.22 removes root certificates from "e-Tugra" from the root store.

Publish Date: 2023-07-25

URL: CVE-2023-37920

CVSS 3 Score Details (9.8)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: High
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-xqr8-7jwr-rhp7

Release Date: 2023-07-25

Fix Resolution: certifi - 2023.7.22


Step up your Open Source Security Game with Mend here

Action Required: Fix Renovate Configuration

There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.

Error type: Cannot find preset's package (github>whitesource/merge-confidence:beta)

Renovate Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Ignored or Blocked

These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.

Detected dependencies

dockerfile
.github/actions/mixins/Dockerfile
  • golang 1.22-alpine
  • alpine 3.18
github-actions
.github/workflows/mixins-archive.yml
  • actions/checkout v4.1.4@0ad4b8fadaa221de15dcec353f45205ec38ea70b
  • actions/setup-go v5
  • actions/upload-artifact v4.3.3
.github/workflows/mixins-build.yml
  • actions/checkout v4.1.4@0ad4b8fadaa221de15dcec353f45205ec38ea70b
  • actions/setup-go v5
.github/workflows/mixins-generate.yml
  • actions/checkout v4.1.4@0ad4b8fadaa221de15dcec353f45205ec38ea70b
  • peter-evans/create-pull-request v6.0.5
.github/workflows/prow-labels.yml
  • jpmcb/prow-github-actions v1.1.3
.github/workflows/prow-lgtm-merge.yml
  • jpmcb/prow-github-actions v1.1.3
.github/workflows/prow-lgtm-pull.yml
  • jpmcb/prow-github-actions v1.1.3
.github/workflows/prow.yml
  • jpmcb/prow-github-actions v1.1.3
.github/workflows/rebase.yml
  • actions/checkout v4.1.4@0ad4b8fadaa221de15dcec353f45205ec38ea70b
  • cirrus-actions/rebase 1.8
.github/workflows/release-drafter.yml
  • release-drafter/release-drafter v6
.github/workflows/renovate.yml
  • actions/checkout v4.1.4@0ad4b8fadaa221de15dcec353f45205ec38ea70b
  • peter-evans/create-pull-request v6
.github/workflows/size.yml
  • actions/checkout v4.1.4@0ad4b8fadaa221de15dcec353f45205ec38ea70b
  • actions-ecosystem/action-size v2
  • actions-ecosystem/action-remove-labels v1
  • actions-ecosystem/action-add-labels v1
jsonnet-bundler
incubator/etcd-mixin/jsonnetfile.json
  • github.com/etcd-io/etcd/contrib/mixin v3.5.13
mixins/alertmanager-mixin/jsonnetfile.json
  • github.com/prometheus/alertmanager/doc/alertmanager-mixin v0.27.0
mixins/alloy-mixin/grafana-alloy-mixin/jsonnetfile.json
  • github.com/grafana/alloy/operations/alloy-mixin v1.0.0
mixins/alloy-mixin/jsonnetfile.json
  • github.com/grafana/alloy/operations/alloy-mixin v1.0.0
mixins/apollo-server-mixin/jsonnetfile.json
  • github.com/bfmatei/apollo-prometheus-exporter/apollo-server-mixin v3.0.0
mixins/cert-manager-mixin/jsonnetfile.json
mixins/coredns-mixin/jsonnetfile.json
mixins/elasticsearch-mixin/jsonnetfile.json
mixins/fluxcd-mixin/jsonnetfile.json
mixins/grafana-agent-flow-mixin/jsonnetfile.json
  • github.com/grafana/agent/operations/agent-flow-mixin v0.40.4
mixins/grafana-mixin/jsonnetfile.json
  • github.com/grafana/grafana/grafana-mixin v10.4.2
mixins/istio-mixin/jsonnetfile.json
mixins/jaeger-mixin/jsonnetfile.json
  • github.com/jaegertracing/jaeger/monitoring/jaeger-mixin v1.57.0
mixins/kafka-mixin/jsonnetfile.json
mixins/kube-state-metrics-mixin/jsonnetfile.json
  • github.com/kubernetes/kube-state-metrics/jsonnet/kube-state-metrics-mixin v2.12.0
mixins/kubernetes-mixin/jsonnetfile.json
mixins/linkerd-edge-mixin/jsonnetfile.json
mixins/linkerd-stable-mixin/jsonnetfile.json
mixins/loki-mixin/jsonnetfile.json
  • github.com/grafana/loki/production/loki-mixin v3.0.0
mixins/memcached-mixin/jsonnetfile.json
mixins/mimir-mixin/jsonnetfile.json
  • github.com/grafana/mimir/operations/mimir-mixin mimir-2.9.0
mixins/minio-mixin/jsonnetfile.json
mixins/nginx-ingress-controller-mixin/jsonnetfile.json
mixins/node-exporter-mixin/jsonnetfile.json
  • github.com/prometheus/node_exporter/docs/node-mixin v1.8.0
mixins/osm-mixin/jsonnetfile.json
mixins/phlare-mixin/jsonnetfile.json
  • github.com/grafana/phlare/operations/phlare/jsonnet/phlare-mixin/phlare-mixin v0.6.1
mixins/postgres-mixin/jsonnetfile.json
  • github.com/prometheus-community/postgres_exporter/postgres_mixin v0.15.0
mixins/prometheus-mixin/jsonnetfile.json
  • github.com/prometheus/prometheus/documentation/prometheus-mixin v2.51.2
mixins/prometheus-operator-mixin/jsonnetfile.json
  • github.com/prometheus-operator/prometheus-operator/jsonnet/mixin v0.73.2
mixins/promtail-mixin/jsonnetfile.json
  • github.com/grafana/loki/production/loki-mixin v3.0.0
  • github.com/grafana/loki/production/promtail-mixin v3.0.0
mixins/pyroscope-mixin/jsonnetfile.json
  • github.com/grafana/pyroscope/operations/pyroscope/jsonnet/pyroscope-mixin/pyroscope-mixin v1.5.0
mixins/rabbitmq-mixin/jsonnetfile.json
mixins/sealed-secrets-mixin/jsonnetfile.json
  • github.com/bitnami-labs/sealed-secrets/contrib/prometheus-mixin v0.26.2
mixins/tempo-mixin/jsonnetfile.json
  • github.com/grafana/tempo/operations/tempo-mixin v2.4.1
mixins/thanos-mixin/jsonnetfile.json
  • github.com/thanos-io/thanos/mixin v0.35.0
pep621
pyproject.toml
  • poetry >=0.12
poetry
pyproject.toml
  • python ^3.8
  • requests ^2.25.1
  • coloredlogs ^15.0
  • black ^24.0.0

  • Check this box to trigger a request for Renovate to run again on this repository

CVE-2022-23491 (High) detected in certifi-2021.10.8-py2.py3-none-any.whl

CVE-2022-23491 - High Severity Vulnerability

Vulnerable Library - certifi-2021.10.8-py2.py3-none-any.whl

Python package for providing Mozilla's CA Bundle.

Library home page: https://files.pythonhosted.org/packages/37/45/946c02767aabb873146011e665728b680884cd8fe70dde973c640e45b775/certifi-2021.10.8-py2.py3-none-any.whl

Dependency Hierarchy:

  • certifi-2021.10.8-py2.py3-none-any.whl (Vulnerable Library)

Found in HEAD commit: e77bb8d6539092c4edaa6d3f70c76f93dad2031a

Found in base branch: master

Vulnerability Details

Certifi is a curated collection of Root Certificates for validating the trustworthiness of SSL certificates while verifying the identity of TLS hosts. Certifi 2022.12.07 removes root certificates from "TrustCor" from the root store. These are in the process of being removed from Mozilla's trust store. TrustCor's root certificates are being removed pursuant to an investigation prompted by media reporting that TrustCor's ownership also operated a business that produced spyware. Conclusions of Mozilla's investigation can be found in the linked google group discussion.

Publish Date: 2022-12-07

URL: CVE-2022-23491

CVSS 3 Score Details (7.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: High
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://www.cve.org/CVERecord?id=CVE-2022-23491

Release Date: 2022-12-07

Fix Resolution: 2022.12.7


Step up your Open Source Security Game with Mend here

CVE-2023-43804 (High) detected in urllib3-1.26.8-py2.py3-none-any.whl

CVE-2023-43804 - High Severity Vulnerability

Vulnerable Library - urllib3-1.26.8-py2.py3-none-any.whl

HTTP library with thread-safe connection pooling, file post, and more.

Library home page: https://files.pythonhosted.org/packages/4e/b8/f5a25b22e803f0578e668daa33ba3701bb37858ec80e08a150bd7d2cf1b1/urllib3-1.26.8-py2.py3-none-any.whl

Dependency Hierarchy:

  • urllib3-1.26.8-py2.py3-none-any.whl (Vulnerable Library)

Found in HEAD commit: e77bb8d6539092c4edaa6d3f70c76f93dad2031a

Found in base branch: master

Vulnerability Details

urllib3 is a user-friendly HTTP client library for Python. urllib3 doesn't treat the Cookie HTTP header special or provide any helpers for managing cookies over HTTP, that is the responsibility of the user. However, it is possible for a user to specify a Cookie header and unknowingly leak information via HTTP redirects to a different origin if that user doesn't disable redirects explicitly. This issue has been patched in urllib3 version 1.26.17 or 2.0.5.

Publish Date: 2023-10-04

URL: CVE-2023-43804

CVSS 3 Score Details (8.1)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: Low
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: High
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://www.cve.org/CVERecord?id=CVE-2023-43804

Release Date: 2023-10-04

Fix Resolution: 1.26.17


Step up your Open Source Security Game with Mend here

CVE-2023-45803 (Medium) detected in urllib3-1.26.8-py2.py3-none-any.whl

CVE-2023-45803 - Medium Severity Vulnerability

Vulnerable Library - urllib3-1.26.8-py2.py3-none-any.whl

HTTP library with thread-safe connection pooling, file post, and more.

Library home page: https://files.pythonhosted.org/packages/4e/b8/f5a25b22e803f0578e668daa33ba3701bb37858ec80e08a150bd7d2cf1b1/urllib3-1.26.8-py2.py3-none-any.whl

Dependency Hierarchy:

  • urllib3-1.26.8-py2.py3-none-any.whl (Vulnerable Library)

Found in HEAD commit: e77bb8d6539092c4edaa6d3f70c76f93dad2031a

Found in base branch: master

Vulnerability Details

urllib3 is a user-friendly HTTP client library for Python. urllib3 previously wouldn't remove the HTTP request body when an HTTP redirect response using status 301, 302, or 303 after the request had its method changed from one that could accept a request body (like POST) to GET as is required by HTTP RFCs. Although this behavior is not specified in the section for redirects, it can be inferred by piecing together information from different sections and we have observed the behavior in other major HTTP client implementations like curl and web browsers. Because the vulnerability requires a previously trusted service to become compromised in order to have an impact on confidentiality we believe the exploitability of this vulnerability is low. Additionally, many users aren't putting sensitive data in HTTP request bodies, if this is the case then this vulnerability isn't exploitable. Both of the following conditions must be true to be affected by this vulnerability: 1. Using urllib3 and submitting sensitive information in the HTTP request body (such as form data or JSON) and 2. The origin service is compromised and starts redirecting using 301, 302, or 303 to a malicious peer or the redirected-to service becomes compromised. This issue has been addressed in versions 1.26.18 and 2.0.7 and users are advised to update to resolve this issue. Users unable to update should disable redirects for services that aren't expecting to respond with redirects with redirects=False and disable automatic redirects with redirects=False and handle 301, 302, and 303 redirects manually by stripping the HTTP request body.

Publish Date: 2023-10-17

URL: CVE-2023-45803

CVSS 3 Score Details (4.2)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Adjacent
    • Attack Complexity: High
    • Privileges Required: High
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: None
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-g4mx-q9vg-27p4

Release Date: 2023-10-17

Fix Resolution: 1.26.18


Step up your Open Source Security Game with Mend here

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.