Skip to content

Keep your data fresh and your platform running

What you'll learn:

  • How the nightly synchronization keeps vulnerability data current, and how to trigger it by hand
  • Which package sources Repod indexes, and how to reach the internet through a proxy
  • How to schedule backups and decide how long logs and old packages are kept
  • How to get alerted by webhook or e-mail, and who receives what
  • How to protect the API against abuse with rate limits

Time: ~30 minutes
Prerequisites: You are signed in as admin and have set your policy (see Set your security policy)


A scanner is only as good as its data. A vulnerability database that is a week old tells you nothing about last night's CVE. This chapter covers the Paramètres cards that keep Repod's data current and tell you when something needs a human. They are all optional to change, but you should know what each one does before you rely on the platform.

Same rules as before: nothing applies until you click Sauvegarder in the bar at the bottom of the screen.


Step 1 — Check the nightly synchronization

Open Administration → Paramètres. The first two cards are about freshness.

The Synchronisation automatique and Bases de sécurité cards with six numbered settings

Figure 1 — Synchronization and security databases.

Setting Default What it does
1 Activer la sync automatique On Runs the nightly job. Turning it off stops the schedule only: the manual sync stays available
2 Heure de déclenchement 03:00 UTC When the job runs
3 Sync sécurité n/a Runs the same job right now
4 TTL cache KEV (CISA) 24 h How long the list of actively exploited vulnerabilities is reused before being downloaded again
5 TTL cache EPSS (FIRST.org) 24 h Same, for exploitation-probability scores
6 Double authentification obligatoire (admins) Off Forces every admin account to enable two-factor authentication, after a grace period (7 days by default, counted from each admin's next sign-in)

Each night the job refreshes the security sources you enabled (Step 2), updates the Grype vulnerability database, and refreshes the KEV and EPSS data. The blue box under the TTLs reminds you that ClamAV is different: its signatures are refreshed by its own daemon inside the container, independently of this schedule.

The next run is shown in your local time

In Figure 1 a 03:00 UTC schedule reads "Prochain déclenchement : 05:00". The time shown is not UTC (here it is UTC+2). Check the offset before concluding that the schedule is wrong.

Leave the schedule on. Lower the TTLs only if you want fresher scores at the cost of more network calls. On a server without internet access, raise them, so Repod does not keep trying to reach servers it cannot see.

Setting 6 is worth turning on once your own account has two-factor authentication enabled. It never locks anyone out immediately: an admin whose grace period has run out is sent to a dedicated page to activate two-factor authentication, and can then continue.


Step 2 — Choose your package sources

Scroll to Sources de paquets.

The package sources card: standard sources and security sources, each with a toggle

Figure 2 — The package sources.

  1. A family of sources. Sources are grouped by ecosystem: APT (Debian and Ubuntu), then RPM (RHEL family, Fedora, openSUSE), then APK where applicable.
  2. A source. One line per upstream repository, with its internal identifier below the name. A toggle enables or disables it.
  3. Sécurité (CVE). The padlock group holds the upstream security-fix feeds. These are what let Repod tell you that a patched version exists.
  4. Another family. The same layout repeats for each format.

Repod indexes the enabled sources so you can search them from Importer. A disabled source is skipped by the synchronization and by index searches. Everything is enabled by default for the formats of your installation: keep only what you actually serve, since each source adds to the nightly download.


Step 3 — Configure a proxy if you need one

If the server reaches the internet through a corporate proxy, nothing in the steps above works until you tell Repod. Scroll to Proxy HTTP/HTTPS.

The proxy card with three fields and a connectivity test button

Figure 3 — The proxy.

  1. Proxy HTTP. The proxy for plain HTTP connections, for example http://proxy.corp.lan:3128.
  2. Proxy HTTPS. The proxy for HTTPS connections. It is often the same address.
  3. Exceptions (NO_PROXY). Addresses that must not go through the proxy: localhost, internal services, your own domain.
  4. Tester la connectivité. Checks the result. The text next to it reads "Aucun proxy, accès direct à internet" while the fields are empty.

The grey values in the fields are examples, not saved settings. The proxy is used for vulnerability and signature updates, the KEV and EPSS data, Slack and Teams notifications, SSO sign-in and the import of remote packages. If your server has direct access, leave all three fields empty.


Step 4 — Schedule backups

Scroll to Sauvegarde planifiée.

The scheduled backup card: a switch, the number of archives kept and the time of day

Figure 4 — Scheduled backup.

  1. Activer la sauvegarde automatique. On by default on a new installation. In Figure 4 it is off, which is why the time field below it is greyed out.
  2. Archives conservées. Default 7. After every backup, automatic or manual, the oldest archives beyond this number are deleted.
  3. Heure de déclenchement. Default 04:30, in the server's time zone.

Each archive contains a dump of the PostgreSQL database and the repository data: the package pool, manifests, audit log, security data, settings and the GPG keyring. That is why an archive is large. Two protections run for you:

  • Disk space. Repod refuses to start a backup when the free space cannot hold it, and says so, rather than filling the disk.
  • Self-verification. Every archive is checked right after it is written. A backup that fails the check is reported as failed, never as a success.

An archive weighs several gigabytes

Multiply the size of one archive by Archives conservées before you decide how many to keep. Download the archives you care about from the Sauvegarde page and store them off the server: a backup kept on the machine that fails is not a backup.


Step 5 — Decide how long things are kept

Scroll to Rétention & nettoyage.

The retention card: three durations in days and a manual cleanup button

Figure 5 — Retention.

Setting Default What is removed
1 Rétention des logs d'audit 90 days Audit files older than this
2 Rétention des vieux paquets 30 days Outdated versions, replaced by a newer one
3 Rétention de l'historique de déploiement 90 days Finished deployment jobs. A running job is never touched
4 Lancer maintenant n/a Runs the cleanup immediately instead of waiting for the nightly run (02:00)

Outdated packages are moved to /repos/archive before they are deleted.

Do not shorten the audit retention without checking your obligations

The audit log is the record of who did what. It is the evidence regulations such as NIS2 expect you to keep. Ninety days is a starting point, not a recommendation: set it to what your compliance rules require.


Step 6 — Send a summary to a chat tool

Scroll to Notifications. This card is only about the summary sent after each security synchronization.

The webhook card: a switch, a URL with a test button and a minimum package count

Figure 6 — The webhook.

  1. Activer les notifications. Off by default. Sends a summary after each automatic sync.
  2. URL Webhook. An incoming-webhook address from Slack, Teams, Mattermost or Discord (use its Slack-compatible endpoint). Tester sends a test message.
  3. Seuil de notification. Default 1. A message is sent only if at least this many new packages were indexed.

Step 7 — Set up e-mail

Scroll to Notifications email (SMTP). In the figure, the server, account, sender and recipient are blurred.

The SMTP card: switch, server, port, account, sender, default recipients, STARTTLS and a test form

Figure 7 — The e-mail settings.

  1. Switch. Off by default. Enables e-mail alerts for CVE decisions, deadlines and reviews, in addition to the webhook.
  2. Serveur SMTP and Port. Your mail server. The default port is 587.
  3. Utilisateur SMTP and Mot de passe. The account used to send. The password is stored encrypted and is never shown again.
  4. Adresse expéditeur. The "From" address.
  5. Destinataires par défaut. Comma-separated. Used when no specific rule exists for an event (Step 8).
  6. Utiliser STARTTLS. On by default, and recommended.
  7. Tester la configuration. Sends a test message to the address you type, or to the default recipients if you leave it empty.

Always click Envoyer un test and check that the message arrives before you rely on it.


Step 8 — Decide who receives what

Right below the SMTP card, Règles de notification par événement decides the recipients for each type of event.

The notification rules: a master switch and one line per event with its recipients

Figure 8 — Notification rules.

  1. Activer. The master switch. It is off by default, and while it is off, no rule below sends anything, whatever channels and recipients you configured. If you set up e-mail and nothing arrives, look here first.
  2. An event. Each line is a kind of event, with its recipients shown as chips: a package waiting for review, a decision taken, an escalation, an expiring deadline, a patch that became available, a CVE assigned to someone.
  3. + Ajouter. Adds a recipient. Click the cross on a chip to remove it. The Actif switch on the right turns one event on or off.
  4. Fallback. An event with no rule falls back to the default recipients of the SMTP card.

A recipient can be fixed (a role, a group, a user, an address) or dynamic: "Assigné à", "Escaladé par" and "Décidé par" are resolved at the moment the alert is sent, from the decision it concerns. That is how the right person is told without you listing everyone.

The default rules already route reviews and deadlines to the admin and maintainer roles. For a first setup, switching the master on is usually all you need.


Step 9 — Set the rate limits

The last card of this chapter, Limites de débit (rate limiting), sits just below the security databases.

The rate limit card: one value for authentication and a grid of limits per role and kind of operation

Figure 9 — Rate limits.

  1. Authentification. Default 10 requests per minute, for sign-in, password reset, the container registry token and sign-up. It slows down password guessing.
  2. One row per role. Three columns: Upload, Lecture (read) and Écriture (write). Each value is a number and a period, such as 200/minute.
  3. Anonyme. Requests without a valid token get the lowest limits.
Role Upload Read Write
Administrateur 200 2000 500
Mainteneur 100 1000 200
Packager / CI-CD 30 300 30
Auditeur 5 500 5
Lecteur 5 200 5
Anonyme 5 60 5

All values are per minute. A change applies immediately, without restarting anything. A badly written value, such as abc, does not remove the limit: that cell falls back to its default.

Raise the CI/CD limit before it bites

A pipeline that publishes many packages in a burst runs into the Packager / CI-CD upload limit first, and sees HTTP 429 errors. If that is your case, raise that one cell rather than using an admin account.


Save and check

  1. Click Sauvegarder in the bottom bar.
  2. Reload the page and check that your values are still there.
  3. In Administration → Supervision, confirm that the platform is healthy (see Your first login).

What's next