Show / Hide Table of Contents

Class DetectConfiguration

A configuration to define the constraints when detecting vulnerable dependencies and recommending remediations.

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

Properties

Exclusions

Declaration
[JsonProperty(PropertyName = "exclusions")]
public List<string> Exclusions { get; set; }
Property Value
Type Description
List<string>

The list of dependencies to be ignored by the recommendation algorithm. The dependency pattern is matched against the 'group:artifact:version' or the purl of a dependency. An asterisk (*) at the end in the dependency pattern acts as a wildcard and matches zero or more characters.

MaxPermissibleCvssV2Score

Declaration
[JsonProperty(PropertyName = "maxPermissibleCvssV2Score")]
public float? MaxPermissibleCvssV2Score { get; set; }
Property Value
Type Description
float?

The maximum Common Vulnerability Scoring System Version 2 (CVSS V2) score. A vulnerability with a CVSS V2 score below this value is not considered for remediation.

MaxPermissibleCvssV3Score

Declaration
[JsonProperty(PropertyName = "maxPermissibleCvssV3Score")]
public float? MaxPermissibleCvssV3Score { get; set; }
Property Value
Type Description
float?

The maximum Common Vulnerability Scoring System Version 3 (CVSS V3) score. A vulnerability with a CVSS V3 score below this value is not considered for patching.

MaxPermissibleSeverity

Declaration
[JsonProperty(PropertyName = "maxPermissibleSeverity")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ConfigSeverity? MaxPermissibleSeverity { get; set; }
Property Value
Type Description
ConfigSeverity?

The maximum ADM Severity. A vulnerability with an severity below this value is not considered for remediation.

UpgradePolicy

Declaration
[JsonProperty(PropertyName = "upgradePolicy")]
[JsonConverter(typeof(ResponseEnumConverter))]
public DetectConfiguration.UpgradePolicyEnum? UpgradePolicy { get; set; }
Property Value
Type Description
DetectConfiguration.UpgradePolicyEnum?

The upgrade policy for recommendations. The Nearest upgrade policy upgrades a dependency to the oldest version that meets both of the following criteria: it is newer than the current version and it is not affected by a vulnerability.

In this article
Back to top