~cypheon/ecertmon

313149b7 — Johann Rudloff 6 months ago main
Return empty list instead of 0 in error case
b5c5bf81 — Johann Rudloff 6 months ago
Fix Prometheus metrics output formatting
c4125349 — Johann Rudloff 6 months ago
Allow a certain threshold of errors before reporting invalid cert

A `max_error_count` config entry can be provided, if fewer than that
amount of errors occur, the certificate validity will be reported as the
"old" value (before the first error. If more than `max_error_count`
errors occur in a row, validity is reported as `0` (before this commit,
that was the default behaviour after the first error).
b4a31be7 — Johann Rudloff 7 months ago
Use timeout for TLS connection
8ba2affd — Johann Rudloff 7 months ago
Add .plt file to .gitignore
88649f18 — Johann Rudloff 7 months ago
Fix format string for config path logging
8e319fc0 — Johann Rudloff 7 months ago
Reformat
98ccc5a1 — Johann Rudloff 7 months ago
Use foreach instead of map to make dialyzer happy
35cd6d34 — Johann Rudloff 7 months ago
Use application:set_env/3 instead of /2 for compatibility with OTP < 21
08c2ae1c — Johann Rudloff 7 months ago
Externalize configuration

Path to the configuration file is now passed via an environment
variable. This makes it possible to run the same release with different
configurations.
c3d1a0f4 — Johann Rudloff 7 months ago
Handle connection errors in scanner instead of crashing
6aeafd8d — Johann Rudloff 7 months ago
Start scanner processes supervised

Start the individual scanner processes as part of the app's supervision
tree, so they are restarted in case of a crash. Also increase the time
before the first scan a bit.
887e68db — Johann Rudloff 7 months ago
Do not crash metrics handler, when scanner process does not exist
7ba65e89 — Johann Rudloff 7 months ago
Add license
bbeef54b — Johann Rudloff 7 months ago
Add initial documentation
6debf379 — Johann Rudloff 7 months ago
Configure Sourcehut CI builds
a2787d09 — Johann Rudloff 7 months ago
Initial commit