Sha256: beba6d6913a383c7d5bd06849680ffa2b049f9b19034dfcb882478c32fb749e8

Contents?: true

Size: 363 Bytes

Versions: 40

Compression:

Stored size: 363 Bytes

Contents

module ForemanOpenscap
  class ScapContentProfile < ApplicationRecord
    belongs_to :scap_content
    has_many :policies
    belongs_to :tailoring_file
    has_many :tailoring_file_policies, :class_name => 'ForemanOpenscap::Policy'

    scoped_search :on => :profile_id, :complete_value => true
    scoped_search :on => :title, :complete_value => true
  end
end

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
foreman_openscap-10.1.0 app/models/foreman_openscap/scap_content_profile.rb
foreman_openscap-10.0.3 app/models/foreman_openscap/scap_content_profile.rb
foreman_openscap-10.0.2 app/models/foreman_openscap/scap_content_profile.rb
foreman_openscap-10.0.1 app/models/foreman_openscap/scap_content_profile.rb
foreman_openscap-10.0.0 app/models/foreman_openscap/scap_content_profile.rb
foreman_openscap-9.0.4 app/models/foreman_openscap/scap_content_profile.rb
foreman_openscap-9.0.3 app/models/foreman_openscap/scap_content_profile.rb
foreman_openscap-9.0.2 app/models/foreman_openscap/scap_content_profile.rb
foreman_openscap-9.0.1 app/models/foreman_openscap/scap_content_profile.rb
foreman_openscap-9.0.0 app/models/foreman_openscap/scap_content_profile.rb
foreman_openscap-8.0.0 app/models/foreman_openscap/scap_content_profile.rb
foreman_openscap-7.1.1 app/models/foreman_openscap/scap_content_profile.rb
foreman_openscap-7.1.0 app/models/foreman_openscap/scap_content_profile.rb
foreman_openscap-7.0.0 app/models/foreman_openscap/scap_content_profile.rb
foreman_openscap-6.0.0 app/models/foreman_openscap/scap_content_profile.rb
foreman_openscap-5.2.3 app/models/foreman_openscap/scap_content_profile.rb
foreman_openscap-5.2.2 app/models/foreman_openscap/scap_content_profile.rb
foreman_openscap-5.1.1 app/models/foreman_openscap/scap_content_profile.rb
foreman_openscap-5.2.1 app/models/foreman_openscap/scap_content_profile.rb
foreman_openscap-5.2.0 app/models/foreman_openscap/scap_content_profile.rb