{
  "openapi": "3.0.1",
  "info": {
    "title": "Vulnerability Alerts: CVE, CISA KEV, GitHub Advisory by Vendor",
    "description": "Watch vendors, products and packages (fortinet, microsoft exchange, npm:lodash) for new vulnerabilities. NVD CVEs, CISA KEV and GitHub advisories merged into one row per CVE with CVSS, EPSS, fixed versions and KEV due dates. Alerts on new items.",
    "version": "0.1",
    "x-build-id": "d4SlXHEmAXgMigre0"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/dottti~vulnerability-alerts-monitor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-dottti-vulnerability-alerts-monitor",
        "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/dottti~vulnerability-alerts-monitor/runs": {
      "post": {
        "operationId": "runs-sync-dottti-vulnerability-alerts-monitor",
        "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/dottti~vulnerability-alerts-monitor/run-sync": {
      "post": {
        "operationId": "run-sync-dottti-vulnerability-alerts-monitor",
        "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": {
          "watchlist": {
            "title": "Watchlist: vendors, products, packages or CVE ids",
            "type": "array",
            "description": "What you want alerts for. A vendor or product (fortinet, microsoft exchange, citrix netscaler, wordpress), a package as ecosystem:name (npm:lodash, pip:django, maven:org.apache.logging.log4j:log4j-core), or a CVE id (CVE-2024-3400). Words of a vendor/product term must all appear; a term with spaces is searched as a phrase. Empty = the default feed: every CISA KEV addition plus all critical CVEs in the window.",
            "items": {
              "type": "string"
            }
          },
          "daysBack": {
            "title": "Days back",
            "minimum": 1,
            "maximum": 365,
            "type": "integer",
            "description": "Return vulnerabilities published, or added to the CISA KEV catalog, in the last N days (1-365). Ignored when Since is set.",
            "default": 7
          },
          "since": {
            "title": "Since (date)",
            "type": "string",
            "description": "Start date as YYYY-MM-DD (at most one year back). Overrides Days back."
          },
          "severities": {
            "title": "Severities",
            "type": "array",
            "description": "Keep only these CVSS severities: CRITICAL, HIGH, MEDIUM, LOW. Empty = all for a watchlist; CRITICAL for the default feed. Known exploited (KEV) vulnerabilities with no CVSS score yet are kept.",
            "items": {
              "type": "string",
              "enum": [
                "CRITICAL",
                "HIGH",
                "MEDIUM",
                "LOW"
              ],
              "enumTitles": [
                "Critical",
                "High",
                "Medium",
                "Low"
              ]
            }
          },
          "minCvss": {
            "title": "Minimum CVSS score",
            "minimum": 0,
            "maximum": 10,
            "type": "number",
            "description": "Keep vulnerabilities with a CVSS base score of at least this (0-10), for example 7 for high and critical."
          },
          "onlyKev": {
            "title": "Only known exploited (CISA KEV)",
            "type": "boolean",
            "description": "Keep only vulnerabilities in the CISA Known Exploited Vulnerabilities catalog (attacks seen in the wild).",
            "default": false
          },
          "maxItems": {
            "title": "Max results",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Most vulnerabilities to return per run. Known exploited ones come first, then by CVSS score.",
            "default": 50
          },
          "onlyNew": {
            "title": "Only new (alerts)",
            "type": "boolean",
            "description": "Skip vulnerabilities this Actor already delivered in earlier runs with the same watchlist and filters. A CVE that is later added to the KEV catalog is delivered again. Use with a daily schedule and a Slack or email integration.",
            "default": false
          },
          "includeGithub": {
            "title": "Include GitHub Advisory Database",
            "type": "boolean",
            "description": "Read reviewed GitHub security advisories (open source packages; needed for npm:, pip: and other package terms). Adds GHSA ids and fixed package versions.",
            "default": true
          },
          "includeEpss": {
            "title": "Add EPSS scores",
            "type": "boolean",
            "description": "Add the EPSS score from FIRST: the estimated probability (0-1) that a CVE is exploited in the next 30 days, and its percentile.",
            "default": true
          },
          "nvdApiKey": {
            "title": "NVD API key (optional)",
            "type": "string",
            "description": "Your own free NVD API key. Without it the NVD allows 5 requests per 30 seconds, so long watchlists wait between terms; with it, 50. Stored encrypted."
          },
          "githubToken": {
            "title": "GitHub token (optional)",
            "type": "string",
            "description": "Your own GitHub personal access token (no scopes needed). Without it GitHub allows 60 requests an hour per IP address; with it, 5,000. Stored encrypted."
          },
          "maxRetries": {
            "title": "Max retries",
            "type": "integer",
            "description": "Retries per request on network errors, 429 and 5xx responses.",
            "default": 3
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}