Class: ForemanOpenscap::TailoringFile
- Inherits:
-
ApplicationRecord
- Object
- ApplicationRecord
- ForemanOpenscap::TailoringFile
show all
- Includes:
- Authorizable, DataStreamContent, ScapFileContent, Taxonomix
- Defined in:
- app/models/foreman_openscap/tailoring_file.rb
Instance Method Summary
collapse
#digest
#create_or_update_profile, #create_profiles, #proxy_url
Instance Method Details
#fetch_profiles ⇒ Object
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
|