qonto / prometheus-rds-exporter

Prometheus exporter for AWS RDS
MIT License
62 stars 10 forks source link

Use Gotemplate to escape HTML characters #112

Closed vmercierfr closed 7 months ago

vmercierfr commented 7 months ago

Objective

Use Gotemplate to escape HTML characters

Why

Security audit (https://github.com/qonto/prometheus-rds-exporter/issues/108) reported HTML characters are not escaped.

How

Release plan

vmercierfr commented 7 months ago

sre

github-actions[bot] commented 7 months ago

Code Coverage

Package Line Rate Health
github.com/qonto/prometheus-rds-exporter/internal/app/cloudwatch 88%
github.com/qonto/prometheus-rds-exporter/internal/app/ec2 88%
github.com/qonto/prometheus-rds-exporter/internal/app/exporter 80%
github.com/qonto/prometheus-rds-exporter/internal/app/rds 80%
github.com/qonto/prometheus-rds-exporter/internal/app/servicequotas 51%
github.com/qonto/prometheus-rds-exporter/internal/app/unit 100%
Summary 81% (939 / 1157)

Minimum allowed line rate is 60%