diff --git a/vulners/__init__.py b/vulners/__init__.py index 3195241..04e8b9a 100644 --- a/vulners/__init__.py +++ b/vulners/__init__.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -__version__ = "2.0.6" +__version__ = "2.0.8" import warnings from .vulners import VulnersApi, Vulners diff --git a/vulners/vulners.py b/vulners/vulners.py index a7d07c2..43bc6c9 100644 --- a/vulners/vulners.py +++ b/vulners/vulners.py @@ -587,6 +587,15 @@ def scanlist_report(self, limit=30, offset=0, filter=None, sort=''): ] ) + read_webhook = Endpoint( + method="get", + url="/api/v3/subscriptions/webhook", + params=[ + ("subscriptionid", String()), + ("newest_only", String(default="true")) + ] + ) + _Unset = object()