# Avis et Alertes CERT-FR Enrichis (`rosmax/certfr-advisories`) Actor

Collecte et enrichit les avis (AVI) et alertes (ALE) du CERT-FR (ANSSI) avec scores EPSS, statut CISA KEV et identifiants EUVD. Détection automatique des changements et révisions. Licence Ouverte 2.0.

- **URL**: https://apify.com/rosmax/certfr-advisories.md
- **Developed by:** [Maxime Rosito](https://apify.com/rosmax) (community)
- **Categories:** Developer tools, News, AI
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$2.50 / 1,000 avis cert-frs

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Avis et Alertes CERT-FR Enrichis

Acteur Apify pour collecter et enrichir les avis (AVI) et alertes (ALE) du CERT-FR (ANSSI) avec des données de risque d'exploitation et de vulnérabilités européennes.

### 🔍 Fonctionnalités

- **Source officielle** : Utilise l'API JSON officielle du CERT-FR (cert.ssi.gouv.fr)
- **Enrichissement automatique** : Chaque CVE est enrichie avec :
  - Score EPSS (Exploit Prediction Scoring System) de FIRST
  - Statut CISA KEV (Known Exploited Vulnerabilities)
  - Identifiant EUVD (EU Vulnerability Database d'ENISA)
- **Détection des changements** : Historique et suivi automatique des révisions d'avis
- **Filtres avancés** : Par date, éditeur/produit, score EPSS minimum, KEV uniquement
- **Modes de sortie** :
  - `all` : Tous les avis récupérés
  - `changes` : Uniquement les nouveaux avis et les avis modifiés

### 📊 Cas d'usage

- **RSSI et DSI** : Veille de cybersécurité sur les vulnérabilités françaises et européennes
- **Entités NIS2** : Conformité avec les exigences de veille sur les vulnérabilités
- **MSSP et ESN** : Surveillance multi-clients des avis officiels avec enrichissement
- **Collectivités** : Suivi des alertes ANSSI pour les infrastructures publiques

### ⚙️ Configuration

#### Paramètres principaux

- **Type d'advisory** : `avis`, `alerte` ou `both` (les deux)
- **Période** : Nombre de jours (`sinceDays`) ou plage de dates (`dateFrom`, `dateTo`)
- **Filtre éditeur/produit** : Mot-clé pour filtrer par nom d'éditeur ou de produit
- **Score EPSS minimum** : Filtrer les CVE à fort risque d'exploitation (0.0 à 1.0)
- **KEV uniquement** : Ne retourner que les avis contenant des CVE au catalogue CISA KEV
- **Mode de sortie** : `all` (tous) ou `changes` (changements uniquement)
- **Historique** : Nom du Key-Value Store et durée de rétention (7 jours par défaut)

#### Exemple de configuration

```json
{
  "advisoryType": "both",
  "sinceDays": 30,
  "vendorFilter": "Microsoft",
  "minEpss": 0.2,
  "kevOnly": false,
  "enableEnrichment": true,
  "outputMode": "changes",
  "historyStoreName": "certfr-history",
  "maxItems": 100
}
```

### 📤 Format de sortie

Chaque élément du dataset contient :

```json
{
  "id": "CERTFR-2024-AVI-0123",
  "type": "avis",
  "title": "Multiples vulnérabilités dans Microsoft Exchange Server",
  "publishedDate": "2024-03-15T10:00:00Z",
  "lastRevisionDate": "2024-03-20T14:30:00Z",
  "revisionCount": 2,
  "affectedProducts": [
    {
      "vendor": "Microsoft",
      "product": "Exchange Server",
      "version": "2019"
    }
  ],
  "cves": ["CVE-2024-12345", "CVE-2024-12346"],
  "risks": ["Exécution de code arbitraire", "Élévation de privilèges"],
  "severity": "critique",
  "sourceUrl": "https://www.cert.ssi.gouv.fr/avis/CERTFR-2024-AVI-0123/",
  "enrichment": {
    "CVE-2024-12345": {
      "epss": {
        "score": 0.85,
        "percentile": 0.95,
        "date": "2024-03-21"
      },
      "kev": {
        "listed": true,
        "dateAdded": "2024-03-16"
      },
      "euvd": {
        "id": "EUVD-2024-1234",
        "baseScore": 9.8,
        "baseSeverity": "CRITICAL"
      }
    }
  },
  "changeType": "modified",
  "previousValues": {
    "revisionCount": 1,
    "lastRevisionDate": "2024-03-15T10:00:00Z"
  },
  "changes": ["revisionCount", "lastRevisionDate"]
}
```

### 🔄 Détection des changements

L'acteur suit automatiquement les champs suivants pour détecter les modifications :

- `title` : Titre de l'avis
- `lastRevisionDate` : Date de dernière révision
- `revisionCount` : Nombre de révisions
- `cves` : Liste des CVE associées
- `affectedProducts` : Produits et éditeurs affectés

Lors d'une deuxième exécution avec la même configuration et sans changement en amont, le mode `changes` retourne 0 élément.

### 📜 Licence et attribution

- **Source CERT-FR** : Licence Ouverte 2.0 (usage commercial autorisé avec attribution)
- **Source EPSS** : FIRST (attribution demandée)
- **Source KEV** : CISA (domaine public, CC0)
- **Source EUVD** : ENISA (reproduction avec mention de la source)

Attribution recommandée :

```
Données issues du CERT-FR (ANSSI), enrichies avec EPSS (FIRST), KEV (CISA) et EUVD (ENISA)
```

### 🔗 Liens utiles

- [CERT-FR](https://www.cert.ssi.gouv.fr/)
- [FIRST EPSS](https://www.first.org/epss/)
- [CISA KEV Catalog](https://www.cisa.gov/known-exploited-vulnerabilities-catalog)
- [ENISA EUVD](https://euvd.enisa.europa.eu/)

***

### English Section

#### CERT-FR Advisories and Alerts (Enriched)

This Apify actor collects and enriches advisories (AVI) and alerts (ALE) from CERT-FR (French National Cybersecurity Agency - ANSSI) with exploitation risk data and European vulnerability information.

##### Features

- **Official source**: Uses the official CERT-FR JSON API
- **Automatic enrichment**: Each CVE is enriched with:
  - EPSS score (Exploit Prediction Scoring System) from FIRST
  - CISA KEV (Known Exploited Vulnerabilities) status
  - EUVD identifier (EU Vulnerability Database from ENISA)
- **Change detection**: Automatic history tracking and advisory revision monitoring
- **Advanced filters**: By date, vendor/product, minimum EPSS score, KEV-only
- **Output modes**: `all` (all advisories) or `changes` (new and modified only)

##### Use cases

- **CISOs and IT Directors**: Cybersecurity monitoring for French and European vulnerabilities
- **NIS2 entities**: Compliance with vulnerability monitoring requirements
- **MSSPs and IT service providers**: Multi-client monitoring of official advisories with enrichment
- **Public sector**: Tracking ANSSI alerts for public infrastructure

##### License and attribution

- **CERT-FR source**: Licence Ouverte 2.0 (commercial use allowed with attribution)
- **EPSS source**: FIRST (attribution requested)
- **KEV source**: CISA (public domain, CC0)
- **EUVD source**: ENISA (reproduction with source acknowledgment)

Recommended attribution:

```
Data from CERT-FR (ANSSI), enriched with EPSS (FIRST), KEV (CISA) and EUVD (ENISA)
```

# Actor input Schema

## `advisoryType` (type: `string`):

Type d'advisory à collecter : avis (AVI), alertes (ALE) ou les deux

## `sinceDays` (type: `integer`):

Récupérer les advisories publiés ou révisés dans les N derniers jours (0 = tous)

## `dateFrom` (type: `string`):

Date de début au format YYYY-MM-DD (optionnel, prioritaire sur sinceDays)

## `dateTo` (type: `string`):

Date de fin au format YYYY-MM-DD (optionnel)

## `vendorFilter` (type: `string`):

Mot-clé pour filtrer par nom d'éditeur ou de produit (insensible à la casse)

## `minEpss` (type: `number`):

Score EPSS minimum (0.0 à 1.0) pour filtrer les CVE à fort risque d'exploitation

## `kevOnly` (type: `boolean`):

Ne retourner que les advisories contenant au moins une CVE listée dans le catalogue CISA KEV

## `enableEnrichment` (type: `boolean`):

Enrichir chaque CVE avec les scores EPSS, le statut KEV et l'identifiant EUVD

## `outputMode` (type: `string`):

Mode de sortie : tous les éléments ou uniquement les changements (nouveaux, modifiés)

## `historyStoreName` (type: `string`):

Nom du Key-Value Store pour l'historique et la détection de changements

## `historyRetentionDays` (type: `integer`):

Nombre de jours de rétention de l'historique

## `maxItems` (type: `integer`):

Nombre maximum d'éléments à retourner (0 = illimité, appliqué équitablement entre les sources)

## Actor input object example

```json
{
  "advisoryType": "both",
  "sinceDays": 30,
  "minEpss": 0,
  "kevOnly": false,
  "enableEnrichment": true,
  "outputMode": "all",
  "historyStoreName": "certfr-history",
  "historyRetentionDays": 7,
  "maxItems": 0
}
```

# Actor output Schema

## `results` (type: `string`):

Jeu de données des avis et alertes CERT-FR collectés lors de ce run (un élément par avis).

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("rosmax/certfr-advisories").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("rosmax/certfr-advisories").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call rosmax/certfr-advisories --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,rosmax/certfr-advisories"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/zy2lUTU9Q0bRwAnVH/builds/TZi1A7NLagSxpSWbJ/openapi.json
