Skip to content

Commit 6e14caa

Browse files
Update Python SDK (#43)
ci: Update python-sdk Co-authored-by: maddawik <[email protected]>
1 parent 4f60f2a commit 6e14caa

23 files changed

+13156
-12736
lines changed

.openapi-generator/FILES

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@ docs/AdvisoryEmersonAdvisory.md
199199
docs/AdvisoryEvent.md
200200
docs/AdvisoryExodusIntel.md
201201
docs/AdvisoryExploitDBExploitv2.md
202+
docs/AdvisoryExternalReferences.md
202203
docs/AdvisoryFSecure.md
203204
docs/AdvisoryFanuc.md
204205
docs/AdvisoryFastly.md
@@ -336,6 +337,7 @@ docs/AdvisoryMitel.md
336337
docs/AdvisoryMitreAttackTechnique.md
337338
docs/AdvisoryMitreCVEListV5.md
338339
docs/AdvisoryMitreCVEListV5Ref.md
340+
docs/AdvisoryMitreGroupCTI.md
339341
docs/AdvisoryMitsubishiElectricAdvisory.md
340342
docs/AdvisoryMongoDB.md
341343
docs/AdvisoryMoxaAdvisory.md
@@ -1305,6 +1307,7 @@ test/test_advisory_eol_release_data.py
13051307
test/test_advisory_event.py
13061308
test/test_advisory_exodus_intel.py
13071309
test/test_advisory_exploit_db_exploitv2.py
1310+
test/test_advisory_external_references.py
13081311
test/test_advisory_f_secure.py
13091312
test/test_advisory_fanuc.py
13101313
test/test_advisory_fastly.py
@@ -1440,6 +1443,7 @@ test/test_advisory_mitre_attack_group_no_id.py
14401443
test/test_advisory_mitre_attack_technique.py
14411444
test/test_advisory_mitre_cve_list_v5.py
14421445
test/test_advisory_mitre_cve_list_v5_ref.py
1446+
test/test_advisory_mitre_group_cti.py
14431447
test/test_advisory_mitsubishi_electric_advisory.py
14441448
test/test_advisory_mongo_db.py
14451449
test/test_advisory_moxa_advisory.py
@@ -2414,6 +2418,7 @@ vulncheck_sdk/models/advisory_eol_release_data.py
24142418
vulncheck_sdk/models/advisory_event.py
24152419
vulncheck_sdk/models/advisory_exodus_intel.py
24162420
vulncheck_sdk/models/advisory_exploit_db_exploitv2.py
2421+
vulncheck_sdk/models/advisory_external_references.py
24172422
vulncheck_sdk/models/advisory_f_secure.py
24182423
vulncheck_sdk/models/advisory_fanuc.py
24192424
vulncheck_sdk/models/advisory_fastly.py
@@ -2549,6 +2554,7 @@ vulncheck_sdk/models/advisory_mitre_attack_group_no_id.py
25492554
vulncheck_sdk/models/advisory_mitre_attack_technique.py
25502555
vulncheck_sdk/models/advisory_mitre_cve_list_v5.py
25512556
vulncheck_sdk/models/advisory_mitre_cve_list_v5_ref.py
2557+
vulncheck_sdk/models/advisory_mitre_group_cti.py
25522558
vulncheck_sdk/models/advisory_mitsubishi_electric_advisory.py
25532559
vulncheck_sdk/models/advisory_mongo_db.py
25542560
vulncheck_sdk/models/advisory_moxa_advisory.py

docs/AdvisoryExternalReferences.md

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

docs/AdvisoryMitreGroupCTI.md

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

docs/AdvisoryThreatActorWithExternalObjects.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,14 @@
55

66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
8+
**country** | **str** | | [optional]
89
**cve_references** | [**List[AdvisoryCVEReference]**](AdvisoryCVEReference.md) | | [optional]
910
**date_added** | **str** | | [optional]
1011
**malpedia_url** | **str** | | [optional]
1112
**misp_id** | **str** | | [optional]
1213
**misp_threat_actor** | [**AdvisoryMISPValueNoID**](AdvisoryMISPValueNoID.md) | | [optional]
1314
**mitre_attack_group** | [**AdvisoryMITREAttackGroupNoID**](AdvisoryMITREAttackGroupNoID.md) | | [optional]
15+
**mitre_group_cti** | [**AdvisoryMitreGroupCTI**](AdvisoryMitreGroupCTI.md) | | [optional]
1416
**mitre_id** | **str** | | [optional]
1517
**threat_actor_name** | **str** | | [optional]
1618
**tools** | [**List[AdvisoryTool]**](AdvisoryTool.md) | | [optional]

0 commit comments

Comments
 (0)