Show / Hide Table of Contents

Class VulnerabilityScan

A VulnerabilityScan is a description of a VulnerabilityScan.
To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies.

Inheritance
object
VulnerabilityScan
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.DblmService.Models
Assembly: OCI.DotNetSDK.Dblm.dll
Syntax
public class VulnerabilityScan

Properties

CompartmentId

Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type Description
string

The OCID of the compartment.

Remarks

Required

DefinedTags

Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type Description
Dictionary<string, Dictionary<string, object>>

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace": {"bar-key": "value"}}

DisplayName

Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type Description
string

A user-friendly name. It does not have to be unique, and it is changeable.

FreeformTags

Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type Description
Dictionary<string, string>

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

Id

Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type Description
string

The OCID of the VulnerabilityScan.

Remarks

Required

LifecycleState

Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public VulnerabilityScan.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type Description
VulnerabilityScan.LifecycleStateEnum?

The current state of the VulnerabilityScan.

Remarks

Required

SystemTags

Declaration
[JsonProperty(PropertyName = "systemTags")]
public Dictionary<string, Dictionary<string, object>> SystemTags { get; set; }
Property Value
Type Description
Dictionary<string, Dictionary<string, object>>

System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud": {"free-tier-retained": "true"}}

TimeCreated

Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type Description
DateTime?

The date and time the VulnerabilityScan was created, in the format defined by RFC 3339.
Example: 2016-08-25T21:10:29.600Z

Remarks

Required

TimeEnded

Declaration
[Required(ErrorMessage = "TimeEnded is required.")]
[JsonProperty(PropertyName = "timeEnded")]
public DateTime? TimeEnded { get; set; }
Property Value
Type Description
DateTime?

The date and time the VulnerabilityScan was updated, in the format defined by RFC 3339.
Example: 2016-08-25T21:10:29.600Z

Remarks

Required

VulnerabilityScanMessage

Declaration
[Required(ErrorMessage = "VulnerabilityScanMessage is required.")]
[JsonProperty(PropertyName = "vulnerabilityScanMessage")]
public string VulnerabilityScanMessage { get; set; }
Property Value
Type Description
string

The message of the vulnerability scan status.

Remarks

Required

VulnerabilityScanStatus

Declaration
[Required(ErrorMessage = "VulnerabilityScanStatus is required.")]
[JsonProperty(PropertyName = "vulnerabilityScanStatus")]
[JsonConverter(typeof(ResponseEnumConverter))]
public VulnerabilityScan.VulnerabilityScanStatusEnum? VulnerabilityScanStatus { get; set; }
Property Value
Type Description
VulnerabilityScan.VulnerabilityScanStatusEnum?

The status of the vulnerability scan.

Remarks

Required

VulnerabilityScanType

Declaration
[Required(ErrorMessage = "VulnerabilityScanType is required.")]
[JsonProperty(PropertyName = "vulnerabilityScanType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public VulnerabilityScan.VulnerabilityScanTypeEnum? VulnerabilityScanType { get; set; }
Property Value
Type Description
VulnerabilityScan.VulnerabilityScanTypeEnum?

Scan type is CVE, PATCH or IMAGE_PATCH

Remarks

Required

In this article
Back to top