Class HostCisBenchmarkScanResult
A scan result of all CIS (Center for Internet Security) benchmark execution for this host
Inherited Members
Namespace: Oci.VulnerabilityscanningService.Models
Assembly: OCI.DotNetSDK.Vulnerabilityscanning.dll
Syntax
public class HostCisBenchmarkScanResult
Properties
CisBenchmarkScanIssuesCount
Declaration
[Required(ErrorMessage = "CisBenchmarkScanIssuesCount is required.")]
[JsonProperty(PropertyName = "cisBenchmarkScanIssuesCount")]
public int? CisBenchmarkScanIssuesCount { get; set; }
Property Value
Type | Description |
---|---|
int? | Total number of CIS (Center for Internet Security) benchmark issues found in this scan |
Remarks
Required
CisBenchmarkScanResultScores
Declaration
[Required(ErrorMessage = "CisBenchmarkScanResultScores is required.")]
[JsonProperty(PropertyName = "cisBenchmarkScanResultScores")]
public List<HostCisBenchmarkScanResultScore> CisBenchmarkScanResultScores { get; set; }
Property Value
Type | Description |
---|---|
List<HostCisBenchmarkScanResultScore> | A single CIS (Center for Internet Security) benchmark scan executed on a host. |
Remarks
Required
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | Compartment ID of the resource. This is set to the same as the compartment ID of the scan target |
Remarks
Required
DisplayName
Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | Name of the result |
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | Unique identifier of the scan |
Remarks
Required
InstanceId
Declaration
[Required(ErrorMessage = "InstanceId is required.")]
[JsonProperty(PropertyName = "instanceId")]
public string InstanceId { get; set; }
Property Value
Type | Description |
---|---|
string | Instance ID of the Compute Instance scanned |
Remarks
Required
LifecycleState
Declaration
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public LifecycleState? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
LifecycleState? | The current state of the result. |
TimeFinished
Declaration
[Required(ErrorMessage = "TimeFinished is required.")]
[JsonProperty(PropertyName = "timeFinished")]
public DateTime? TimeFinished { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | Date and time the scan was completed, as described in RFC 3339 |
Remarks
Required
TimeStarted
Declaration
[Required(ErrorMessage = "TimeStarted is required.")]
[JsonProperty(PropertyName = "timeStarted")]
public DateTime? TimeStarted { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | Date and time the scan was started, as described in RFC 3339 |
Remarks
Required