Class DetectConfiguration
A configuration to define the constraints when detecting vulnerable dependencies.
Inherited Members
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. An artifact with a CVSS V2 score below this value is not considered for patching. |
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. An artifact 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. An artifact with an ADM Severity below this value is not considered for patching. |
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 |