New command cpe:sync / Nouvelle commande : cpe:sync
#1575
dbarzin
announced in
Announcements
Replies: 1 comment 1 reply
-
|
Bonjour, Je viens de faire un test avec le résultat suivant : Ma base a été initialisée il y a plus d'un mois. Est-ce normal qu'aucune donnée n'est pu être ajoutée depuis sur le NVD ? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
🇬🇧 New command:
cpe:syncA new Artisan command
cpe:syncis now available.It synchronizes CPEs (Common Platform Enumeration) from the NVD (National Vulnerability Database) and populates the
cpe_vendors,cpe_products, andcpe_versionstables.Scheduling
The command is scheduled daily at 03:30 via Laravel’s scheduler.
➡️ If your Laravel scheduler is already configured (cron running
php artisan schedule:runevery minute), no action is required. Synchronization will happen automatically.Crontab example
If you have not yet configured Laravel’s scheduler, add the following line to your crontab (via
crontab -e):This runs the scheduler every minute, and Laravel will trigger the
cpe:synccommand automatically at 03:30.Configuration
Add the following parameters to your
.envfile:🇫🇷 Nouvelle commande :
cpe:syncUne nouvelle commande Artisan
cpe:syncest disponible.Elle permet de synchroniser automatiquement les CPE (Common Platform Enumeration) depuis la NVD (National Vulnerability Database) et d’alimenter les tables
cpe_vendors,cpe_productsetcpe_versions.Planification
La commande est planifiée tous les jours à 03:30 via le scheduler Laravel.
➡️ Si votre scheduler Laravel est déjà configuré (cron qui exécute
php artisan schedule:runchaque minute), vous n’avez rien à faire. La synchronisation se fera automatiquement.Exemple de crontab
Si vous n’avez pas encore configuré le scheduler Laravel, ajoutez la ligne suivante à votre crontab (via
crontab -e) :Cela exécutera le scheduler chaque minute, et Laravel déclenchera automatiquement la commande
cpe:syncà 03:30.Configuration
Ajoutez les paramètres suivants dans votre fichier
.env:Beta Was this translation helpful? Give feedback.
All reactions