Class: ForemanOpenscap::TailoringFile

Inherits:
ApplicationRecord
  • Object
show all
Includes:
Authorizable, DataStreamContent, ScapFileContent, Taxonomix
Defined in:
app/models/foreman_openscap/tailoring_file.rb

Instance Method Summary collapse

Methods included from ScapFileContent

#digest

Methods included from DataStreamContent

#create_or_update_profile, #create_profiles, #proxy_url

Instance Method Details

#fetch_profilesObject



17
18
19
20
# File 'app/models/foreman_openscap/tailoring_file.rb', line 17

def fetch_profiles
  api = ProxyAPI::Openscap.new(:url => proxy_url)
  api.fetch_profiles_for_tailoring_file(scap_file)
end