Sha256: eb919b058ae2bc7fa38bc8840db743e606e540f2b9f01ee46954a54dbbb53354
Contents?: true
Size: 1.83 KB
Versions: 12
Compression:
Stored size: 1.83 KB
Contents
module HammerCLIForemanOpenscap class ArfReport < HammerCLIForeman::Command resource :arf_reports class ListCommand < HammerCLIForeman::ListCommand output do field :id, _("Id") field :reported_at, _("Reported at") from :host do field :name, _("Host name") end from :openscap_proxy do field :name, _("OpenSCAP proxy name") end from :policy do field :name, _("Policy name") end field :passed, _("Passed") field :failed, _("Failed") field :othered, _("Othered") end build_options end class InfoCommand < HammerCLIForemanOpenscap::InfoCommand output ListCommand.output_definition do from :host do field :id, _("Host Id") end from :openscap_proxy do field :id, _("OpenSCAP proxy Id") end from :policy do field :id, _("Policy Id") end HammerCLIForeman::References.taxonomies(self) end build_options end class DeleteCommand < HammerCLIForemanOpenscap::DeleteCommand success_message _("ARF report deleted") failure_message _("Could not delete the ARF report") build_options end class DownloadCommand < HammerCLIForemanOpenscap::DownloadCommand success_message _("ARF report downloaded, saved to: ") failure_message _("Could not download the ARF report") build_options end class DownloadHtmlCommand < HammerCLIForemanOpenscap::DownloadCommand action :download_html success_message _("ARF report in HTML downloaded, saved to: ") failure_message _("Could not download the ARF report in HTML") def self.command_name(name = "download-html") super(name) end build_options end autoload_subcommands end end
Version data entries
12 entries across 12 versions & 1 rubygems