Class ContainerScanResultProblem
A problem found in a container scan
Inherited Members
Namespace: Oci.VulnerabilityscanningService.Models
Assembly: OCI.DotNetSDK.Vulnerabilityscanning.dll
Syntax
public class ContainerScanResultProblem
Properties
CveReference
Declaration
[JsonProperty(PropertyName = "cveReference")]
public string CveReference { get; set; }
Property Value
Type | Description |
---|---|
string | Reference to problem MITRE CVE ID |
Description
Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type | Description |
---|---|
string | Problem description |
Name
Declaration
[Required(ErrorMessage = "Name is required.")]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string | Name of the problem |
Remarks
Required
Severity
Declaration
[Required(ErrorMessage = "Severity is required.")]
[JsonProperty(PropertyName = "severity")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ScanResultProblemSeverity? Severity { get; set; }
Property Value
Type | Description |
---|---|
ScanResultProblemSeverity? | Problem severity |
Remarks
Required
State
Declaration
[JsonProperty(PropertyName = "state")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ScanResultVulnerabilityState? State { get; set; }
Property Value
Type | Description |
---|---|
ScanResultVulnerabilityState? | State of the vulnerability |
TimeFirstDetected
Declaration
[JsonProperty(PropertyName = "timeFirstDetected")]
public DateTime? TimeFirstDetected { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | Date of scan result that first reported the vulnerability |
TimeLastDetected
Declaration
[JsonProperty(PropertyName = "timeLastDetected")]
public DateTime? TimeLastDetected { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | Date of scan result that most recently reported the vulnerability |
VulnerablePackages
Declaration
[JsonProperty(PropertyName = "vulnerablePackages")]
public List<Package> VulnerablePackages { get; set; }
Property Value
Type | Description |
---|---|
List<Package> | Packages in which the problem is detected |