ScanPropertiesV2 Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. ScanPropertiesV2
- com.
Implements
public final class ScanPropertiesV2
implements JsonSerializable<ScanPropertiesV2>
A vulnerability assessment scan record properties.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
database()
Get the database property: The database name. |
|
Offset |
endTime()
Get the end |
|
static
Scan |
fromJson(JsonReader jsonReader)
Reads an instance of Scan |
| Integer |
highSeverityFailedRulesCount()
Get the high |
| Boolean |
isBaselineApplied()
Get the is |
|
Offset |
lastScanTime()
Get the last |
| Integer |
lowSeverityFailedRulesCount()
Get the low |
| Integer |
mediumSeverityFailedRulesCount()
Get the medium |
| String |
server()
Get the server property: The server name. |
| String |
sqlVersion()
Get the sql |
|
Offset |
startTime()
Get the start |
|
Scan |
state()
Get the state property: The scan status. |
|
Json |
toJson(JsonWriter jsonWriter) |
| Integer |
totalFailedRulesCount()
Get the total |
| Integer |
totalPassedRulesCount()
Get the total |
| Integer |
totalRulesCount()
Get the total |
|
Scan |
triggerType()
Get the trigger |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Method Details
database
public String database()
Get the database property: The database name.
Returns:
endTime
public OffsetDateTime endTime()
Get the endTime property: Scan results are valid until end time (UTC).
Returns:
fromJson
public static ScanPropertiesV2 fromJson(JsonReader jsonReader)
Reads an instance of ScanPropertiesV2 from the JsonReader.
Parameters:
Returns:
Throws:
highSeverityFailedRulesCount
public Integer highSeverityFailedRulesCount()
Get the highSeverityFailedRulesCount property: The number of failed rules with high severity.
Returns:
isBaselineApplied
public Boolean isBaselineApplied()
Get the isBaselineApplied property: Baseline created for this database, and has one or more rules.
Returns:
lastScanTime
public OffsetDateTime lastScanTime()
Get the lastScanTime property: Last scan time.
Returns:
lowSeverityFailedRulesCount
public Integer lowSeverityFailedRulesCount()
Get the lowSeverityFailedRulesCount property: The number of failed rules with low severity.
Returns:
mediumSeverityFailedRulesCount
public Integer mediumSeverityFailedRulesCount()
Get the mediumSeverityFailedRulesCount property: The number of failed rules with medium severity.
Returns:
server
public String server()
Get the server property: The server name.
Returns:
sqlVersion
public String sqlVersion()
Get the sqlVersion property: The SQL version.
Returns:
startTime
public OffsetDateTime startTime()
Get the startTime property: The scan start time (UTC).
Returns:
state
public ScanState state()
Get the state property: The scan status.
Returns:
toJson
totalFailedRulesCount
public Integer totalFailedRulesCount()
Get the totalFailedRulesCount property: The number of total failed rules.
Returns:
totalPassedRulesCount
public Integer totalPassedRulesCount()
Get the totalPassedRulesCount property: The number of total passed rules.
Returns:
totalRulesCount
public Integer totalRulesCount()
Get the totalRulesCount property: The number of total rules assessed.
Returns:
triggerType
public ScanTriggerType triggerType()
Get the triggerType property: The scan trigger type.
Returns:
validate
public void validate()
Validates the instance.