Show / Hide Table of Contents

Class ApplicationDependency

An ApplicationDependency resource is used within the applicationDependencies of a CreateVulnerabilityAuditDetails resource to create a vulnerability audit. Each ApplicationDependency resource must provide either Package URL (purl) identifier or a Group Artifact Version (GAV) to identify the application dependency.

Inheritance
object
ApplicationDependency
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 ApplicationDependency

Properties

ApplicationDependencyNodeIds

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

List of application dependencies on which this application dependency depends, each identified by its nodeId.

Gav

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

Group Artifact Version (GAV) identifier (Group:Artifact:Version). Example: org.graalvm.nativeimage:svm:21.1.0."N/A" for non-maven artifacts.

NodeId

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

Unique identifier of an application dependency, for example nodeId1. The nodeId can be generated by assigning a unique id to each application dependency in the tree of application dependencies. Every node, even those who share the same GAV, should have a different nodeId. The preferred way of constructing a nodeId is to assign incremental integers during a breadth first or depth first search. A nodeId can be reused only it refers to the same subtree of application dependencies. (This is not equivalent to referring to the same GAV, that is, a GAV can have multiple transitive dependencies.)

Remarks

Required

Purl

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

Package URL identifier, e.g. pkg:maven/org.graalvm.nativeimage/svm@21.1.0

In this article
Back to top