45 Commits

Author SHA1 Message Date
CrazyMax
b2a19c457c move imageDefaults from watch to defaults in config root 2023-09-23 13:49:15 +02:00
CrazyMax
24bc0548e0 chore: use typed error and fix missing wraps 2023-09-16 11:47:53 +02:00
CrazyMax
1115234010 Add CLI to interact with Diun through gRPC (#382)
Add simple CLI to interact with Diun through gRPC
Create image and notif proto services
Compile and validate protos through a dedicated Dockerfile and bake target
Implement proto definitions
Move server as `serve` command
New commands `image` and `notif`
Refactor command line usage doc
Better CLI error handling
Tools build constraint to manage tools deps through go modules
Add upgrade notes

Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-05-26 18:18:10 +02:00
CrazyMax
0f17ed12c1 Add support for Healthchecks to monitor Diun watcher (#78) 2020-10-13 20:23:05 +00:00
CrazyMax
0d8ad64ce7 Allow to use --test-notif without providers and DB connection (#157 #150) 2020-08-20 00:52:54 +02:00
CrazyMax
1c114fe60e Enhanced config validation 2020-07-16 22:34:44 +02:00
CrazyMax
e5862e4efb Seek configuration file from default places 2020-07-16 22:27:12 +02:00
CrazyMax
484e7dbc7f Switch to gonfig 2020-07-16 22:16:55 +02:00
CrazyMax
44fb866c75 Enhanced Dockerfile 2020-07-10 20:46:44 +02:00
CrazyMax
473275ed49 Logging when configuration file or DIUN_ env vars not found (#107) 2020-06-23 01:42:03 +02:00
CrazyMax
c0e3f7e85f Automatically determine registry options based on image name (#103)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-06-22 00:19:59 +00:00
CrazyMax
8c03c235cc Use go module instead of local folder 2020-06-08 00:45:53 +02:00
CrazyMax
7bff860650 Bump v4 2020-06-07 22:04:31 +02:00
CrazyMax
349917e7e4 Configuration transposed into environment variables (#82)
Configuration file not required anymore
DIUN_DB env var renamed DIUN_DB_PATH
Only accept duration as timeout value (10 becomes 10s)
Add getting started doc
Enhanced documentation
Add note about test notifications (#79)
Improve configuration management
Fix telegram init
All fields in configuration now camelCased
Improve configuration validation
Update doc
Update FAQ

Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-06-07 19:58:49 +00:00
CrazyMax
a62658e266 Fix package version 2020-05-27 21:38:07 +02:00
CrazyMax
af23c5898c Remove "enable" setting for notifiers 2020-05-26 01:13:06 +02:00
CrazyMax
a6a231ac06 Remove support of multi Docker and Swarm providers 2020-05-25 23:20:30 +02:00
Marcelo Castagna
a10464ebd4 Add Amqp notification client (#63) 2020-05-25 17:27:12 +02:00
CrazyMax
5ca0230562 Move static to file provider (#71) 2020-05-25 14:08:12 +02:00
CrazyMax
ab56764464 Switch to kong command-line parser (#66)
* Update workflows

Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-05-08 19:30:56 +02:00
CrazyMax
08cd3d90b8 Add Rocket.Chat notifier (#44) 2020-03-01 17:09:22 +01:00
CrazyMax
f8d88e3893 Add Gotify notification client (#36)
Co-authored-by: Paul Götzinger <paul70079@gmail.com>
2020-02-17 22:39:43 +01:00
Dan Nixon
af36d86d82 Add Telegram as a notification destination (#30)
Allows notifications to be sent via a Telegram bot to a set of pre
defined chat IDs.

Messages are simple plain text with the bare minimum information.
2020-01-28 20:28:57 +01:00
CrazyMax
7a8b4677fc Add option to skip notification at the very first analysis of an image (#10) 2019-12-22 16:32:27 +01:00
CrazyMax
2a7901f15d Add Slack notifier (#8) 2019-12-17 23:40:03 +01:00
CrazyMax
3dd9d2656b Use map to declare Docker and Swarm providers 2019-12-14 17:29:26 +01:00
CrazyMax
722ea2d5e3 Reanme image provider to static 2019-12-14 15:48:37 +01:00
CrazyMax
629f98af4e Implement Swarm provider 2019-12-14 03:55:58 +01:00
CrazyMax
827703aa72 Move image validation and improve job execution 2019-12-14 02:42:37 +01:00
CrazyMax
0e393ee980 Fix Docker TLS config 2019-12-14 02:18:42 +01:00
CrazyMax
39459f42fc Add fields to load sensitive values from file (#7) 2019-12-14 01:19:26 +01:00
CrazyMax
32438dbb2e Implement Docker provider (#3) 2019-12-13 23:04:02 +01:00
CrazyMax
dcf6712152 Add Docker engines provider 2019-12-12 00:03:08 +01:00
CrazyMax
a2bfb6534e Integrate images into a providers layer 2019-12-11 22:30:35 +01:00
CrazyMax
7c2184bfa1 Seconds field optional for schedule 2019-12-10 14:57:01 +01:00
CrazyMax
098bba97e7 Remove --docker flag 2019-08-22 21:20:17 +02:00
CrazyMax
3013512af6 Allow to override database path through DIUN_DB env var 2019-08-22 21:19:24 +02:00
CrazyMax
8887f001b7 Fix registry options not setted 2019-08-18 18:18:38 +02:00
CrazyMax
63c90cdc15 Move Os and Arch filter to image 2019-06-30 23:14:49 +02:00
CrazyMax
889f595523 Review config file structure and improve worker pool 2019-06-28 17:07:20 +02:00
CrazyMax
4614a7568d Add worker pool to parallelize analyses 2019-06-09 19:43:48 +02:00
CrazyMax
00ed9d24e2 Add option to set the maximum number of tags to watch for an item if watch_repo is enabled 2019-06-08 19:42:19 +02:00
CrazyMax
5942e39b83 Allow overriding os and architecture when watching
Move insecure_tls and timeout options to registry option
Rename Bolt bucket
Change default schedule
Review registry client
2019-06-08 02:50:46 +02:00
CrazyMax
6cb9c6bb2c Increase default timeout 2019-06-04 23:20:46 +02:00
CrazyMax
8513d49cc9 Initial commit 2019-06-04 22:11:54 +02:00