ApplicationDependencyVulnerabilitySummary¶
-
class
oci.adm.models.
ApplicationDependencyVulnerabilitySummary
(**kwargs)¶ Bases:
object
An application dependency Vulnerability represents a single dependency in the application. An application dependency Vulnerability can be associated with eventual Vulnerabilities. Each application dependency is uniquely defined by a nodeId and lists eventual dependencies on which it depends.
Methods
__init__
(**kwargs)Initializes a new ApplicationDependencyVulnerabilitySummary object with values from keyword arguments. Attributes
application_dependency_node_ids
[Required] Gets the application_dependency_node_ids of this ApplicationDependencyVulnerabilitySummary. gav
[Required] Gets the gav of this ApplicationDependencyVulnerabilitySummary. is_found_in_knowledge_base
[Required] Gets the is_found_in_knowledge_base of this ApplicationDependencyVulnerabilitySummary. node_id
[Required] Gets the node_id of this ApplicationDependencyVulnerabilitySummary. purl
Gets the purl of this ApplicationDependencyVulnerabilitySummary. vulnerabilities
[Required] Gets the vulnerabilities of this ApplicationDependencyVulnerabilitySummary. warnings
Gets the warnings of this ApplicationDependencyVulnerabilitySummary. -
__init__
(**kwargs)¶ Initializes a new ApplicationDependencyVulnerabilitySummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - gav (str) – The value to assign to the gav property of this ApplicationDependencyVulnerabilitySummary.
- purl (str) – The value to assign to the purl property of this ApplicationDependencyVulnerabilitySummary.
- node_id (str) – The value to assign to the node_id property of this ApplicationDependencyVulnerabilitySummary.
- application_dependency_node_ids (list[str]) – The value to assign to the application_dependency_node_ids property of this ApplicationDependencyVulnerabilitySummary.
- vulnerabilities (list[oci.adm.models.Vulnerability]) – The value to assign to the vulnerabilities property of this ApplicationDependencyVulnerabilitySummary.
- is_found_in_knowledge_base (bool) – The value to assign to the is_found_in_knowledge_base property of this ApplicationDependencyVulnerabilitySummary.
- warnings (list[str]) – The value to assign to the warnings property of this ApplicationDependencyVulnerabilitySummary.
-
application_dependency_node_ids
¶ [Required] Gets the application_dependency_node_ids of this ApplicationDependencyVulnerabilitySummary. List of application dependencies on which this application dependency depends, each identified by its nodeId.
Returns: The application_dependency_node_ids of this ApplicationDependencyVulnerabilitySummary. Return type: list[str]
-
gav
¶ [Required] Gets the gav of this ApplicationDependencyVulnerabilitySummary. Group Artifact Version (GAV) identifier (Group:Artifact:Version). Example: org.graalvm.nativeimage:svm:21.1.0. “N/A” for non-maven artifacts.
Returns: The gav of this ApplicationDependencyVulnerabilitySummary. Return type: str
-
is_found_in_knowledge_base
¶ [Required] Gets the is_found_in_knowledge_base of this ApplicationDependencyVulnerabilitySummary. Indicates if the artifact is found in the knowledge base, this field is deprecated and will be removed in the future.
Returns: The is_found_in_knowledge_base of this ApplicationDependencyVulnerabilitySummary. Return type: bool
-
node_id
¶ [Required] Gets the node_id of this ApplicationDependencyVulnerabilitySummary. Unique identifier of an application dependency, for example nodeId1.
Returns: The node_id of this ApplicationDependencyVulnerabilitySummary. Return type: str
-
purl
¶ Gets the purl of this ApplicationDependencyVulnerabilitySummary. Package URL identifier, e.g. pkg:maven/org.graalvm.nativeimage/svm@21.1.0
Returns: The purl of this ApplicationDependencyVulnerabilitySummary. Return type: str
-
vulnerabilities
¶ [Required] Gets the vulnerabilities of this ApplicationDependencyVulnerabilitySummary. List of vulnerabilities for the application dependency.
Returns: The vulnerabilities of this ApplicationDependencyVulnerabilitySummary. Return type: list[oci.adm.models.Vulnerability]
-
warnings
¶ Gets the warnings of this ApplicationDependencyVulnerabilitySummary. Potential issues in the artifact identifiers (purls) provided by the user, that the user is alerted about. ADM supports the following warnings: - MISSING_VERSION: Missing version - INCORRECT_FORMAT_VERSION: Version can not be parsed according to the ecosystem - UNKNOWN_ECOSYSTEM: The purl’s ecosystem is unknown to ADM - INCORRECT_FORMAT_EPOCH: Epoch qualifier can not be parsed according to the ecosystem - MISSING_DISTRO: The distro qualifier is required for the ecosystem, but was not provided in the purl - UNKNOWN_DISTRO: ADM does not have data for the provided distro value for the given ecosystem - MISSING_ARCH: The arch qualifier is required for the ecosystem and distro, but was not provided in the purl - UNKNOWN_ARCH: ADM does not have data for the provided arch value for the given ecosystem and distro - EPOCH_VALUE_MISMATCH: Epoch value in qualifier is not the same as the epoch value in version - INVALID_PURL: The provided PURL could not be parsed
Returns: The warnings of this ApplicationDependencyVulnerabilitySummary. Return type: list[str]
-