Class: DatadogAPIClient::V2::RemediationGroupPackageUpdate

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v2/models/remediation_group_package_update.rb

Overview

A package to update in a repository, for a group of library vulnerabilities (sca.package_update). The group gathers the open vulnerabilities of direct dependencies that have a recommended fix, and groups them by @git.repository_id, @vulnerability.stack.ecosystem, and @remediation.recommended.name.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_properties ⇒ Object

Returns the value of attribute additional_properties.



49
50
51
# File 'lib/datadog_api_client/v2/models/remediation_group_package_update.rb', line 49

def additional_properties
  @additional_properties
end

#advisory_count ⇒ Object

Number of distinct values of @advisory.id across the group's findings.



27
28
29
# File 'lib/datadog_api_client/v2/models/remediation_group_package_update.rb', line 27

def advisory_count
  @advisory_count
end

#ecosystem ⇒ Object

Package ecosystem, the findings' @vulnerability.stack.ecosystem.



30
31
32
# File 'lib/datadog_api_client/v2/models/remediation_group_package_update.rb', line 30

def ecosystem
  @ecosystem
end

#exploitable_cve_count ⇒ Object

Number of distinct values of @advisory.id across the group's findings that have @risk.has_exploit_available set to true.



34
35
36
# File 'lib/datadog_api_client/v2/models/remediation_group_package_update.rb', line 34

def exploitable_cve_count
  @exploitable_cve_count
end

#file_count ⇒ Object

Number of distinct values of @package.declaration.block.filename, the files that declare the package.



37
38
39
# File 'lib/datadog_api_client/v2/models/remediation_group_package_update.rb', line 37

def file_count
  @file_count
end

#package_name ⇒ Object

Name of the package to update, the findings' @remediation.recommended.name.



40
41
42
# File 'lib/datadog_api_client/v2/models/remediation_group_package_update.rb', line 40

def package_name
  @package_name
end

#repository_id ⇒ Object

Repository that depends on the package, the findings' @git.repository_id.



43
44
45
# File 'lib/datadog_api_client/v2/models/remediation_group_package_update.rb', line 43

def repository_id
  @repository_id
end

#target_version ⇒ Object

Version to update the package to, the highest @remediation.recommended.version across the group's findings. Omitted when no version is recommended or when the recommended versions can't be ordered.



47
48
49
# File 'lib/datadog_api_client/v2/models/remediation_group_package_update.rb', line 47

def target_version
  @target_version
end