Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/AdvisoryApacheKafka.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Name | Type | Description | Notes
**date_added** | **str** | | [optional]
**summary** | **str** | | [optional]
**title** | **str** | | [optional]
**updated_at** | **str** | | [optional]
**url** | **str** | | [optional]

## Example
Expand Down
2 changes: 2 additions & 0 deletions docs/AdvisoryDeltaAdvisory.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ Name | Type | Description | Notes
**cvss** | **str** | | [optional]
**date_added** | **str** | | [optional]
**description** | **str** | | [optional]
**id** | **str** | | [optional]
**link** | **str** | | [optional]
**recommended_action** | **str** | | [optional]
**title** | **str** | | [optional]
**updated_at** | **str** | | [optional]

## Example

Expand Down
1 change: 1 addition & 0 deletions docs/AdvisoryFileCloud.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Name | Type | Description | Notes
**fixed** | **str** | | [optional]
**summary** | **str** | | [optional]
**title** | **str** | | [optional]
**updated_at** | **str** | | [optional]
**url** | **str** | | [optional]

## Example
Expand Down
1 change: 1 addition & 0 deletions docs/AdvisoryOpenStack.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Name | Type | Description | Notes
**references** | **List[str]** | | [optional]
**summary** | **str** | | [optional]
**title** | **str** | | [optional]
**updated_at** | **str** | | [optional]
**url** | **str** | | [optional]

## Example
Expand Down
1 change: 1 addition & 0 deletions docs/AdvisoryPhoenixContactAdvisory.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Name | Type | Description | Notes
**cwe** | **List[str]** | | [optional]
**date_added** | **str** | | [optional]
**title** | **str** | | [optional]
**updated_at** | **str** | | [optional]
**url** | **str** | | [optional]
**vde** | **List[str]** | | [optional]

Expand Down
1 change: 1 addition & 0 deletions docs/AdvisoryZebra.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Name | Type | Description | Notes
**date_added** | **str** | | [optional]
**summary** | **str** | | [optional]
**title** | **str** | | [optional]
**updated_at** | **str** | | [optional]
**url** | **str** | | [optional]

## Example
Expand Down
2 changes: 1 addition & 1 deletion openapi.json

Large diffs are not rendered by default.

306 changes: 153 additions & 153 deletions poetry.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "vulncheck_sdk"
version = "0.0.38"
version = "0.0.39"
description = "VulnCheck API"
authors = [
{name = "VulnCheck API Support",email = "support@vulncheck.com"},
Expand Down
2 changes: 1 addition & 1 deletion python-generator-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ additionalProperties:
projectName: "vulncheck-sdk"
packageName: "vulncheck_sdk"
packageUrl: "https://github.com/vulncheck-oss/sdk-python/tree/main"
packageVersion: "0.0.38"
packageVersion: "0.0.39"
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools
NAME = "vulncheck-sdk"
VERSION = "0.0.38"
VERSION = "0.0.39"
PYTHON_REQUIRES = ">= 3.9"
REQUIRES = [
"aiohttp_retry >= 2.9.1",
Expand Down
1 change: 1 addition & 0 deletions test/aio/test_advisory_apache_kafka.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ def make_instance(self, include_optional) -> AdvisoryApacheKafka:
date_added = '',
summary = '',
title = '',
updated_at = '',
url = ''
)
else:
Expand Down
4 changes: 3 additions & 1 deletion test/aio/test_advisory_delta_advisory.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,11 @@ def make_instance(self, include_optional) -> AdvisoryDeltaAdvisory:
cvss = '',
date_added = '',
description = '',
id = '',
link = '',
recommended_action = '',
title = ''
title = '',
updated_at = ''
)
else:
return AdvisoryDeltaAdvisory(
Expand Down
1 change: 1 addition & 0 deletions test/aio/test_advisory_file_cloud.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ def make_instance(self, include_optional) -> AdvisoryFileCloud:
fixed = '',
summary = '',
title = '',
updated_at = '',
url = ''
)
else:
Expand Down
1 change: 1 addition & 0 deletions test/aio/test_advisory_open_stack.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ def make_instance(self, include_optional) -> AdvisoryOpenStack:
],
summary = '',
title = '',
updated_at = '',
url = ''
)
else:
Expand Down
1 change: 1 addition & 0 deletions test/aio/test_advisory_phoenix_contact_advisory.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ def make_instance(self, include_optional) -> AdvisoryPhoenixContactAdvisory:
],
date_added = '',
title = '',
updated_at = '',
url = '',
vde = [
''
Expand Down
1 change: 1 addition & 0 deletions test/aio/test_advisory_zebra.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ def make_instance(self, include_optional) -> AdvisoryZebra:
date_added = '',
summary = '',
title = '',
updated_at = '',
url = ''
)
else:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ def make_instance(self, include_optional) -> RenderResponseWithMetadataArrayAdvi
date_added = '',
summary = '',
title = '',
updated_at = '',
url = '', )
]
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,11 @@ def make_instance(self, include_optional) -> RenderResponseWithMetadataArrayAdvi
cvss = '',
date_added = '',
description = '',
id = '',
link = '',
recommended_action = '',
title = '', )
title = '',
updated_at = '', )
]
)
else:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ def make_instance(self, include_optional) -> RenderResponseWithMetadataArrayAdvi
fixed = '',
summary = '',
title = '',
updated_at = '',
url = '', )
]
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ def make_instance(self, include_optional) -> RenderResponseWithMetadataArrayAdvi
],
summary = '',
title = '',
updated_at = '',
url = '', )
]
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ def make_instance(self, include_optional) -> RenderResponseWithMetadataArrayAdvi
],
date_added = '',
title = '',
updated_at = '',
url = '',
vde = [
''
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ def make_instance(self, include_optional) -> RenderResponseWithMetadataArrayAdvi
date_added = '',
summary = '',
title = '',
updated_at = '',
url = '', )
]
)
Expand Down
1 change: 1 addition & 0 deletions test/blocking/test_advisory_apache_kafka.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ def make_instance(self, include_optional) -> AdvisoryApacheKafka:
date_added = '',
summary = '',
title = '',
updated_at = '',
url = ''
)
else:
Expand Down
4 changes: 3 additions & 1 deletion test/blocking/test_advisory_delta_advisory.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,11 @@ def make_instance(self, include_optional) -> AdvisoryDeltaAdvisory:
cvss = '',
date_added = '',
description = '',
id = '',
link = '',
recommended_action = '',
title = ''
title = '',
updated_at = ''
)
else:
return AdvisoryDeltaAdvisory(
Expand Down
1 change: 1 addition & 0 deletions test/blocking/test_advisory_file_cloud.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ def make_instance(self, include_optional) -> AdvisoryFileCloud:
fixed = '',
summary = '',
title = '',
updated_at = '',
url = ''
)
else:
Expand Down
1 change: 1 addition & 0 deletions test/blocking/test_advisory_open_stack.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ def make_instance(self, include_optional) -> AdvisoryOpenStack:
],
summary = '',
title = '',
updated_at = '',
url = ''
)
else:
Expand Down
1 change: 1 addition & 0 deletions test/blocking/test_advisory_phoenix_contact_advisory.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ def make_instance(self, include_optional) -> AdvisoryPhoenixContactAdvisory:
],
date_added = '',
title = '',
updated_at = '',
url = '',
vde = [
''
Expand Down
1 change: 1 addition & 0 deletions test/blocking/test_advisory_zebra.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ def make_instance(self, include_optional) -> AdvisoryZebra:
date_added = '',
summary = '',
title = '',
updated_at = '',
url = ''
)
else:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ def make_instance(self, include_optional) -> RenderResponseWithMetadataArrayAdvi
date_added = '',
summary = '',
title = '',
updated_at = '',
url = '', )
]
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,11 @@ def make_instance(self, include_optional) -> RenderResponseWithMetadataArrayAdvi
cvss = '',
date_added = '',
description = '',
id = '',
link = '',
recommended_action = '',
title = '', )
title = '',
updated_at = '', )
]
)
else:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ def make_instance(self, include_optional) -> RenderResponseWithMetadataArrayAdvi
fixed = '',
summary = '',
title = '',
updated_at = '',
url = '', )
]
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ def make_instance(self, include_optional) -> RenderResponseWithMetadataArrayAdvi
],
summary = '',
title = '',
updated_at = '',
url = '', )
]
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ def make_instance(self, include_optional) -> RenderResponseWithMetadataArrayAdvi
],
date_added = '',
title = '',
updated_at = '',
url = '',
vde = [
''
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ def make_instance(self, include_optional) -> RenderResponseWithMetadataArrayAdvi
date_added = '',
summary = '',
title = '',
updated_at = '',
url = '', )
]
)
Expand Down
2 changes: 1 addition & 1 deletion vulncheck_sdk/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
""" # noqa: E501


__version__ = "0.0.38"
__version__ = "0.0.39"

# Define package exports
__all__ = [
Expand Down
2 changes: 1 addition & 1 deletion vulncheck_sdk/aio/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
""" # noqa: E501


__version__ = "0.0.38"
__version__ = "0.0.39"

# Define package exports
__all__ = [
Expand Down
2 changes: 1 addition & 1 deletion vulncheck_sdk/aio/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def __init__(
self.default_headers[header_name] = header_value
self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'OpenAPI-Generator/0.0.38/python'
self.user_agent = 'OpenAPI-Generator/0.0.39/python'
self.client_side_validation = configuration.client_side_validation

async def __aenter__(self):
Expand Down
2 changes: 1 addition & 1 deletion vulncheck_sdk/aio/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ def to_debug_report(self) -> str:
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: 3.0\n"\
"SDK Package Version: 0.0.38".\
"SDK Package Version: 0.0.39".\
format(env=sys.platform, pyversion=sys.version)

def get_host_settings(self) -> List[HostSetting]:
Expand Down
4 changes: 3 additions & 1 deletion vulncheck_sdk/aio/models/advisory_apache_kafka.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ class AdvisoryApacheKafka(BaseModel):
date_added: Optional[StrictStr] = None
summary: Optional[StrictStr] = None
title: Optional[StrictStr] = None
updated_at: Optional[StrictStr] = None
url: Optional[StrictStr] = None
__properties: ClassVar[List[str]] = ["cve", "date_added", "summary", "title", "url"]
__properties: ClassVar[List[str]] = ["cve", "date_added", "summary", "title", "updated_at", "url"]

model_config = ConfigDict(
populate_by_name=True,
Expand Down Expand Up @@ -89,6 +90,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"date_added": obj.get("date_added"),
"summary": obj.get("summary"),
"title": obj.get("title"),
"updated_at": obj.get("updated_at"),
"url": obj.get("url")
})
return _obj
Expand Down
8 changes: 6 additions & 2 deletions vulncheck_sdk/aio/models/advisory_delta_advisory.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,12 @@ class AdvisoryDeltaAdvisory(BaseModel):
cvss: Optional[StrictStr] = None
date_added: Optional[StrictStr] = None
description: Optional[StrictStr] = None
id: Optional[StrictStr] = None
link: Optional[StrictStr] = None
recommended_action: Optional[StrictStr] = Field(default=None, alias="recommendedAction")
title: Optional[StrictStr] = None
__properties: ClassVar[List[str]] = ["affectedProducts", "cve", "cvss", "date_added", "description", "link", "recommendedAction", "title"]
updated_at: Optional[StrictStr] = None
__properties: ClassVar[List[str]] = ["affectedProducts", "cve", "cvss", "date_added", "description", "id", "link", "recommendedAction", "title", "updated_at"]

model_config = ConfigDict(
populate_by_name=True,
Expand Down Expand Up @@ -93,9 +95,11 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"cvss": obj.get("cvss"),
"date_added": obj.get("date_added"),
"description": obj.get("description"),
"id": obj.get("id"),
"link": obj.get("link"),
"recommendedAction": obj.get("recommendedAction"),
"title": obj.get("title")
"title": obj.get("title"),
"updated_at": obj.get("updated_at")
})
return _obj

Expand Down
4 changes: 3 additions & 1 deletion vulncheck_sdk/aio/models/advisory_file_cloud.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,9 @@ class AdvisoryFileCloud(BaseModel):
fixed: Optional[StrictStr] = None
summary: Optional[StrictStr] = None
title: Optional[StrictStr] = None
updated_at: Optional[StrictStr] = None
url: Optional[StrictStr] = None
__properties: ClassVar[List[str]] = ["affected", "cve", "date_added", "fixed", "summary", "title", "url"]
__properties: ClassVar[List[str]] = ["affected", "cve", "date_added", "fixed", "summary", "title", "updated_at", "url"]

model_config = ConfigDict(
populate_by_name=True,
Expand Down Expand Up @@ -93,6 +94,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"fixed": obj.get("fixed"),
"summary": obj.get("summary"),
"title": obj.get("title"),
"updated_at": obj.get("updated_at"),
"url": obj.get("url")
})
return _obj
Expand Down
Loading