{
  "openapi": "3.0.1",
  "info": {
    "title": "AlmaLinux & Rocky Linux Security Errata & CVE Scraper",
    "description": "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.",
    "version": "1.0",
    "x-build-id": "oyjodQj27K3q8unPB"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/bifrost-data~almalinux-rockylinux-errata-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-bifrost-data-almalinux-rockylinux-errata-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/bifrost-data~almalinux-rockylinux-errata-scraper/runs": {
      "post": {
        "operationId": "runs-sync-bifrost-data-almalinux-rockylinux-errata-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/bifrost-data~almalinux-rockylinux-errata-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-bifrost-data-almalinux-rockylinux-errata-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "distributions": {
            "title": "Target Enterprise Linux Distributions",
            "type": "array",
            "description": "Select which RHEL-compatible distributions to query: 'almalinux' (official errata.almalinux.org JSON stream), 'rockylinux' (official Peridot Apollo REST API), or both.",
            "default": [
              "rockylinux",
              "almalinux"
            ],
            "items": {
              "type": "string"
            }
          },
          "el_major_versions": {
            "title": "Enterprise Linux Major Versions (8, 9, 10)",
            "type": "array",
            "description": "Target Enterprise Linux major versions: '10' (supported to 2035), '9' (supported to 2032), '8' (security maintenance to 2029).",
            "default": [
              "9",
              "10"
            ],
            "items": {
              "type": "string"
            }
          },
          "severities": {
            "title": "Severity Filter (Optional)",
            "type": "array",
            "description": "Filter by normalized advisory severity: 'Critical', 'Important', 'Moderate', 'Low'. Leave empty for all severities.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "cve_ids": {
            "title": "CVE ID Filter (Optional)",
            "type": "array",
            "description": "Filter advisories fixing specific CVE IDs (e.g., 'CVE-2026-32990', 'CVE-2024-6387'). Non-matching advisories are skipped at $0.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "exact_advisories": {
            "title": "Exact Advisory IDs (ALSA / RLSA / RHSA, Optional)",
            "type": "array",
            "description": "Lookup specific advisories by ID (e.g., 'RLSA-2026:100991', 'ALSA-2026:99174', or upstream 'RHSA-2026:99174').",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "package_keywords": {
            "title": "Package / Component Keyword Filter (Optional)",
            "type": "array",
            "description": "Case-insensitive filter against affected RPM package names, module streams, or advisory synopsis (e.g., 'kernel', 'openssl', 'openssh', 'postgresql', 'nodejs', 'httpd', 'container-tools').",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "published_after": {
            "title": "Published / Issued On or After (YYYY-MM-DD, Optional)",
            "type": "string",
            "description": "ISO date threshold (e.g., '2026-01-01'). Advisories published earlier than this date are skipped at $0.",
            "default": ""
          },
          "min_cvss3_score": {
            "title": "Minimum CVSS v3 Base Score (0.0 - 10.0, Optional)",
            "type": "string",
            "description": "Decimal threshold string (e.g., '7.5' or '9.0'). When provided, only advisories carrying a reported CVSS v3 score >= threshold are emitted.",
            "default": ""
          },
          "exclude_non_security": {
            "title": "Exclude Bugfix (ALBA/RLBA) & Enhancement (ALEA/RLEA) Advisories ($0 Skip)",
            "type": "boolean",
            "description": "Automatically skip non-security bugfix and enhancement errata at $0 charge so only Security Advisories (ALSA / RLSA) are billed.",
            "default": true
          },
          "include_patched_rpms": {
            "title": "Include Sample Patched RPM NEVRA & Checksum List",
            "type": "boolean",
            "description": "Attach up to 40 binary/source RPM package records (nevra, arch, module_stream, checksum) per advisory for VEX / SBOM backport verification.",
            "default": true
          },
          "sort_by": {
            "title": "Sort Results By",
            "enum": [
              "published_desc",
              "severity_desc",
              "advisory_id_asc"
            ],
            "type": "string",
            "description": "Sort verified errata records by newest publication date, highest severity tier, or advisory ID.",
            "default": "published_desc"
          },
          "max_items": {
            "title": "Max Verified Errata Records",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Maximum number of verified AlmaLinux & Rocky Linux errata records to emit in this run.",
            "default": 50
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}