foreman_openscap 10.0.3 → 10.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/foreman_openscap/arf_reports.js +3 -3
- data/app/assets/javascripts/foreman_openscap/load_report.js +1 -1
- data/app/assets/javascripts/foreman_openscap/locale/cs_CZ/foreman_openscap.js +2 -2
- data/app/assets/javascripts/foreman_openscap/locale/de/foreman_openscap.js +2 -2
- data/app/assets/javascripts/foreman_openscap/locale/en/foreman_openscap.js +2 -2
- data/app/assets/javascripts/foreman_openscap/locale/en_GB/foreman_openscap.js +2 -2
- data/app/assets/javascripts/foreman_openscap/locale/es/foreman_openscap.js +2 -2
- data/app/assets/javascripts/foreman_openscap/locale/fr/foreman_openscap.js +3 -3
- data/app/assets/javascripts/foreman_openscap/locale/gl/foreman_openscap.js +2 -2
- data/app/assets/javascripts/foreman_openscap/locale/it/foreman_openscap.js +2 -2
- data/app/assets/javascripts/foreman_openscap/locale/ja/foreman_openscap.js +3 -3
- data/app/assets/javascripts/foreman_openscap/locale/ka/foreman_openscap.js +3 -3
- data/app/assets/javascripts/foreman_openscap/locale/ko/foreman_openscap.js +208 -210
- data/app/assets/javascripts/foreman_openscap/locale/pt_BR/foreman_openscap.js +2 -2
- data/app/assets/javascripts/foreman_openscap/locale/ru/foreman_openscap.js +2 -2
- data/app/assets/javascripts/foreman_openscap/locale/sv_SE/foreman_openscap.js +2 -2
- data/app/assets/javascripts/foreman_openscap/locale/zh_CN/foreman_openscap.js +3 -3
- data/app/assets/javascripts/foreman_openscap/locale/zh_TW/foreman_openscap.js +2 -2
- data/app/assets/javascripts/foreman_openscap/policy_edit.js +1 -1
- data/app/assets/javascripts/foreman_openscap/reports.js +1 -1
- data/app/controllers/api/v2/compliance/scap_contents_controller.rb +0 -2
- data/app/controllers/arf_reports_controller.rb +8 -2
- data/app/models/concerns/foreman_openscap/scap_file_content.rb +1 -1
- data/{lib → app/services}/foreman_openscap/bulk_upload.rb +17 -11
- data/app/views/arf_reports/_list.html.erb +1 -1
- data/lib/foreman_openscap/engine.rb +1 -1
- data/lib/foreman_openscap/version.rb +1 -1
- data/lib/tasks/foreman_openscap_tasks.rake +0 -1
- data/locale/cs_CZ/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/cs_CZ/foreman_openscap.po +2 -2
- data/locale/de/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/de/foreman_openscap.po +2 -2
- data/locale/en/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/en/foreman_openscap.po +2 -2
- data/locale/en_GB/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/en_GB/foreman_openscap.po +2 -2
- data/locale/es/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/es/foreman_openscap.po +2 -2
- data/locale/foreman_openscap.pot +60 -62
- data/locale/fr/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/fr/foreman_openscap.po +3 -3
- data/locale/gl/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/gl/foreman_openscap.po +2 -2
- data/locale/it/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/it/foreman_openscap.po +2 -2
- data/locale/ja/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/ja/foreman_openscap.po +3 -3
- data/locale/ka/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/ka/foreman_openscap.po +3 -3
- data/locale/ko/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/ko/foreman_openscap.po +208 -210
- data/locale/pt_BR/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/pt_BR/foreman_openscap.po +2 -2
- data/locale/ru/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/ru/foreman_openscap.po +2 -2
- data/locale/sv_SE/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/sv_SE/foreman_openscap.po +2 -2
- data/locale/zh_CN/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/zh_CN/foreman_openscap.po +3 -3
- data/locale/zh_TW/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/zh_TW/foreman_openscap.po +2 -2
- data/test/files/scap_contents/cs9-new/ssg-cs9-ds.xml +38 -0
- data/test/files/scap_contents/cs9-old/ssg-cs9-ds.xml +38 -0
- data/test/lib/foreman_openscap/bulk_upload_test.rb +19 -4
- metadata +21 -3
@@ -3,7 +3,7 @@
|
|
3
3
|
"locale_data": {
|
4
4
|
"foreman_openscap": {
|
5
5
|
"": {
|
6
|
-
"Project-Id-Version": "foreman_openscap 10.0
|
6
|
+
"Project-Id-Version": "foreman_openscap 10.1.0",
|
7
7
|
"Report-Msgid-Bugs-To": "",
|
8
8
|
"PO-Revision-Date": "2016-04-14 07:48+0000",
|
9
9
|
"Last-Translator": "FIRST AUTHOR <EMAIL@ADDRESS>, 2016",
|
@@ -94,7 +94,7 @@
|
|
94
94
|
"By default, remediation is applied to the current host. Optionally, remediate any additional hosts that fail the rule.": [
|
95
95
|
""
|
96
96
|
],
|
97
|
-
"Can't find
|
97
|
+
"Can't find %{packages} RPM(s), are you sure it is installed on your server?": [
|
98
98
|
""
|
99
99
|
],
|
100
100
|
"Cancel": [
|
@@ -3,7 +3,7 @@
|
|
3
3
|
"locale_data": {
|
4
4
|
"foreman_openscap": {
|
5
5
|
"": {
|
6
|
-
"Project-Id-Version": "foreman_openscap 10.0
|
6
|
+
"Project-Id-Version": "foreman_openscap 10.1.0",
|
7
7
|
"Report-Msgid-Bugs-To": "",
|
8
8
|
"PO-Revision-Date": "2016-04-14 07:48+0000",
|
9
9
|
"Last-Translator": "FIRST AUTHOR <EMAIL@ADDRESS>, 2016",
|
@@ -93,7 +93,7 @@
|
|
93
93
|
"By default, remediation is applied to the current host. Optionally, remediate any additional hosts that fail the rule.": [
|
94
94
|
""
|
95
95
|
],
|
96
|
-
"Can't find
|
96
|
+
"Can't find %{packages} RPM(s), are you sure it is installed on your server?": [
|
97
97
|
""
|
98
98
|
],
|
99
99
|
"Cancel": [
|
@@ -3,7 +3,7 @@
|
|
3
3
|
"locale_data": {
|
4
4
|
"foreman_openscap": {
|
5
5
|
"": {
|
6
|
-
"Project-Id-Version": "foreman_openscap 10.0
|
6
|
+
"Project-Id-Version": "foreman_openscap 10.1.0",
|
7
7
|
"Report-Msgid-Bugs-To": "",
|
8
8
|
"PO-Revision-Date": "2016-04-14 07:48+0000",
|
9
9
|
"Last-Translator": "FULL NAME <EMAIL@ADDRESS>",
|
@@ -93,7 +93,7 @@
|
|
93
93
|
"By default, remediation is applied to the current host. Optionally, remediate any additional hosts that fail the rule.": [
|
94
94
|
""
|
95
95
|
],
|
96
|
-
"Can't find
|
96
|
+
"Can't find %{packages} RPM(s), are you sure it is installed on your server?": [
|
97
97
|
""
|
98
98
|
],
|
99
99
|
"Cancel": [
|
@@ -3,7 +3,7 @@
|
|
3
3
|
"locale_data": {
|
4
4
|
"foreman_openscap": {
|
5
5
|
"": {
|
6
|
-
"Project-Id-Version": "foreman_openscap 10.0
|
6
|
+
"Project-Id-Version": "foreman_openscap 10.1.0",
|
7
7
|
"Report-Msgid-Bugs-To": "",
|
8
8
|
"PO-Revision-Date": "2016-04-14 07:48+0000",
|
9
9
|
"Last-Translator": "FIRST AUTHOR <EMAIL@ADDRESS>, 2016",
|
@@ -92,8 +92,8 @@
|
|
92
92
|
"By default, remediation is applied to the current host. Optionally, remediate any additional hosts that fail the rule.": [
|
93
93
|
"默认情况下,补救会应用到当前主机。(可选)修复任何规则失败的额外主机。"
|
94
94
|
],
|
95
|
-
"Can't find
|
96
|
-
"
|
95
|
+
"Can't find %{packages} RPM(s), are you sure it is installed on your server?": [
|
96
|
+
""
|
97
97
|
],
|
98
98
|
"Cancel": [
|
99
99
|
"取消"
|
@@ -3,7 +3,7 @@
|
|
3
3
|
"locale_data": {
|
4
4
|
"foreman_openscap": {
|
5
5
|
"": {
|
6
|
-
"Project-Id-Version": "foreman_openscap 10.0
|
6
|
+
"Project-Id-Version": "foreman_openscap 10.1.0",
|
7
7
|
"Report-Msgid-Bugs-To": "",
|
8
8
|
"PO-Revision-Date": "2016-04-14 07:48+0000",
|
9
9
|
"Last-Translator": "FIRST AUTHOR <EMAIL@ADDRESS>, 2016",
|
@@ -93,7 +93,7 @@
|
|
93
93
|
"By default, remediation is applied to the current host. Optionally, remediate any additional hosts that fail the rule.": [
|
94
94
|
""
|
95
95
|
],
|
96
|
-
"Can't find
|
96
|
+
"Can't find %{packages} RPM(s), are you sure it is installed on your server?": [
|
97
97
|
""
|
98
98
|
],
|
99
99
|
"Cancel": [
|
@@ -10,9 +10,15 @@ class ArfReportsController < ApplicationController
|
|
10
10
|
end
|
11
11
|
|
12
12
|
def index
|
13
|
+
# Avoid using includes() with nested associations and "order by" together. Otherwise,
|
14
|
+
# includes() will use join tables instead and Rails somehow create many objects and
|
15
|
+
# high memory consumption.
|
16
|
+
@arf_reports_pg = resource_base.search_for(params[:search], :order => params[:order])
|
17
|
+
.paginate(:page => params[:page], :per_page => params[:per_page])
|
18
|
+
arf_report_ids = @arf_reports_pg.pluck(:id)
|
13
19
|
@arf_reports = resource_base.includes(:policy, :openscap_proxy, :host => %i[policies last_report_object host_statuses])
|
14
|
-
.
|
15
|
-
.
|
20
|
+
.where(id: arf_report_ids)
|
21
|
+
.sort_by { |arf_report| arf_report_ids.index(arf_report.id) }
|
16
22
|
end
|
17
23
|
|
18
24
|
def show
|
@@ -8,7 +8,7 @@ module ForemanOpenscap
|
|
8
8
|
validates :digest, :presence => true
|
9
9
|
validates :scap_file, :presence => true
|
10
10
|
|
11
|
-
before_validation :redigest, :if => lambda { |file_content| file_content.persisted?
|
11
|
+
before_validation :redigest, :if => lambda { |file_content| !file_content.persisted? || file_content.scap_file_changed? }
|
12
12
|
end
|
13
13
|
|
14
14
|
def digest
|
@@ -7,21 +7,28 @@ module ForemanOpenscap
|
|
7
7
|
@result = OpenStruct.new(:errors => [], :results => [])
|
8
8
|
end
|
9
9
|
|
10
|
-
def
|
11
|
-
|
10
|
+
def security_guide_packages
|
11
|
+
%w(scap-security-guide)
|
12
12
|
end
|
13
13
|
|
14
|
-
def
|
15
|
-
`rpm -
|
14
|
+
def files_from_guide(package)
|
15
|
+
`rpm -ql #{package} | grep ds.xml`.split
|
16
|
+
end
|
17
|
+
|
18
|
+
def package_installed?(package)
|
19
|
+
`rpm -qa | grep #{package}`.present?
|
16
20
|
end
|
17
21
|
|
18
22
|
def upload_from_scap_guide
|
19
|
-
|
20
|
-
|
23
|
+
package = security_guide_packages.find { |p| package_installed? p }
|
24
|
+
unless package
|
25
|
+
joined_packages = security_guide_packages.join(', ')
|
26
|
+
msg = _("Can't find %{packages} RPM(s), are you sure it is installed on your server?")
|
27
|
+
@result.errors.push(msg % {packages: joined_packages})
|
21
28
|
return @result
|
22
29
|
end
|
23
30
|
|
24
|
-
upload_from_files(files_from_guide, true)
|
31
|
+
upload_from_files(files_from_guide(package), true)
|
25
32
|
end
|
26
33
|
|
27
34
|
def upload_from_files(files_array, from_scap_guide = false)
|
@@ -41,12 +48,11 @@ module ForemanOpenscap
|
|
41
48
|
next
|
42
49
|
end
|
43
50
|
|
44
|
-
file = File.
|
45
|
-
digest = Digest::SHA2.hexdigest(datastream)
|
51
|
+
file = File.read(datastream, mode: 'rb')
|
46
52
|
title = content_name(datastream, from_scap_guide)
|
47
53
|
filename = original_filename(datastream)
|
48
|
-
|
49
|
-
|
54
|
+
|
55
|
+
scap_content = ScapContent.where(:title => title).first_or_initialize
|
50
56
|
scap_content.scap_file = file
|
51
57
|
scap_content.original_filename = filename
|
52
58
|
scap_content.location_ids = Location.all.pluck(:id)
|
@@ -40,7 +40,7 @@ module ForemanOpenscap
|
|
40
40
|
initializer 'foreman_openscap.register_plugin', :before => :finisher_hook do |app|
|
41
41
|
app.reloader.to_prepare do
|
42
42
|
Foreman::Plugin.register :foreman_openscap do
|
43
|
-
requires_foreman '>= 3.
|
43
|
+
requires_foreman '>= 3.14'
|
44
44
|
register_gettext
|
45
45
|
|
46
46
|
apipie_documented_controllers ["#{ForemanOpenscap::Engine.root}/app/controllers/api/v2/compliance/*.rb"]
|
Binary file
|
@@ -6,7 +6,7 @@
|
|
6
6
|
# Pavel Borecki <pavel.borecki@gmail.com>, 2018-2020
|
7
7
|
msgid ""
|
8
8
|
msgstr ""
|
9
|
-
"Project-Id-Version: foreman_openscap 10.0
|
9
|
+
"Project-Id-Version: foreman_openscap 10.1.0\n"
|
10
10
|
"Report-Msgid-Bugs-To: \n"
|
11
11
|
"PO-Revision-Date: 2016-04-14 07:48+0000\n"
|
12
12
|
"Last-Translator: Pavel Borecki <pavel.borecki@gmail.com>, 2018-2020\n"
|
@@ -96,7 +96,7 @@ msgstr "Zpět"
|
|
96
96
|
msgid "By default, remediation is applied to the current host. Optionally, remediate any additional hosts that fail the rule."
|
97
97
|
msgstr ""
|
98
98
|
|
99
|
-
msgid "Can't find
|
99
|
+
msgid "Can't find %{packages} RPM(s), are you sure it is installed on your server?"
|
100
100
|
msgstr ""
|
101
101
|
|
102
102
|
msgid "Cancel"
|
Binary file
|
@@ -10,7 +10,7 @@
|
|
10
10
|
# pdolinic, 2021
|
11
11
|
msgid ""
|
12
12
|
msgstr ""
|
13
|
-
"Project-Id-Version: foreman_openscap 10.0
|
13
|
+
"Project-Id-Version: foreman_openscap 10.1.0\n"
|
14
14
|
"Report-Msgid-Bugs-To: \n"
|
15
15
|
"PO-Revision-Date: 2016-04-14 07:48+0000\n"
|
16
16
|
"Last-Translator: pdolinic, 2021\n"
|
@@ -98,7 +98,7 @@ msgstr "Zurück"
|
|
98
98
|
msgid "By default, remediation is applied to the current host. Optionally, remediate any additional hosts that fail the rule."
|
99
99
|
msgstr ""
|
100
100
|
|
101
|
-
msgid "Can't find
|
101
|
+
msgid "Can't find %{packages} RPM(s), are you sure it is installed on your server?"
|
102
102
|
msgstr ""
|
103
103
|
|
104
104
|
msgid "Cancel"
|
Binary file
|
@@ -5,7 +5,7 @@
|
|
5
5
|
#
|
6
6
|
msgid ""
|
7
7
|
msgstr ""
|
8
|
-
"Project-Id-Version: foreman_openscap 10.0
|
8
|
+
"Project-Id-Version: foreman_openscap 10.1.0\n"
|
9
9
|
"Report-Msgid-Bugs-To: \n"
|
10
10
|
"PO-Revision-Date: 2023-05-16 14:11+0200\n"
|
11
11
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
@@ -94,7 +94,7 @@ msgstr ""
|
|
94
94
|
msgid "By default, remediation is applied to the current host. Optionally, remediate any additional hosts that fail the rule."
|
95
95
|
msgstr ""
|
96
96
|
|
97
|
-
msgid "Can't find
|
97
|
+
msgid "Can't find %{packages} RPM(s), are you sure it is installed on your server?"
|
98
98
|
msgstr ""
|
99
99
|
|
100
100
|
msgid "Cancel"
|
Binary file
|
@@ -5,7 +5,7 @@
|
|
5
5
|
# Translators:
|
6
6
|
msgid ""
|
7
7
|
msgstr ""
|
8
|
-
"Project-Id-Version: foreman_openscap 10.0
|
8
|
+
"Project-Id-Version: foreman_openscap 10.1.0\n"
|
9
9
|
"Report-Msgid-Bugs-To: \n"
|
10
10
|
"PO-Revision-Date: 2016-04-14 07:48+0000\n"
|
11
11
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
@@ -94,7 +94,7 @@ msgstr "Back"
|
|
94
94
|
msgid "By default, remediation is applied to the current host. Optionally, remediate any additional hosts that fail the rule."
|
95
95
|
msgstr ""
|
96
96
|
|
97
|
-
msgid "Can't find
|
97
|
+
msgid "Can't find %{packages} RPM(s), are you sure it is installed on your server?"
|
98
98
|
msgstr ""
|
99
99
|
|
100
100
|
msgid "Cancel"
|
Binary file
|
@@ -7,7 +7,7 @@
|
|
7
7
|
# FIRST AUTHOR <EMAIL@ADDRESS>, 2016
|
8
8
|
msgid ""
|
9
9
|
msgstr ""
|
10
|
-
"Project-Id-Version: foreman_openscap 10.0
|
10
|
+
"Project-Id-Version: foreman_openscap 10.1.0\n"
|
11
11
|
"Report-Msgid-Bugs-To: \n"
|
12
12
|
"PO-Revision-Date: 2016-04-14 07:48+0000\n"
|
13
13
|
"Last-Translator: FIRST AUTHOR <EMAIL@ADDRESS>, 2016\n"
|
@@ -98,7 +98,7 @@ msgstr "Atrás"
|
|
98
98
|
msgid "By default, remediation is applied to the current host. Optionally, remediate any additional hosts that fail the rule."
|
99
99
|
msgstr ""
|
100
100
|
|
101
|
-
msgid "Can't find
|
101
|
+
msgid "Can't find %{packages} RPM(s), are you sure it is installed on your server?"
|
102
102
|
msgstr ""
|
103
103
|
|
104
104
|
msgid "Cancel"
|
data/locale/foreman_openscap.pot
CHANGED
@@ -8,8 +8,8 @@ msgid ""
|
|
8
8
|
msgstr ""
|
9
9
|
"Project-Id-Version: foreman_openscap 1.0.0\n"
|
10
10
|
"Report-Msgid-Bugs-To: \n"
|
11
|
-
"POT-Creation-Date: 2024-
|
12
|
-
"PO-Revision-Date: 2024-
|
11
|
+
"POT-Creation-Date: 2024-12-03 14:01+0000\n"
|
12
|
+
"PO-Revision-Date: 2024-12-03 14:01+0000\n"
|
13
13
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14
14
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
15
15
|
"Language: \n"
|
@@ -148,60 +148,60 @@ msgstr ""
|
|
148
148
|
msgid "List SCAP content profiles"
|
149
149
|
msgstr ""
|
150
150
|
|
151
|
-
#: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:
|
151
|
+
#: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:14
|
152
152
|
msgid "List SCAP contents"
|
153
153
|
msgstr ""
|
154
154
|
|
155
|
-
#: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:
|
155
|
+
#: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:22
|
156
156
|
msgid "Download an SCAP content as XML"
|
157
157
|
msgstr ""
|
158
158
|
|
159
|
-
#: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:
|
159
|
+
#: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:31
|
160
160
|
msgid "Show an SCAP content"
|
161
161
|
msgstr ""
|
162
162
|
|
163
|
-
#: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:
|
163
|
+
#: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:38
|
164
164
|
msgid "SCAP content name"
|
165
165
|
msgstr ""
|
166
166
|
|
167
|
-
#: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:
|
167
|
+
#: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:39
|
168
168
|
msgid "XML containing SCAP content"
|
169
169
|
msgstr ""
|
170
170
|
|
171
|
-
#: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:
|
171
|
+
#: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:40
|
172
172
|
#: ../app/controllers/api/v2/compliance/tailoring_files_controller.rb:36
|
173
173
|
msgid "Original file name of the XML file"
|
174
174
|
msgstr ""
|
175
175
|
|
176
|
-
#: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:
|
176
|
+
#: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:45
|
177
177
|
msgid "Create SCAP content"
|
178
178
|
msgstr ""
|
179
179
|
|
180
|
-
#: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:
|
180
|
+
#: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:53
|
181
181
|
msgid "Update an SCAP content"
|
182
182
|
msgstr ""
|
183
183
|
|
184
|
-
#: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:
|
184
|
+
#: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:61
|
185
185
|
msgid "Deletes an SCAP content"
|
186
186
|
msgstr ""
|
187
187
|
|
188
|
-
#: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:
|
188
|
+
#: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:68
|
189
189
|
msgid "Upload scap contents in bulk"
|
190
190
|
msgstr ""
|
191
191
|
|
192
|
-
#: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:
|
192
|
+
#: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:69
|
193
193
|
msgid "Type of the upload"
|
194
194
|
msgstr ""
|
195
195
|
|
196
|
-
#: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:
|
196
|
+
#: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:70
|
197
197
|
msgid "File paths to upload when using \"files\" upload type"
|
198
198
|
msgstr ""
|
199
199
|
|
200
|
-
#: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:
|
200
|
+
#: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:71
|
201
201
|
msgid "Directory to upload when using \"directory\" upload type"
|
202
202
|
msgstr ""
|
203
203
|
|
204
|
-
#: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:
|
204
|
+
#: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:84
|
205
205
|
msgid ""
|
206
206
|
"Please specify import type, received: %{received}, expected one of: %{expected"
|
207
207
|
"}"
|
@@ -239,39 +239,39 @@ msgstr ""
|
|
239
239
|
msgid "Deletes a Tailoring file"
|
240
240
|
msgstr ""
|
241
241
|
|
242
|
-
#: ../app/controllers/arf_reports_controller.rb:
|
242
|
+
#: ../app/controllers/arf_reports_controller.rb:43
|
243
243
|
msgid "Failed to downloaded ARF report as bzip: %s"
|
244
244
|
msgstr ""
|
245
245
|
|
246
|
-
#: ../app/controllers/arf_reports_controller.rb:
|
246
|
+
#: ../app/controllers/arf_reports_controller.rb:54
|
247
247
|
msgid "Failed to downloaded ARF report in HTML: %s"
|
248
248
|
msgstr ""
|
249
249
|
|
250
|
-
#: ../app/controllers/arf_reports_controller.rb:
|
250
|
+
#: ../app/controllers/arf_reports_controller.rb:61
|
251
251
|
msgid "Successfully deleted ARF report."
|
252
252
|
msgstr ""
|
253
253
|
|
254
|
-
#: ../app/controllers/arf_reports_controller.rb:
|
254
|
+
#: ../app/controllers/arf_reports_controller.rb:63
|
255
255
|
msgid "Failed to delete ARF Report for host %{host_name} reported at %{reported_at}"
|
256
256
|
msgstr ""
|
257
257
|
|
258
|
-
#: ../app/controllers/arf_reports_controller.rb:
|
258
|
+
#: ../app/controllers/arf_reports_controller.rb:73
|
259
259
|
msgid "Failed to delete %s compliance reports"
|
260
260
|
msgstr ""
|
261
261
|
|
262
|
-
#: ../app/controllers/arf_reports_controller.rb:
|
262
|
+
#: ../app/controllers/arf_reports_controller.rb:76
|
263
263
|
msgid "Successfully deleted %s compliance reports"
|
264
264
|
msgstr ""
|
265
265
|
|
266
|
-
#: ../app/controllers/arf_reports_controller.rb:
|
266
|
+
#: ../app/controllers/arf_reports_controller.rb:112
|
267
267
|
msgid "No compliance reports were found."
|
268
268
|
msgstr ""
|
269
269
|
|
270
|
-
#: ../app/controllers/arf_reports_controller.rb:
|
270
|
+
#: ../app/controllers/arf_reports_controller.rb:116
|
271
271
|
msgid "No compliance reports selected"
|
272
272
|
msgstr ""
|
273
273
|
|
274
|
-
#: ../app/controllers/arf_reports_controller.rb:
|
274
|
+
#: ../app/controllers/arf_reports_controller.rb:121
|
275
275
|
msgid "Something went wrong while selecting compliance reports - %s"
|
276
276
|
msgstr ""
|
277
277
|
|
@@ -703,6 +703,38 @@ msgstr ""
|
|
703
703
|
msgid "invalid type %s"
|
704
704
|
msgstr ""
|
705
705
|
|
706
|
+
#: ../app/services/foreman_openscap/bulk_upload.rb:26
|
707
|
+
msgid "Can't find %{packages} RPM(s), are you sure it is installed on your server?"
|
708
|
+
msgstr ""
|
709
|
+
|
710
|
+
#: ../app/services/foreman_openscap/bulk_upload.rb:36
|
711
|
+
msgid "Expected an array of files to upload, got: %s."
|
712
|
+
msgstr ""
|
713
|
+
|
714
|
+
#: ../app/services/foreman_openscap/bulk_upload.rb:42
|
715
|
+
msgid "%s is a directory, expecting file."
|
716
|
+
msgstr ""
|
717
|
+
|
718
|
+
#: ../app/services/foreman_openscap/bulk_upload.rb:47
|
719
|
+
msgid "%s does not exist, skipping."
|
720
|
+
msgstr ""
|
721
|
+
|
722
|
+
#: ../app/services/foreman_openscap/bulk_upload.rb:65
|
723
|
+
msgid "Failed saving %s:"
|
724
|
+
msgstr ""
|
725
|
+
|
726
|
+
#: ../app/services/foreman_openscap/bulk_upload.rb:73
|
727
|
+
msgid "No such directory: %s. Please check the path you have provided."
|
728
|
+
msgstr ""
|
729
|
+
|
730
|
+
#: ../app/services/foreman_openscap/bulk_upload.rb:95
|
731
|
+
msgid "Red Hat %s default content"
|
732
|
+
msgstr ""
|
733
|
+
|
734
|
+
#: ../app/services/foreman_openscap/bulk_upload.rb:95
|
735
|
+
msgid "%s content"
|
736
|
+
msgstr ""
|
737
|
+
|
706
738
|
#: ../app/services/foreman_openscap/client_config/ansible.rb:23
|
707
739
|
msgid ""
|
708
740
|
"Requires Ansible plugin, %s Ansible role and variables. This will assign the r"
|
@@ -761,19 +793,19 @@ msgid ""
|
|
761
793
|
". Are you missing a plugin?"
|
762
794
|
msgstr ""
|
763
795
|
|
764
|
-
#: ../app/services/foreman_openscap/lookup_key_overrider.rb:
|
796
|
+
#: ../app/services/foreman_openscap/lookup_key_overrider.rb:27
|
765
797
|
msgid ""
|
766
798
|
"Required %{msg_name} %{class} was not found, please ensure it is imported firs"
|
767
799
|
"t."
|
768
800
|
msgstr ""
|
769
801
|
|
770
|
-
#: ../app/services/foreman_openscap/lookup_key_overrider.rb:
|
802
|
+
#: ../app/services/foreman_openscap/lookup_key_overrider.rb:35
|
771
803
|
msgid ""
|
772
804
|
"The following %{key_name} were missing for %{item_name}: %{key_names}. Make su"
|
773
805
|
"re they are imported before proceeding."
|
774
806
|
msgstr ""
|
775
807
|
|
776
|
-
#: ../app/services/foreman_openscap/lookup_key_overrider.rb:
|
808
|
+
#: ../app/services/foreman_openscap/lookup_key_overrider.rb:57
|
777
809
|
msgid "Failed to save when overriding parameters for %{config_tool}, cause: %{errors}"
|
778
810
|
msgstr ""
|
779
811
|
|
@@ -1346,40 +1378,6 @@ msgstr ""
|
|
1346
1378
|
msgid "A summary of reports for OpenSCAP policies"
|
1347
1379
|
msgstr ""
|
1348
1380
|
|
1349
|
-
#: ../lib/foreman_openscap/bulk_upload.rb:20
|
1350
|
-
msgid ""
|
1351
|
-
"Can't find scap-security-guide RPM, are you sure it is installed on your serve"
|
1352
|
-
"r?"
|
1353
|
-
msgstr ""
|
1354
|
-
|
1355
|
-
#: ../lib/foreman_openscap/bulk_upload.rb:29
|
1356
|
-
msgid "Expected an array of files to upload, got: %s."
|
1357
|
-
msgstr ""
|
1358
|
-
|
1359
|
-
#: ../lib/foreman_openscap/bulk_upload.rb:35
|
1360
|
-
msgid "%s is a directory, expecting file."
|
1361
|
-
msgstr ""
|
1362
|
-
|
1363
|
-
#: ../lib/foreman_openscap/bulk_upload.rb:40
|
1364
|
-
msgid "%s does not exist, skipping."
|
1365
|
-
msgstr ""
|
1366
|
-
|
1367
|
-
#: ../lib/foreman_openscap/bulk_upload.rb:58
|
1368
|
-
msgid "Failed saving %s:"
|
1369
|
-
msgstr ""
|
1370
|
-
|
1371
|
-
#: ../lib/foreman_openscap/bulk_upload.rb:66
|
1372
|
-
msgid "No such directory: %s. Please check the path you have provided."
|
1373
|
-
msgstr ""
|
1374
|
-
|
1375
|
-
#: ../lib/foreman_openscap/bulk_upload.rb:88
|
1376
|
-
msgid "Red Hat %s default content"
|
1377
|
-
msgstr ""
|
1378
|
-
|
1379
|
-
#: ../lib/foreman_openscap/bulk_upload.rb:88
|
1380
|
-
msgid "%s content"
|
1381
|
-
msgstr ""
|
1382
|
-
|
1383
1381
|
#: ../lib/foreman_openscap/engine.rb:133
|
1384
1382
|
msgid "Policies"
|
1385
1383
|
msgstr ""
|
Binary file
|
@@ -8,7 +8,7 @@
|
|
8
8
|
# Pierre-Emmanuel Dutang <dutangp@gmail.com>, 2016
|
9
9
|
msgid ""
|
10
10
|
msgstr ""
|
11
|
-
"Project-Id-Version: foreman_openscap 10.0
|
11
|
+
"Project-Id-Version: foreman_openscap 10.1.0\n"
|
12
12
|
"Report-Msgid-Bugs-To: \n"
|
13
13
|
"PO-Revision-Date: 2016-04-14 07:48+0000\n"
|
14
14
|
"Last-Translator: Pierre-Emmanuel Dutang <dutangp@gmail.com>, 2016\n"
|
@@ -98,8 +98,8 @@ msgstr "Précédent"
|
|
98
98
|
msgid "By default, remediation is applied to the current host. Optionally, remediate any additional hosts that fail the rule."
|
99
99
|
msgstr "Par défaut, la correction est appliquée à l'hôte actuel. Vous pouvez éventuellement corriger tous les hôtes supplémentaires qui ne respectent pas la règle."
|
100
100
|
|
101
|
-
msgid "Can't find
|
102
|
-
msgstr "
|
101
|
+
msgid "Can't find %{packages} RPM(s), are you sure it is installed on your server?"
|
102
|
+
msgstr ""
|
103
103
|
|
104
104
|
msgid "Cancel"
|
105
105
|
msgstr "Annuler"
|
Binary file
|
@@ -5,7 +5,7 @@
|
|
5
5
|
# Translators:
|
6
6
|
msgid ""
|
7
7
|
msgstr ""
|
8
|
-
"Project-Id-Version: foreman_openscap 10.0
|
8
|
+
"Project-Id-Version: foreman_openscap 10.1.0\n"
|
9
9
|
"Report-Msgid-Bugs-To: \n"
|
10
10
|
"PO-Revision-Date: 2016-04-14 07:48+0000\n"
|
11
11
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
@@ -94,7 +94,7 @@ msgstr "Atrás"
|
|
94
94
|
msgid "By default, remediation is applied to the current host. Optionally, remediate any additional hosts that fail the rule."
|
95
95
|
msgstr ""
|
96
96
|
|
97
|
-
msgid "Can't find
|
97
|
+
msgid "Can't find %{packages} RPM(s), are you sure it is installed on your server?"
|
98
98
|
msgstr ""
|
99
99
|
|
100
100
|
msgid "Cancel"
|
Binary file
|
@@ -6,7 +6,7 @@
|
|
6
6
|
# FIRST AUTHOR <EMAIL@ADDRESS>, 2016
|
7
7
|
msgid ""
|
8
8
|
msgstr ""
|
9
|
-
"Project-Id-Version: foreman_openscap 10.0
|
9
|
+
"Project-Id-Version: foreman_openscap 10.1.0\n"
|
10
10
|
"Report-Msgid-Bugs-To: \n"
|
11
11
|
"PO-Revision-Date: 2016-04-14 07:48+0000\n"
|
12
12
|
"Last-Translator: FIRST AUTHOR <EMAIL@ADDRESS>, 2016\n"
|
@@ -96,7 +96,7 @@ msgstr "Indietro"
|
|
96
96
|
msgid "By default, remediation is applied to the current host. Optionally, remediate any additional hosts that fail the rule."
|
97
97
|
msgstr ""
|
98
98
|
|
99
|
-
msgid "Can't find
|
99
|
+
msgid "Can't find %{packages} RPM(s), are you sure it is installed on your server?"
|
100
100
|
msgstr ""
|
101
101
|
|
102
102
|
msgid "Cancel"
|
Binary file
|