{
  "openapi": "3.0.1",
  "info": {
    "title": "Debian Linux & Container CVE Security Tracker Scraper",
    "description": "Stream and audit official Debian Security Tracker CVE records across Trixie (Debian 13), Bookworm LTS (Debian 12), Bullseye, Forky & Sid — with backported +deb fix versions, urgency triage, no-DSA false-positive filtering, and Debian BTS links in 256 MB RAM.",
    "version": "1.0",
    "x-build-id": "kbf0nQo6OtEUfOaU5"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/bifrost-data~debian-security-tracker-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-bifrost-data-debian-security-tracker-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~debian-security-tracker-scraper/runs": {
      "post": {
        "operationId": "runs-sync-bifrost-data-debian-security-tracker-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~debian-security-tracker-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-bifrost-data-debian-security-tracker-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": {
          "packages": {
            "title": "Debian Source Packages to Audit (Optional)",
            "type": "array",
            "description": "Filter by Debian source packages common in Docker/OCI container base images (e.g., 'openssl', 'openssh', 'curl', 'systemd', 'zlib', 'nginx', 'glibc', 'python3.13', 'linux'). Leave empty to stream across all packages in the Debian archive.",
            "items": {
              "type": "string"
            }
          },
          "target_suites": {
            "title": "Target Debian Releases / Suites",
            "type": "array",
            "description": "Debian release codenames or aliases: 'trixie' (or 'stable', Debian 13), 'bookworm' (or 'oldstable'/'lts', Debian 12 LTS), 'bullseye' ('oldoldstable', Debian 11), 'forky' ('testing', Debian 14), 'sid' ('unstable').",
            "items": {
              "type": "string"
            }
          },
          "status_filter": {
            "title": "Vulnerability Fix Status Filter",
            "enum": [
              "all",
              "open_only",
              "resolved_only"
            ],
            "type": "string",
            "description": "Choose 'all' for complete audit history (both open unfixed and backported +deb fixes), 'open_only' for currently unpatched container risks, or 'resolved_only' for patched advisories.",
            "default": "all"
          },
          "urgencies": {
            "title": "Debian Urgency Filter",
            "type": "array",
            "description": "Filter by Debian Security Team urgency assessments: 'high', 'medium', 'low', 'not_yet_assigned', 'unimportant', 'end_of_life'. Leave empty for all urgencies.",
            "items": {
              "type": "string"
            }
          },
          "min_cve_year": {
            "title": "Minimum CVE Year (e.g. 2025 for Recent Advisories)",
            "minimum": 1999,
            "maximum": 2035,
            "type": "integer",
            "description": "Only return CVEs from this year onward (e.g., 2025 or 2026). Ignored automatically when exact CVE IDs are provided.",
            "default": 2024
          },
          "cve_ids": {
            "title": "Exact CVE IDs (Optional)",
            "type": "array",
            "description": "Look up exact CVE IDs across Debian packages (e.g., 'CVE-2024-6387', 'CVE-2023-45853'). Overrides Minimum CVE Year.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "keyword_query": {
            "title": "Description / Package Keyword Filter (Optional)",
            "type": "string",
            "description": "Case-insensitive keyword search inside CVE descriptions, package names, or Debian Security Team notes (e.g., 'buffer overflow', 'http2', 'privilege escalation').",
            "default": ""
          },
          "scope_filter": {
            "title": "Attack Scope Filter",
            "enum": [
              "all",
              "remote",
              "local"
            ],
            "type": "string",
            "description": "Filter by Debian tracker attack scope ('remote', 'local', or 'all').",
            "default": "all"
          },
          "exclude_unimportant": {
            "title": "Exclude 'Unimportant' & 'End-of-Life' Non-Issues",
            "type": "boolean",
            "description": "Skip CVEs assessed by the Debian Security Team as 'unimportant' (not affecting Debian binary builds in practice) or 'end-of-life' ($0 charge).",
            "default": true
          },
          "exclude_nodsa_ignored": {
            "title": "Exclude No-DSA Ignored / Postponed & Never-Affected ('0') Entries",
            "type": "boolean",
            "description": "Apply Debian's official stable-tracker false-positive rules: skip entries with fixed_version='0' (never affected) and open issues marked nodsa_reason='ignored' or 'postponed' ($0 charge).",
            "default": true
          },
          "include_temp_ids": {
            "title": "Include Provisional TEMP-* Identifiers",
            "type": "boolean",
            "description": "Include Debian provisional TEMP-* vulnerability IDs that do not yet have an assigned MITRE CVE number.",
            "default": false
          },
          "max_items": {
            "title": "Max Verified Security Records",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Maximum verified (source_package, CVE) records to emit in this run. Stream closes immediately once reached.",
            "default": 100
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}