VaRule Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. VaRule
- com.
Implements
public final class VaRule
implements JsonSerializable<VaRule>
vulnerability assessment rule metadata details.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
List<Benchmark |
benchmarkReferences()
Get the benchmark |
| String |
category()
Get the category property: The rule category. |
| String |
description()
Get the description property: The rule description. |
|
static
Va |
fromJson(JsonReader jsonReader)
Reads an instance of Va |
|
Query |
queryCheck()
Get the query |
| String |
rationale()
Get the rationale property: The rule rationale. |
| String |
ruleId()
Get the rule |
|
Rule |
ruleType()
Get the rule |
|
Rule |
severity()
Get the severity property: The rule severity. |
| String |
title()
Get the title property: The rule title. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Method Details
benchmarkReferences
public List<BenchmarkReference> benchmarkReferences()
Get the benchmarkReferences property: The benchmark references.
Returns:
category
public String category()
Get the category property: The rule category.
Returns:
description
public String description()
Get the description property: The rule description.
Returns:
fromJson
public static VaRule fromJson(JsonReader jsonReader)
Reads an instance of VaRule from the JsonReader.
Parameters:
Returns:
Throws:
queryCheck
public QueryCheck queryCheck()
Get the queryCheck property: The rule query details.
Returns:
rationale
public String rationale()
Get the rationale property: The rule rationale.
Returns:
ruleId
public String ruleId()
Get the ruleId property: The rule Id.
Returns:
ruleType
public RuleType ruleType()
Get the ruleType property: The rule type.
Returns:
severity
public RuleSeverity severity()
Get the severity property: The rule severity.
Returns:
title
public String title()
Get the title property: The rule title.
Returns:
toJson
validate
public void validate()
Validates the instance.