ScanResult Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A vulnerability assessment scan result for a single rule.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Security.Models.ScanResultTypeConverter))]
public class ScanResult : Microsoft.Azure.PowerShell.Cmdlets.Security.Models.IScanResult, Microsoft.Azure.PowerShell.Cmdlets.Security.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Security.Models.ScanResultTypeConverter))>]
type ScanResult = class
interface IScanResult
interface IJsonSerializable
interface IProxyResourceAutoGenerated
interface IResourceAutoGenerated2
interface IValidates
Public Class ScanResult
Implements IScanResult, IValidates
- Inheritance
-
ScanResult
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| ScanResult() |
Creates an new ScanResult instance. |
Properties
| Name | Description |
|---|---|
| BaselineAdjustedResultResultsNotInBaseline |
Results that are not in the baseline. |
| BaselineAdjustedResultResultsOnlyInBaseline |
Results that are in the baseline. |
| BaselineAdjustedResultStatus |
The rule result status. |
| BaselineExpectedResult |
Expected results. |
| BaselineUpdatedTime |
Baseline update time (UTC). |
| Id |
Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" |
| IsTrimmed |
Indicates whether the results specified here are trimmed. |
| Name |
The name of the resource |
| QueryCheckColumnName |
Column names of expected result. |
| QueryCheckExpectedResult |
Expected result. |
| QueryCheckQuery |
The rule query. |
| QueryResult |
The results of the query that was run. |
| RemediationAutomated |
Is remediation automated. |
| RemediationDescription |
Remediation description. |
| RemediationPortalLink |
Optional link to remediate in Azure Portal. |
| RemediationScript |
Remediation script. |
| ResourceGroupName |
Gets the resource group name |
| RuleId |
The rule Id. |
| RuleMetadataBenchmarkReference |
The benchmark references. |
| RuleMetadataCategory |
The rule category. |
| RuleMetadataDescription |
The rule description. |
| RuleMetadataRationale |
The rule rationale. |
| RuleMetadataRuleId |
The rule Id. |
| RuleMetadataRuleType |
The rule type. |
| RuleMetadataSeverity |
The rule severity. |
| RuleMetadataTitle |
The rule title. |
| Status |
The rule result 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. |
| 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 ScanResult. |
| DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of ScanResult. |
| FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Security.Models.IScanResult. |
| FromJsonString(String) |
Creates a new instance of ScanResult, deserializing the content from a json string. |
| ToJson(JsonObject, SerializationMode) |
Serializes this instance of ScanResult into a JsonNode. |
| ToJsonString() |
Serializes this instance to a json string. |
| ToString() | |
| Validate(IEventListener) |
Validates that this object meets the validation criteria. |