Skip to content

Commit 26d6624

Browse files
Update Python SDK (#95)
1 parent b589c9d commit 26d6624

File tree

47 files changed

+757
-966
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+757
-966
lines changed

.openapi-generator/FILES

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,7 @@ docs/AdvisoryMendix.md
404404
docs/AdvisoryMetaData.md
405405
docs/AdvisoryMetasploitExploit.md
406406
docs/AdvisoryMetric.md
407+
docs/AdvisoryMetricScenario.md
407408
docs/AdvisoryMetricsOther.md
408409
docs/AdvisoryMicrosoftCVRF.md
409410
docs/AdvisoryMicrosoftKb.md
@@ -1702,6 +1703,7 @@ test/test_advisory_mendix.py
17021703
test/test_advisory_meta_data.py
17031704
test/test_advisory_metasploit_exploit.py
17041705
test/test_advisory_metric.py
1706+
test/test_advisory_metric_scenario.py
17051707
test/test_advisory_metrics_other.py
17061708
test/test_advisory_microsoft_cvrf.py
17071709
test/test_advisory_microsoft_kb.py
@@ -3007,6 +3009,7 @@ vulncheck_sdk/models/advisory_mendix.py
30073009
vulncheck_sdk/models/advisory_meta_data.py
30083010
vulncheck_sdk/models/advisory_metasploit_exploit.py
30093011
vulncheck_sdk/models/advisory_metric.py
3012+
vulncheck_sdk/models/advisory_metric_scenario.py
30103013
vulncheck_sdk/models/advisory_metrics_other.py
30113014
vulncheck_sdk/models/advisory_microsoft_cvrf.py
30123015
vulncheck_sdk/models/advisory_microsoft_kb.py

docs/AdvisoryMAffected.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@ Name | Type | Description | Notes
99
**cpes** | **List[str]** | | [optional]
1010
**default_status** | **str** | | [optional]
1111
**package_name** | **str** | | [optional]
12+
**package_url** | **str** | | [optional]
1213
**platforms** | **List[str]** | | [optional]
1314
**product** | **str** | | [optional]
14-
**repos** | **str** | | [optional]
15+
**repo** | **str** | | [optional]
1516
**vendor** | **str** | | [optional]
1617
**versions** | [**List[AdvisoryMVersion]**](AdvisoryMVersion.md) | | [optional]
1718

docs/AdvisoryMCvssV40.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@
55

66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
8-
**automatable** | **str** | | [optional]
9-
**recovery** | **str** | | [optional]
10-
**safety** | **str** | | [optional]
118
**attack_complexity** | **str** | | [optional]
129
**attack_requirements** | **str** | | [optional]
1310
**attack_vector** | **str** | | [optional]
11+
**automatable** | **str** | | [optional]
1412
**base_score** | **float** | | [optional]
1513
**base_severity** | **str** | | [optional]
1614
**privileges_required** | **str** | | [optional]
1715
**provider_urgency** | **str** | | [optional]
16+
**recovery** | **str** | | [optional]
17+
**safety** | **str** | | [optional]
1818
**sub_availability_impact** | **str** | | [optional]
1919
**sub_confidentiality_impact** | **str** | | [optional]
2020
**sub_integrity_impact** | **str** | | [optional]

docs/AdvisoryMetric.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
1111
**cvss_v4_0** | [**AdvisoryMCvssV40**](AdvisoryMCvssV40.md) | | [optional]
1212
**format** | **str** | | [optional]
1313
**other** | [**AdvisoryMetricsOther**](AdvisoryMetricsOther.md) | | [optional]
14+
**scenarios** | [**List[AdvisoryMetricScenario]**](AdvisoryMetricScenario.md) | | [optional]
1415

1516
## Example
1617

docs/AdvisoryMetricScenario.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# AdvisoryMetricScenario
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**lang** | **str** | | [optional]
9+
**value** | **str** | | [optional]
10+
11+
## Example
12+
13+
```python
14+
from vulncheck_sdk.models.advisory_metric_scenario import AdvisoryMetricScenario
15+
16+
# TODO update the JSON string below
17+
json = "{}"
18+
# create an instance of AdvisoryMetricScenario from a JSON string
19+
advisory_metric_scenario_instance = AdvisoryMetricScenario.from_json(json)
20+
# print the JSON string representation of the object
21+
print(AdvisoryMetricScenario.to_json())
22+
23+
# convert the object into a dict
24+
advisory_metric_scenario_dict = advisory_metric_scenario_instance.to_dict()
25+
# create an instance of AdvisoryMetricScenario from a dict
26+
advisory_metric_scenario_from_dict = AdvisoryMetricScenario.from_dict(advisory_metric_scenario_dict)
27+
```
28+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
29+
30+

docs/AdvisoryProduct.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
88
**name** | **str** | | [optional]
99
**product_id** | **str** | | [optional]
10-
**product_identification_helper** | **Dict[str, str]** | | [optional]
10+
**product_identification_helper** | **Dict[str, object]** | | [optional]
1111

1212
## Example
1313

docs/AdvisoryVDEAdvisory.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
8+
**csaf_json** | [**AdvisoryCSAF**](AdvisoryCSAF.md) | | [optional]
89
**cve** | **List[str]** | | [optional]
910
**cwe** | **List[str]** | | [optional]
1011
**date_added** | **str** | | [optional]

docs/IndicesApi.md

Lines changed: 30 additions & 100 deletions
Large diffs are not rendered by default.

openapi.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "vulncheck_sdk"
3-
version = "0.0.30"
3+
version = "0.0.31"
44
description = "VulnCheck API"
55
authors = [
66
{name = "VulnCheck API Support",email = "[email protected]"},

0 commit comments

Comments
 (0)