Skip to content

Latest commit

 

History

History
43 lines (34 loc) · 2.42 KB

File metadata and controls

43 lines (34 loc) · 2.42 KB

HostingV1NodeJsVulnerabilityResource

Properties

Name Type Description Notes
package_name str Name of the affected npm package [optional]
installed_version str Version of the package currently installed [optional]
is_direct bool Whether the package is a direct dependency [optional]
is_patchable bool Whether the vulnerability can be auto-patched without a major version bump [optional]
fix_version str Version that fixes the vulnerability, if known [optional]
vulnerability_id str Unique vulnerability identifier (e.g. GHSA or CVE) [optional]
severity str Severity level of the vulnerability [optional]
title str Short human-readable title of the vulnerability [optional]
description str Detailed description of the vulnerability [optional]
cvss_score float CVSS base score (0.0-10.0) [optional]
cve str CVE identifier, if available [optional]
cwe str CWE identifier describing the weakness type [optional]
url str URL to the vulnerability advisory [optional]
published_at datetime Date the vulnerability was published, in ISO 8601 format [optional]
is_patching_in_progress bool Whether this vulnerability is included in a currently open patch pull request [optional]

Example

from hostinger_api.models.hosting_v1_node_js_vulnerability_resource import HostingV1NodeJsVulnerabilityResource

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

# convert the object into a dict
hosting_v1_node_js_vulnerability_resource_dict = hosting_v1_node_js_vulnerability_resource_instance.to_dict()
# create an instance of HostingV1NodeJsVulnerabilityResource from a dict
hosting_v1_node_js_vulnerability_resource_from_dict = HostingV1NodeJsVulnerabilityResource.from_dict(hosting_v1_node_js_vulnerability_resource_dict)

[Back to Model list] [Back to API list] [Back to README]