Class ContainerScanResultSummary
A summary of a result for a container scan
Inherited Members
Namespace: Oci.VulnerabilityscanningService.Models
Assembly: OCI.DotNetSDK.Vulnerabilityscanning.dll
Syntax
public class ContainerScanResultSummaryProperties
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }Property Value
| Type | Description | 
|---|---|
| string | The OCID of the container scan result's compartment. This is set to the same as the compartmentId of the container scan target | 
Remarks
Required
ContainerScanTargetId
Declaration
[JsonProperty(PropertyName = "containerScanTargetId")]
public string ContainerScanTargetId { get; set; }Property Value
| Type | Description | 
|---|---|
| string | The OCID of container scan target. Immutable and generated on creation. | 
HighestProblemSeverity
Declaration
[Required(ErrorMessage = "HighestProblemSeverity is required.")]
[JsonProperty(PropertyName = "highestProblemSeverity")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ScanResultProblemSeverity? HighestProblemSeverity { get; set; }Property Value
| Type | Description | 
|---|---|
| ScanResultProblemSeverity? | Highest problem severity in this report | 
Remarks
Required
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }Property Value
| Type | Description | 
|---|---|
| string | The OCID of container scan result. Immutable and generated on creation. | 
Remarks
Required
Image
Declaration
[Required(ErrorMessage = "Image is required.")]
[JsonProperty(PropertyName = "image")]
public string Image { get; set; }Property Value
| Type | Description | 
|---|---|
| string | Image name | 
Remarks
Required
ProblemCount
Declaration
[Required(ErrorMessage = "ProblemCount is required.")]
[JsonProperty(PropertyName = "problemCount")]
public int? ProblemCount { get; set; }Property Value
| Type | Description | 
|---|---|
| int? | Total number of problems found in this scan | 
Remarks
Required
Repository
Declaration
[Required(ErrorMessage = "Repository is required.")]
[JsonProperty(PropertyName = "repository")]
public string Repository { get; set; }Property Value
| Type | Description | 
|---|---|
| string | Repository in which the container image scanned is located | 
Remarks
Required
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