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
3 changes: 3 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,7 @@ docs/AdvisoryMendix.md
docs/AdvisoryMetaData.md
docs/AdvisoryMetasploitExploit.md
docs/AdvisoryMetric.md
docs/AdvisoryMetricScenario.md
docs/AdvisoryMetricsOther.md
docs/AdvisoryMicrosoftCVRF.md
docs/AdvisoryMicrosoftKb.md
Expand Down Expand Up @@ -1702,6 +1703,7 @@ test/test_advisory_mendix.py
test/test_advisory_meta_data.py
test/test_advisory_metasploit_exploit.py
test/test_advisory_metric.py
test/test_advisory_metric_scenario.py
test/test_advisory_metrics_other.py
test/test_advisory_microsoft_cvrf.py
test/test_advisory_microsoft_kb.py
Expand Down Expand Up @@ -3007,6 +3009,7 @@ vulncheck_sdk/models/advisory_mendix.py
vulncheck_sdk/models/advisory_meta_data.py
vulncheck_sdk/models/advisory_metasploit_exploit.py
vulncheck_sdk/models/advisory_metric.py
vulncheck_sdk/models/advisory_metric_scenario.py
vulncheck_sdk/models/advisory_metrics_other.py
vulncheck_sdk/models/advisory_microsoft_cvrf.py
vulncheck_sdk/models/advisory_microsoft_kb.py
Expand Down
3 changes: 2 additions & 1 deletion docs/AdvisoryMAffected.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ Name | Type | Description | Notes
**cpes** | **List[str]** | | [optional]
**default_status** | **str** | | [optional]
**package_name** | **str** | | [optional]
**package_url** | **str** | | [optional]
**platforms** | **List[str]** | | [optional]
**product** | **str** | | [optional]
**repos** | **str** | | [optional]
**repo** | **str** | | [optional]
**vendor** | **str** | | [optional]
**versions** | [**List[AdvisoryMVersion]**](AdvisoryMVersion.md) | | [optional]

Expand Down
6 changes: 3 additions & 3 deletions docs/AdvisoryMCvssV40.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**automatable** | **str** | | [optional]
**recovery** | **str** | | [optional]
**safety** | **str** | | [optional]
**attack_complexity** | **str** | | [optional]
**attack_requirements** | **str** | | [optional]
**attack_vector** | **str** | | [optional]
**automatable** | **str** | | [optional]
**base_score** | **float** | | [optional]
**base_severity** | **str** | | [optional]
**privileges_required** | **str** | | [optional]
**provider_urgency** | **str** | | [optional]
**recovery** | **str** | | [optional]
**safety** | **str** | | [optional]
**sub_availability_impact** | **str** | | [optional]
**sub_confidentiality_impact** | **str** | | [optional]
**sub_integrity_impact** | **str** | | [optional]
Expand Down
1 change: 1 addition & 0 deletions docs/AdvisoryMetric.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Name | Type | Description | Notes
**cvss_v4_0** | [**AdvisoryMCvssV40**](AdvisoryMCvssV40.md) | | [optional]
**format** | **str** | | [optional]
**other** | [**AdvisoryMetricsOther**](AdvisoryMetricsOther.md) | | [optional]
**scenarios** | [**List[AdvisoryMetricScenario]**](AdvisoryMetricScenario.md) | | [optional]

## Example

Expand Down
30 changes: 30 additions & 0 deletions docs/AdvisoryMetricScenario.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# AdvisoryMetricScenario


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**lang** | **str** | | [optional]
**value** | **str** | | [optional]

## Example

```python
from vulncheck_sdk.models.advisory_metric_scenario import AdvisoryMetricScenario

# TODO update the JSON string below
json = "{}"
# create an instance of AdvisoryMetricScenario from a JSON string
advisory_metric_scenario_instance = AdvisoryMetricScenario.from_json(json)
# print the JSON string representation of the object
print(AdvisoryMetricScenario.to_json())

# convert the object into a dict
advisory_metric_scenario_dict = advisory_metric_scenario_instance.to_dict()
# create an instance of AdvisoryMetricScenario from a dict
advisory_metric_scenario_from_dict = AdvisoryMetricScenario.from_dict(advisory_metric_scenario_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


2 changes: 1 addition & 1 deletion docs/AdvisoryProduct.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **str** | | [optional]
**product_id** | **str** | | [optional]
**product_identification_helper** | **Dict[str, str]** | | [optional]
**product_identification_helper** | **Dict[str, object]** | | [optional]

## Example

Expand Down
1 change: 1 addition & 0 deletions docs/AdvisoryVDEAdvisory.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**csaf_json** | [**AdvisoryCSAF**](AdvisoryCSAF.md) | | [optional]
**cve** | **List[str]** | | [optional]
**cwe** | **List[str]** | | [optional]
**date_added** | **str** | | [optional]
Expand Down
130 changes: 30 additions & 100 deletions docs/IndicesApi.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion openapi.json

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.30"
version = "0.0.31"
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.30"
packageVersion: "0.0.31"
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.30"
VERSION = "0.0.31"
PYTHON_REQUIRES = ">= 3.9"
REQUIRES = [
"urllib3 >= 2.1.0, < 3.0.0",
Expand Down
3 changes: 2 additions & 1 deletion test/test_advisory_adp.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,12 @@ def make_instance(self, include_optional) -> AdvisoryADP:
],
default_status = '',
package_name = '',
package_url = '',
platforms = [
''
],
product = '',
repos = '',
repo = '',
vendor = '',
versions = [
vulncheck_sdk.models.advisory/m_version.advisory.MVersion(
Expand Down
16 changes: 11 additions & 5 deletions test/test_advisory_adp_container.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,12 @@ def make_instance(self, include_optional) -> AdvisoryADPContainer:
],
default_status = '',
package_name = '',
package_url = '',
platforms = [
''
],
product = '',
repos = '',
repo = '',
vendor = '',
versions = [
vulncheck_sdk.models.advisory/m_version.advisory.MVersion(
Expand Down Expand Up @@ -113,16 +114,16 @@ def make_instance(self, include_optional) -> AdvisoryADPContainer:
vector_string = '',
version = '', ),
cvss_v4_0 = vulncheck_sdk.models.advisory/m_cvss_v40.advisory.MCvssV40(
automatable = '',
recovery = '',
safety = '',
attack_complexity = '',
attack_requirements = '',
attack_vector = '',
automatable = '',
base_score = 1.337,
base_severity = '',
privileges_required = '',
provider_urgency = '',
recovery = '',
safety = '',
sub_availability_impact = '',
sub_confidentiality_impact = '',
sub_integrity_impact = '',
Expand All @@ -137,7 +138,12 @@ def make_instance(self, include_optional) -> AdvisoryADPContainer:
format = '',
other = vulncheck_sdk.models.advisory/metrics_other.advisory.MetricsOther(
content = vulncheck_sdk.models.content.content(),
type = '', ), )
type = '', ),
scenarios = [
vulncheck_sdk.models.advisory/metric_scenario.advisory.MetricScenario(
lang = '',
value = '', )
], )
],
problem_types = [
vulncheck_sdk.models.advisory/m_problem_types.advisory.MProblemTypes(
Expand Down
4 changes: 1 addition & 3 deletions test/test_advisory_csaf.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,7 @@ def make_instance(self, include_optional) -> AdvisoryCSAF:
product = vulncheck_sdk.models.advisory/product.advisory.Product(
name = '',
product_id = '',
product_identification_helper = {
'key' : ''
}, ),
product_identification_helper = { }, ),
relationships = [
vulncheck_sdk.models.advisory/csaf_relationship.advisory.CSAFRelationship(
category = '',
Expand Down
4 changes: 1 addition & 3 deletions test/test_advisory_csaf_relationship.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,7 @@ def make_instance(self, include_optional) -> AdvisoryCSAFRelationship:
full_product_name = vulncheck_sdk.models.advisory/product.advisory.Product(
name = '',
product_id = '',
product_identification_helper = {
'key' : ''
}, ),
product_identification_helper = { }, ),
product_reference = '',
relates_to_product_reference = ''
)
Expand Down
3 changes: 2 additions & 1 deletion test/test_advisory_m_affected.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,12 @@ def make_instance(self, include_optional) -> AdvisoryMAffected:
],
default_status = '',
package_name = '',
package_url = '',
platforms = [
''
],
product = '',
repos = '',
repo = '',
vendor = '',
versions = [
vulncheck_sdk.models.advisory/m_version.advisory.MVersion(
Expand Down
16 changes: 11 additions & 5 deletions test/test_advisory_m_cna.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,12 @@ def make_instance(self, include_optional) -> AdvisoryMCna:
],
default_status = '',
package_name = '',
package_url = '',
platforms = [
''
],
product = '',
repos = '',
repo = '',
vendor = '',
versions = [
vulncheck_sdk.models.advisory/m_version.advisory.MVersion(
Expand Down Expand Up @@ -138,16 +139,16 @@ def make_instance(self, include_optional) -> AdvisoryMCna:
vector_string = '',
version = '', ),
cvss_v4_0 = vulncheck_sdk.models.advisory/m_cvss_v40.advisory.MCvssV40(
automatable = '',
recovery = '',
safety = '',
attack_complexity = '',
attack_requirements = '',
attack_vector = '',
automatable = '',
base_score = 1.337,
base_severity = '',
privileges_required = '',
provider_urgency = '',
recovery = '',
safety = '',
sub_availability_impact = '',
sub_confidentiality_impact = '',
sub_integrity_impact = '',
Expand All @@ -162,7 +163,12 @@ def make_instance(self, include_optional) -> AdvisoryMCna:
format = '',
other = vulncheck_sdk.models.advisory/metrics_other.advisory.MetricsOther(
content = vulncheck_sdk.models.content.content(),
type = '', ), )
type = '', ),
scenarios = [
vulncheck_sdk.models.advisory/metric_scenario.advisory.MetricScenario(
lang = '',
value = '', )
], )
],
problem_types = [
vulncheck_sdk.models.advisory/m_problem_types.advisory.MProblemTypes(
Expand Down
32 changes: 22 additions & 10 deletions test/test_advisory_m_containers.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,12 @@ def make_instance(self, include_optional) -> AdvisoryMContainers:
],
default_status = '',
package_name = '',
package_url = '',
platforms = [
''
],
product = '',
repos = '',
repo = '',
vendor = '',
versions = [
vulncheck_sdk.models.advisory/m_version.advisory.MVersion(
Expand Down Expand Up @@ -110,16 +111,16 @@ def make_instance(self, include_optional) -> AdvisoryMContainers:
vector_string = '',
version = '', ),
cvss_v4_0 = vulncheck_sdk.models.advisory/m_cvss_v40.advisory.MCvssV40(
automatable = '',
recovery = '',
safety = '',
attack_complexity = '',
attack_requirements = '',
attack_vector = '',
automatable = '',
base_score = 1.337,
base_severity = '',
privileges_required = '',
provider_urgency = '',
recovery = '',
safety = '',
sub_availability_impact = '',
sub_confidentiality_impact = '',
sub_integrity_impact = '',
Expand All @@ -134,7 +135,12 @@ def make_instance(self, include_optional) -> AdvisoryMContainers:
format = '',
other = vulncheck_sdk.models.advisory/metrics_other.advisory.MetricsOther(
content = vulncheck_sdk.models.content.content(),
type = '', ), )
type = '', ),
scenarios = [
vulncheck_sdk.models.advisory/metric_scenario.advisory.MetricScenario(
lang = '',
value = '', )
], )
],
problem_types = [
vulncheck_sdk.models.advisory/m_problem_types.advisory.MProblemTypes()
Expand Down Expand Up @@ -162,11 +168,12 @@ def make_instance(self, include_optional) -> AdvisoryMContainers:
],
default_status = '',
package_name = '',
package_url = '',
platforms = [
''
],
product = '',
repos = '',
repo = '',
vendor = '',
versions = [
vulncheck_sdk.models.advisory/m_version.advisory.MVersion(
Expand Down Expand Up @@ -251,16 +258,16 @@ def make_instance(self, include_optional) -> AdvisoryMContainers:
vector_string = '',
version = '', ),
cvss_v4_0 = vulncheck_sdk.models.advisory/m_cvss_v40.advisory.MCvssV40(
automatable = '',
recovery = '',
safety = '',
attack_complexity = '',
attack_requirements = '',
attack_vector = '',
automatable = '',
base_score = 1.337,
base_severity = '',
privileges_required = '',
provider_urgency = '',
recovery = '',
safety = '',
sub_availability_impact = '',
sub_confidentiality_impact = '',
sub_integrity_impact = '',
Expand All @@ -275,7 +282,12 @@ def make_instance(self, include_optional) -> AdvisoryMContainers:
format = '',
other = vulncheck_sdk.models.advisory/metrics_other.advisory.MetricsOther(
content = vulncheck_sdk.models.content.content(),
type = '', ), )
type = '', ),
scenarios = [
vulncheck_sdk.models.advisory/metric_scenario.advisory.MetricScenario(
lang = '',
value = '', )
], )
],
problem_types = [
vulncheck_sdk.models.advisory/m_problem_types.advisory.MProblemTypes()
Expand Down
6 changes: 3 additions & 3 deletions test/test_advisory_m_cvss_v40.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,16 @@ def make_instance(self, include_optional) -> AdvisoryMCvssV40:
model = AdvisoryMCvssV40()
if include_optional:
return AdvisoryMCvssV40(
automatable = '',
recovery = '',
safety = '',
attack_complexity = '',
attack_requirements = '',
attack_vector = '',
automatable = '',
base_score = 1.337,
base_severity = '',
privileges_required = '',
provider_urgency = '',
recovery = '',
safety = '',
sub_availability_impact = '',
sub_confidentiality_impact = '',
sub_integrity_impact = '',
Expand Down
Loading