Module: Package::Audit::Const::Fields

Defined in:
lib/package/audit/const/fields.rb

Constant Summary collapse

AVAILABLE =
%i[
  name
  version
  version_date
  latest_version
  latest_version_date
  groups
  vulnerabilities
  risk_type
  risk_explanation
]
DEFAULT =
%i[name version latest_version latest_version_date groups vulnerabilities risk_type risk_explanation]
HEADERS =

the names of these fields must match the instance variables in the Dependency class

{
  name: 'Package',
  version: 'Version',
  version_date: 'Version Date',
  latest_version: 'Latest',
  latest_version_date: 'Latest Date',
  groups: 'Groups',
  vulnerabilities: 'Vulnerabilities',
  risk_type: 'Risk',
  risk_explanation: 'Risk Explanation'
}