foreman_openscap 5.2.1 → 5.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/services/foreman_openscap/client_config/ansible.rb +1 -1
- data/app/services/foreman_openscap/client_config/puppet.rb +1 -1
- data/app/views/arf_reports/show.html.erb +1 -1
- data/app/views/smart_proxies/plugins/_openscap.html.erb +0 -1
- data/db/migrate/20200117135424_migrate_port_overrides_to_int.rb +1 -1
- data/db/migrate/20200803065041_migrate_port_overrides_for_ansible.rb +1 -1
- data/db/migrate/20201202110213_update_puppet_port_param_type.rb +1 -1
- data/lib/foreman_openscap/engine.rb +1 -1
- data/lib/foreman_openscap/version.rb +1 -1
- data/locale/de/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/de/foreman_openscap.po +145 -138
- data/locale/en_GB/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/en_GB/foreman_openscap.po +4 -4
- data/locale/es/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/es/foreman_openscap.po +96 -93
- data/locale/fr/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/fr/foreman_openscap.po +99 -96
- data/locale/gl/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/gl/foreman_openscap.po +5 -5
- data/locale/it/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/it/foreman_openscap.po +7 -6
- data/locale/ja/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/ja/foreman_openscap.po +112 -106
- data/locale/ko/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/ko/foreman_openscap.po +6 -6
- data/locale/pt_BR/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/pt_BR/foreman_openscap.po +93 -90
- data/locale/ru/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/ru/foreman_openscap.po +7 -7
- data/locale/sv_SE/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/sv_SE/foreman_openscap.po +5 -5
- data/locale/zh_CN/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/zh_CN/foreman_openscap.po +155 -155
- data/locale/zh_TW/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/zh_TW/foreman_openscap.po +11 -11
- data/test/test_plugin_helper.rb +2 -2
- data/webpack/components/IndexTable/IndexTableHelper.js +0 -3
- data/webpack/components/IndexTable/index.js +5 -9
- data/webpack/routes/OvalContents/OvalContentsIndex/__tests__/OvalContentsIndex.test.js +1 -34
- data/webpack/routes/OvalPolicies/OvalPoliciesIndex/__tests__/OvalPoliciesIndex.test.js +1 -30
- metadata +35 -35
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 567fbb46d134ce11280b987a4f08aa07e2be3cbcb59a4401c845445fc35bc18d
|
|
4
|
+
data.tar.gz: 1c5f824f9909e205970e0ac17bf6326a0f345f162b586048d80bfe7fe7037dcc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 177272d8e28eddfdc6f98b21bccacd580d8b37a26f931781558a52cbf6dc8fd9d36f5963d3da783de4449bef397d60dfd25ca8bc93c2883f370e37ea5b27679a
|
|
7
|
+
data.tar.gz: 5cac704dc905427ad4f15a325cf250a18755fff8407edc764a5f11752a7da15391d7c9bde6f53e4577b942e27b5d588ad952d656cf5ebada0d334f62fbfa5e62
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
<%= title_actions link_to(_('Back'), :back, :class => "btn btn-default"),
|
|
16
16
|
display_delete_if_authorized(hash_for_arf_report_path(:id => @arf_report), :class=> "btn btn-default"),
|
|
17
|
-
link_to(_("Host details"), @arf_report.host, :class => "btn btn-default"),
|
|
17
|
+
link_to(_("Host details"), current_host_details_path(:id => @arf_report.host), :class => "btn btn-default"),
|
|
18
18
|
link_to(_("View full report"), show_html_arf_report_path(:id => @arf_report.id), :class => "btn btn-primary"),
|
|
19
19
|
link_to(_("Download XML in bzip"), parse_bzip_arf_report_path(:id => @arf_report.id), :class => "btn btn-default", :data => { :no_turbolink => true }),
|
|
20
20
|
link_to(_("Download HTML"), download_html_arf_report_path(:id => @arf_report.id), :class => "btn btn-default", :data => { :no_turbolink => true })
|
|
@@ -10,7 +10,7 @@ class MigratePortOverridesToInt < ActiveRecord::Migration[5.2]
|
|
|
10
10
|
private
|
|
11
11
|
|
|
12
12
|
def transform_lookup_values(method)
|
|
13
|
-
return unless
|
|
13
|
+
return unless Foreman::Plugin.installed?("foreman_puppet")
|
|
14
14
|
puppet_class = ::ForemanPuppet::Puppetclass.find_by :name => 'foreman_scap_client'
|
|
15
15
|
return unless puppet_class
|
|
16
16
|
port_key = puppet_class.class_params.find_by :key => 'port'
|
|
@@ -10,7 +10,7 @@ class MigratePortOverridesForAnsible < ActiveRecord::Migration[6.0]
|
|
|
10
10
|
private
|
|
11
11
|
|
|
12
12
|
def transform_lookup_values(method)
|
|
13
|
-
return unless
|
|
13
|
+
return unless Foreman::Plugin.installed?("foreman_ansible")
|
|
14
14
|
role = AnsibleRole.find_by :name => 'theforeman.foreman_scap_client'
|
|
15
15
|
return unless role
|
|
16
16
|
port_key = role.ansible_variables.find_by :key => 'foreman_scap_client_port'
|
|
@@ -10,7 +10,7 @@ class UpdatePuppetPortParamType < ActiveRecord::Migration[6.0]
|
|
|
10
10
|
private
|
|
11
11
|
|
|
12
12
|
def update_port_type(method)
|
|
13
|
-
return unless
|
|
13
|
+
return unless Foreman::Plugin.installed?("foreman_puppet")
|
|
14
14
|
puppet_class = ::ForemanPuppet::Puppetclass.find_by :name => 'foreman_scap_client'
|
|
15
15
|
return unless puppet_class
|
|
16
16
|
port_key = puppet_class.class_params.find_by :key => 'port'
|
|
Binary file
|