~cypheon/ecertmon

313149b7 — Johann Rudloff 3 years ago main
Return empty list instead of 0 in error case
b5c5bf81 — Johann Rudloff 3 years ago
Fix Prometheus metrics output formatting
c4125349 — Johann Rudloff 3 years 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 3 years ago
Use timeout for TLS connection
8ba2affd — Johann Rudloff 4 years ago
Add .plt file to .gitignore
88649f18 — Johann Rudloff 4 years ago
Fix format string for config path logging
8e319fc0 — Johann Rudloff 4 years ago
Reformat
98ccc5a1 — Johann Rudloff 4 years ago
Use foreach instead of map to make dialyzer happy
35cd6d34 — Johann Rudloff 4 years ago
Use application:set_env/3 instead of /2 for compatibility with OTP < 21
08c2ae1c — Johann Rudloff 4 years 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 4 years ago
Handle connection errors in scanner instead of crashing
6aeafd8d — Johann Rudloff 4 years 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 4 years ago
Do not crash metrics handler, when scanner process does not exist
7ba65e89 — Johann Rudloff 4 years ago
Add license
bbeef54b — Johann Rudloff 4 years ago
Add initial documentation
6debf379 — Johann Rudloff 4 years ago
Configure Sourcehut CI builds
a2787d09 — Johann Rudloff 4 years ago
Initial commit