Sha256: 98c3566f43e50594b4a2b4e30165f539525d4c2a940de2a5c2e8d878fc141dc6

Contents?: true

Size: 439 Bytes

Versions: 44

Compression:

Stored size: 439 Bytes

Contents

<%#
name: Run OpenSCAP scans
job_category: OpenSCAP
description_format: Run scan for all OpenSCAP policies on host
feature: foreman_openscap_run_scans
provider_type: SSH
snippet: false
provider_type: SSH
kind: job_template
%>

<% raise "Create and assign a policy to this host before proceeding" if @host.policies_enc_raw.empty? %>

<% @host.policies_enc_raw.map do |policy| -%>
/usr/bin/foreman_scap_client <%= policy['id'] %>
<% end -%>

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
foreman_openscap-10.0.3 app/views/job_templates/run_openscap_scans.erb
foreman_openscap-10.0.2 app/views/job_templates/run_openscap_scans.erb
foreman_openscap-10.0.1 app/views/job_templates/run_openscap_scans.erb
foreman_openscap-10.0.0 app/views/job_templates/run_openscap_scans.erb
foreman_openscap-9.0.4 app/views/job_templates/run_openscap_scans.erb
foreman_openscap-9.0.3 app/views/job_templates/run_openscap_scans.erb
foreman_openscap-9.0.2 app/views/job_templates/run_openscap_scans.erb
foreman_openscap-9.0.1 app/views/job_templates/run_openscap_scans.erb
foreman_openscap-9.0.0 app/views/job_templates/run_openscap_scans.erb
foreman_openscap-8.0.0 app/views/job_templates/run_openscap_scans.erb
foreman_openscap-7.1.1 app/views/job_templates/run_openscap_scans.erb
foreman_openscap-7.1.0 app/views/job_templates/run_openscap_scans.erb
foreman_openscap-7.0.0 app/views/job_templates/run_openscap_scans.erb
foreman_openscap-6.0.0 app/views/job_templates/run_openscap_scans.erb
foreman_openscap-5.2.3 app/views/job_templates/run_openscap_scans.erb
foreman_openscap-5.2.2 app/views/job_templates/run_openscap_scans.erb
foreman_openscap-5.1.1 app/views/job_templates/run_openscap_scans.erb
foreman_openscap-5.2.1 app/views/job_templates/run_openscap_scans.erb
foreman_openscap-5.2.0 app/views/job_templates/run_openscap_scans.erb
foreman_openscap-5.1.0 app/views/job_templates/run_openscap_scans.erb