Show / Hide Table of Contents

Class ResourceVulnerability

CG vulnerability object

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

Properties

CvssScore

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

cvssScore of CVE

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"}}

Description

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

The description of the vulnerability

Remarks

Required

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"}Avoid entering confidential information.

Id

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

The cve id of the vulnerability

Remarks

Required

PackageDetails

Declaration
[JsonProperty(PropertyName = "packageDetails")]
public List<PackageDetail> PackageDetails { get; set; }
Property Value
Type Description
List<PackageDetail>

list for packages causing vulnerability

RiskLevel

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

The Risk Level

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. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system.
Example: {"orcl-cloud": {"free-tier-retained": "true"}}

TimeFirstDetected

Declaration
[JsonProperty(PropertyName = "timeFirstDetected")]
public DateTime? TimeFirstDetected { get; set; }
Property Value
Type Description
DateTime?

First detected time

TimeLastDetected

Declaration
[JsonProperty(PropertyName = "timeLastDetected")]
public DateTime? TimeLastDetected { get; set; }
Property Value
Type Description
DateTime?

First detected time

TimeLastModified

Declaration
[JsonProperty(PropertyName = "timeLastModified")]
public DateTime? TimeLastModified { get; set; }
Property Value
Type Description
DateTime?

Time the vulnerability was last modified

TimePublished

Declaration
[JsonProperty(PropertyName = "timePublished")]
public DateTime? TimePublished { get; set; }
Property Value
Type Description
DateTime?

Time the vulnerability was published

Url

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

URL of the CVE

In this article
Back to top