Sha256: bbb2a0c563dfd6c0471b9dc730abc55ef1b228afee8d60ffd8ee93e721a99b3b

Contents?: true

Size: 694 Bytes

Versions: 121

Compression:

Stored size: 694 Bytes

Contents

module Katello
  class ErratumCve < Katello::Model
    belongs_to :erratum, :inverse_of => :cves, :class_name => 'Katello::Erratum'

    apipie :class, desc: 'A class representing Erratum CVE object' do
      name 'Erratum CVE'
      refs 'ErratumCve'
      sections only: %w[all additional]
      property :erratum, 'Erratum', desc: 'Returns Erratum object associated with this CVE'
      property :cve_id, String, desc: 'Returns CVE identifier, e.g. "CVE-2223-0322"'
      property :href, String, desc: 'Returns link to the CVE, e.g. https://www.redhat.com/security/data/cve/CVE-2233-0322.html'
    end
    class Jail < ::Safemode::Jail
      allow :erratum, :cve_id, :href
    end
  end
end

Version data entries

121 entries across 121 versions & 1 rubygems

Version Path
katello-4.14.2 app/models/katello/erratum_cve.rb
katello-4.15.0 app/models/katello/erratum_cve.rb
katello-4.15.0.rc2 app/models/katello/erratum_cve.rb
katello-4.15.0.rc1 app/models/katello/erratum_cve.rb
katello-4.14.1 app/models/katello/erratum_cve.rb
katello-4.14.0 app/models/katello/erratum_cve.rb
katello-4.14.0.rc3 app/models/katello/erratum_cve.rb
katello-4.14.0.rc2 app/models/katello/erratum_cve.rb
katello-4.14.0.rc1.1 app/models/katello/erratum_cve.rb
katello-4.14.0.rc1 app/models/katello/erratum_cve.rb
katello-4.13.1 app/models/katello/erratum_cve.rb
katello-4.13.0 app/models/katello/erratum_cve.rb
katello-4.12.1 app/models/katello/erratum_cve.rb
katello-4.13.0.rc1 app/models/katello/erratum_cve.rb
katello-4.12.0 app/models/katello/erratum_cve.rb
katello-4.12.0.rc3 app/models/katello/erratum_cve.rb
katello-4.12.0.rc2 app/models/katello/erratum_cve.rb
katello-4.12.0.rc1 app/models/katello/erratum_cve.rb
katello-4.11.1 app/models/katello/erratum_cve.rb
katello-4.11.0 app/models/katello/erratum_cve.rb