ServerVulnerabilityProperties Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. AdditionalData - com.
azure. resourcemanager. security. models. ServerVulnerabilityProperties
- com.
- com.
public final class ServerVulnerabilityProperties
extends AdditionalData
Additional context fields for server vulnerability assessment.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Assessed |
assessedResourceType()
Get the assessed |
| List<Cve> |
cve()
Get the cve property: List of CVEs. |
| Map<String,Cvss> |
cvss()
Get the cvss property: Dictionary from cvss version to cvss details object. |
|
static
Server |
fromJson(JsonReader jsonReader)
Reads an instance of Server |
| Boolean |
patchable()
Get the patchable property: Indicates whether a patch is available or not. |
|
Offset |
publishedTime()
Get the published |
| String |
threat()
Get the threat property: Threat name. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: Vulnerability Type. |
| void |
validate()
Validates the instance. |
|
List<Vendor |
vendorReferences()
Get the vendor |
Methods inherited from AdditionalData
Methods inherited from java.lang.Object
Method Details
assessedResourceType
public AssessedResourceType assessedResourceType()
Get the assessedResourceType property: Sub-assessment resource type.
Overrides:
ServerVulnerabilityProperties.assessedResourceType()Returns:
cve
public List<Cve> cve()
Get the cve property: List of CVEs.
Returns:
cvss
public Map<String,Cvss> cvss()
Get the cvss property: Dictionary from cvss version to cvss details object.
Returns:
fromJson
public static ServerVulnerabilityProperties fromJson(JsonReader jsonReader)
Reads an instance of ServerVulnerabilityProperties from the JsonReader.
Parameters:
Returns:
Throws:
patchable
public Boolean patchable()
Get the patchable property: Indicates whether a patch is available or not.
Returns:
publishedTime
public OffsetDateTime publishedTime()
Get the publishedTime property: Published time.
Returns:
threat
public String threat()
Get the threat property: Threat name.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ServerVulnerabilityProperties.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: Vulnerability Type. e.g: Vulnerability, Potential Vulnerability, Information Gathered.
Returns:
validate
public void validate()
Validates the instance.
Overrides:
ServerVulnerabilityProperties.validate()vendorReferences
public List<VendorReference> vendorReferences()
Get the vendorReferences property: The vendorReferences property.
Returns: