# AlmaLinux & Rocky Linux Security Errata & CVE Scraper (`bifrost-data/almalinux-rockylinux-errata-scraper`) Actor

Extract official AlmaLinux (ALSA) & Rocky Linux (RLSA) Enterprise Linux 8/9/10 security advisories — including patched RPM NEVRAs, module streams, CVEs, CVSS v3 scores, CWEs, and upstream Red Hat RHSA mappings with zero API keys.

- **URL**: https://apify.com/bifrost-data/almalinux-rockylinux-errata-scraper.md
- **Developed by:** [SEOK HOON HONG](https://apify.com/bifrost-data) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.60 / 1,000 verified almalinux / rocky linux errata records

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## AlmaLinux & Rocky Linux Security Errata & CVE Scraper

> **10-Second Summary**: Unify **AlmaLinux (`ALSA`) and Rocky Linux (`RLSA`) Enterprise Linux 8, 9 & 10 security errata** into one **Excel, CSV, or JSON** compliance feed—complete with backported RPM NEVRAs, SHA-256 checksums, CVSS v3 scores, and upstream Red Hat `RHSA` mappings.
>
> - **Zero Memory Crashes or False Positives**: Streams 75 MB upstream feeds in 256 MB RAM and skips non-security bugfix advisories (`ALBA`/`RLBA`) at **$0.00**.
> - **Predictable Pay-Per-Event (`$2.00 / 1,000`)**: No API keys, proxies, or `updateinfo.xml` scraping required.

Extract unified, schema-verified **Enterprise Linux 8, 9, and 10 security advisories (`ALSA` & `RLSA`), backported CVE fixes, CVSS v3 scores, DNF module streams, patched RPM NEVRAs, and upstream Red Hat `RHSA` mappings** directly from the official **[AlmaLinux Errata](https://errata.almalinux.org)** and **[Rocky Linux Peridot Apollo](https://apollo.build.resf.org)** JSON APIs — with **zero API keys, zero HTML scraping, and zero proxy cost**.

Built for **SecOps & Vulnerability Management Teams**, **VEX / OpenSCAP / Container Fleet Scanners**, **FinTech & Cloud Compliance Auditors**, and **AI Remediation Agents**.

### Why Use This Enterprise Linux Errata & Backport Intelligence Scraper?

Following the end-of-life of CentOS Linux, **AlmaLinux** and **Rocky Linux** became the primary Enterprise Linux distributions across cloud fleets, Kubernetes nodes, and data centers. Standard NVD CPE scanners frequently generate dozens of false positives on Enterprise Linux hosts because both distributions **backport security fixes into stable package versions** without bumping upstream major versions, and Rocky Linux deprecated legacy `repodata/updateinfo.xml` in favor of its **Peridot Apollo REST API**.

This Actor normalizes both official upstream feeds into a single JSON Schema Draft-07 record format:

1. **Rocky Linux Peridot Apollo V3/V2 REST API (`apollo.build.resf.org/api/v3/advisories/`)**: Extracts `RLSA` advisories, CVSS v3 base scores & vectors, CWE identifiers, DNF `module_name:module_stream` attribution, and binary/source RPM SHA-256 checksums across Rocky Linux 8, 9, and 10 (`x86_64`, `aarch64`, `ppc64le`, `s390x`, `riscv64`).
2. **AlmaLinux Official `errata.full.json` Stream (`errata.almalinux.org/{8,9,10}/errata.full.json`)**: Streams official AlmaLinux Build System (ALBS) advisories (`ALSA`) in constant `O(1)` memory (`256 MB` container safe), capturing both RHEL-mirrored patches and AlmaLinux-native `ALSA-YYYY:Annn` advisories (`x86_64`, `x86_64_v2`, `aarch64`).
3. **Automatic Upstream Red Hat `RHSA` Cross-Reference**: Links each `ALSA` / `RLSA` bulletin to its corresponding `RHSA-YYYY:NNNNN` identifier so multi-OS fleets can reconcile RHEL, AlmaLinux, and Rocky Linux patch parity in one query.

### Key Output Fields

| Field | Type | Description |
| :--- | :--- | :--- |
| `advisory_id` | `string` | Canonical advisory identifier (`RLSA-2026:99174`, `ALSA-2026:99500`) |
| `distro` | `string` | `rockylinux` or `almalinux` |
| `el_major_versions` | `string[]` | Affected Enterprise Linux major lines (`"8"`, `"9"`, `"10"`) |
| `severity` & `severity_rank` | `string` / `integer` | `Critical` (4), `Important` (3), `Moderate` (2), `Low` (1), `None` (0) |
| `cve_ids` & `cves` | `string[]` / `object[]` | Fixed CVE IDs plus CVSS v3 scores, vectors, and CWEs |
| `upstream_rhsa_id` | `string \| null` | Mapped Red Hat `RHSA-YYYY:NNNNN` identifier for cross-fleet comparison |
| `package_names` | `string[]` | Deduplicated patched RPM package names (`kernel`, `openssl`, `nodejs`) |
| `module_streams` | `string[]` | DNF modularity streams (`nodejs:22`, `postgresql:16`, `virt:rhel`) |
| `architectures` | `string[]` | CPU architectures (`x86_64`, `x86_64_v2`, `aarch64`, `riscv64`, `s390x`) |
| `patched_packages` | `object[]` | Sample binary/source RPM NEVRAs and SHA-256 checksums |

### Transparent Pay-Per-Event Pricing & `$0` Fair-Billing Guarantee

- **Verified Enterprise Linux Errata (`verified-el-errata`)**: **$0.0020 per record** ($2.00 per 1,000 verified advisories).
- **Zero Charge (`$0`) Skips**:
  - Non-security bugfix (`ALBA` / `RLBA`) and enhancement (`ALEA` / `RLEA`) bulletins are automatically skipped at **$0** by default (`exclude_non_security: true`).
  - Duplicate advisories and rows filtered out by `severities`, `cve_ids`, `package_keywords`, `published_after`, or `min_cvss3_score` cost **$0**.

### Example Input: Critical & Important EL9 / EL10 Fleet Triage

```json
{
  "distributions": ["rockylinux", "almalinux"],
  "el_major_versions": ["9", "10"],
  "severities": ["Critical", "Important"],
  "package_keywords": ["kernel", "openssl", "openssh", "postgresql", "container"],
  "exclude_non_security": true,
  "include_patched_rpms": true,
  "sort_by": "published_desc",
  "max_items": 50
}
```

### Commercial Licensing & Non-PII Compliance

- **Data Sources**: Official [AlmaLinux Errata (`MIT` License)](https://github.com/AlmaLinux/errata_index) (`errata.almalinux.org`) and [Rocky Enterprise Software Foundation Peridot Apollo API](https://distro-tools.rocky.page/apollo/openapi/) (`apollo.build.resf.org`). Not affiliated with or endorsed by AlmaLinux OS Foundation, RESF, or Red Hat.
- **Privacy by Design**: Any maintainer/packager email strings embedded inside advisory descriptions are automatically redacted prior to storage.

### More Zero-Maintenance B2B Finance, Procurement & Security Tools by `bifrost-data`

| Actor | Business Use Case | Pricing |
| :--- | :--- | :--- |
| [ISO 20022 pain.001, pacs.008 & camt.053 JSON Bridge](https://apify.com/bifrost-data/iso20022-payment-statement-bridge) | Audit 2026 SEPA/Swiss SPS structured addresses, IBAN Mod-97 & convert MT940 to camt.053 | `$8.00 / 1k` |
| [BAI2 & OFX/QFX Bank Statement to JSON & camt.053 Bridge](https://apify.com/bifrost-data/bai2-ofx-bank-statement-bridge) | Reconcile US corporate BAI2 lockbox files (01-99) & OFX/QFX bank or card downloads | `$8.00 / 1k` |
| [cXML SAP Ariba & Coupa Order, ASN & Invoice JSON Bridge](https://apify.com/bifrost-data/cxml-ariba-coupa-procurement-bridge) | Convert SAP Ariba & Coupa cXML Purchase Orders, ASNs & Invoices to JSON or cXML XML | `$8.00 / 1k` |
| [SWIFT MT103 & MT202 to ISO 20022 CBPR+ pacs.008 Bridge](https://apify.com/bifrost-data/swift-mt103-cbpr-pacs008-wire-bridge) | Decode MT103 wire proofs, screen fake MT103 red flags, audit 32A/33B fees & emit pacs.008 | `$8.00 / 1k` |
| [Palo Alto PAN-OS, GlobalProtect & Cortex CVE Scraper](https://apify.com/bifrost-data/paloalto-panos-security-advisories-scraper) | Track PAN-OS CVSS v4/v3 scores, fixed hotfix releases, CISA KEV & Threat IDs | `$2.20 / 1k` |

# Actor input Schema

## `distributions` (type: `array`):

Select which RHEL-compatible distributions to query: 'almalinux' (official errata.almalinux.org JSON stream), 'rockylinux' (official Peridot Apollo REST API), or both.

## `el_major_versions` (type: `array`):

Target Enterprise Linux major versions: '10' (supported to 2035), '9' (supported to 2032), '8' (security maintenance to 2029).

## `severities` (type: `array`):

Filter by normalized advisory severity: 'Critical', 'Important', 'Moderate', 'Low'. Leave empty for all severities.

## `cve_ids` (type: `array`):

Filter advisories fixing specific CVE IDs (e.g., 'CVE-2026-32990', 'CVE-2024-6387'). Non-matching advisories are skipped at $0.

## `exact_advisories` (type: `array`):

Lookup specific advisories by ID (e.g., 'RLSA-2026:100991', 'ALSA-2026:99174', or upstream 'RHSA-2026:99174').

## `package_keywords` (type: `array`):

Case-insensitive filter against affected RPM package names, module streams, or advisory synopsis (e.g., 'kernel', 'openssl', 'openssh', 'postgresql', 'nodejs', 'httpd', 'container-tools').

## `published_after` (type: `string`):

ISO date threshold (e.g., '2026-01-01'). Advisories published earlier than this date are skipped at $0.

## `min_cvss3_score` (type: `string`):

Decimal threshold string (e.g., '7.5' or '9.0'). When provided, only advisories carrying a reported CVSS v3 score >= threshold are emitted.

## `exclude_non_security` (type: `boolean`):

Automatically skip non-security bugfix and enhancement errata at $0 charge so only Security Advisories (ALSA / RLSA) are billed.

## `include_patched_rpms` (type: `boolean`):

Attach up to 40 binary/source RPM package records (nevra, arch, module_stream, checksum) per advisory for VEX / SBOM backport verification.

## `sort_by` (type: `string`):

Sort verified errata records by newest publication date, highest severity tier, or advisory ID.

## `max_items` (type: `integer`):

Maximum number of verified AlmaLinux & Rocky Linux errata records to emit in this run.

## Actor input object example

```json
{
  "distributions": [
    "rockylinux",
    "almalinux"
  ],
  "el_major_versions": [
    "9",
    "10"
  ],
  "severities": [
    "Critical",
    "Important"
  ],
  "cve_ids": [],
  "exact_advisories": [],
  "package_keywords": [],
  "published_after": "",
  "min_cvss3_score": "",
  "exclude_non_security": true,
  "include_patched_rpms": true,
  "sort_by": "published_desc",
  "max_items": 25
}
```

# Actor output Schema

## `advisories` (type: `string`):

Schema-verified ALSA/RLSA advisories across EL8, EL9, and EL10 with CVE lists, CVSS v3 scores, patched RPM NEVRAs, module streams, and upstream RHSA cross-references.

## `runMetrics` (type: `string`):

Execution telemetry including streamed AlmaLinux & paginated Rocky Apollo advisories, non-security free skips, and Draft-07 validation rate.

# 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 = {
    "distributions": [
        "rockylinux",
        "almalinux"
    ],
    "el_major_versions": [
        "9",
        "10"
    ],
    "severities": [
        "Critical",
        "Important"
    ],
    "max_items": 25
};

// Run the Actor and wait for it to finish
const run = await client.actor("bifrost-data/almalinux-rockylinux-errata-scraper").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 = {
    "distributions": [
        "rockylinux",
        "almalinux",
    ],
    "el_major_versions": [
        "9",
        "10",
    ],
    "severities": [
        "Critical",
        "Important",
    ],
    "max_items": 25,
}

# Run the Actor and wait for it to finish
run = client.actor("bifrost-data/almalinux-rockylinux-errata-scraper").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 '{
  "distributions": [
    "rockylinux",
    "almalinux"
  ],
  "el_major_versions": [
    "9",
    "10"
  ],
  "severities": [
    "Critical",
    "Important"
  ],
  "max_items": 25
}' |
apify call bifrost-data/almalinux-rockylinux-errata-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,bifrost-data/almalinux-rockylinux-errata-scraper"
        }
    }
}
```

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/Peu4hDllGAzPpNS5x/builds/oyjodQj27K3q8unPB/openapi.json
