Taal

ScanV2 Class

Definition

A vulnerability assessment scan record.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Security.Models.ScanV2TypeConverter))]
public class ScanV2 : Microsoft.Azure.PowerShell.Cmdlets.Security.Models.IScanV2, Microsoft.Azure.PowerShell.Cmdlets.Security.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Security.Models.ScanV2TypeConverter))>]
type ScanV2 = class
    interface IScanV2
    interface IJsonSerializable
    interface IProxyResourceAutoGenerated
    interface IResourceAutoGenerated2
    interface IValidates
Public Class ScanV2
Implements IScanV2, IValidates
Inheritance
ScanV2
Attributes
Implements

Constructors

Name Description
ScanV2()

Creates an new ScanV2 instance.

Properties

Name Description
Database

The database name.

EndTime

Scan results are valid until end time (UTC).

HighSeverityFailedRulesCount

The number of failed rules with high severity.

Id

Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"

IsBaselineApplied

Baseline created for this database, and has one or more rules.

LastScanTime

Last scan time.

LowSeverityFailedRulesCount

The number of failed rules with low severity.

MediumSeverityFailedRulesCount

The number of failed rules with medium severity.

Name

The name of the resource

ResourceGroupName

Gets the resource group name

Server

The server name.

SqlVersion

The SQL version.

StartTime

The scan start time (UTC).

State

The scan status.

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

TotalFailedRulesCount

The number of total failed rules.

TotalPassedRulesCount

The number of total passed rules.

TotalRulesCount

The number of total rules assessed.

TriggerType

The scan trigger type.

Type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ScanV2.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ScanV2.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Security.Models.IScanV2.

FromJsonString(String)

Creates a new instance of ScanV2, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of ScanV2 into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to