foreman_openscap 10.0.2 → 10.1.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/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/{lib → app/services}/foreman_openscap/bulk_upload.rb +14 -7
- data/app/views/arf_reports/_list.html.erb +1 -1
- data/config/routes.rb +2 -2
- 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.edit.po +1442 -0
- data/locale/cs_CZ/foreman_openscap.po +2 -2
- data/locale/cs_CZ/foreman_openscap.po.time_stamp +0 -0
- data/locale/de/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/de/foreman_openscap.edit.po +1450 -0
- data/locale/de/foreman_openscap.po +2 -2
- data/locale/de/foreman_openscap.po.time_stamp +0 -0
- data/locale/en/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/en/foreman_openscap.edit.po +1439 -0
- data/locale/en/foreman_openscap.po +2 -2
- data/locale/en/foreman_openscap.po.time_stamp +0 -0
- data/locale/en_GB/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/en_GB/foreman_openscap.edit.po +1440 -0
- data/locale/en_GB/foreman_openscap.po +2 -2
- data/locale/en_GB/foreman_openscap.po.time_stamp +0 -0
- data/locale/es/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/es/foreman_openscap.edit.po +1445 -0
- data/locale/es/foreman_openscap.po +2 -2
- data/locale/es/foreman_openscap.po.time_stamp +0 -0
- data/locale/foreman_openscap.pot +60 -62
- data/locale/fr/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/fr/foreman_openscap.edit.po +1459 -0
- data/locale/fr/foreman_openscap.po +3 -3
- data/locale/fr/foreman_openscap.po.time_stamp +0 -0
- data/locale/gl/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/gl/foreman_openscap.edit.po +1440 -0
- data/locale/gl/foreman_openscap.po +2 -2
- data/locale/gl/foreman_openscap.po.time_stamp +0 -0
- data/locale/it/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/it/foreman_openscap.edit.po +1442 -0
- data/locale/it/foreman_openscap.po +2 -2
- data/locale/it/foreman_openscap.po.time_stamp +0 -0
- data/locale/ja/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/ja/foreman_openscap.edit.po +1452 -0
- data/locale/ja/foreman_openscap.po +3 -3
- data/locale/ja/foreman_openscap.po.time_stamp +0 -0
- data/locale/ka/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/ka/foreman_openscap.edit.po +1448 -0
- data/locale/ka/foreman_openscap.po +3 -3
- data/locale/ka/foreman_openscap.po.time_stamp +0 -0
- data/locale/ko/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/ko/foreman_openscap.edit.po +1444 -0
- data/locale/ko/foreman_openscap.po +208 -210
- data/locale/ko/foreman_openscap.po.time_stamp +0 -0
- data/locale/pt_BR/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/pt_BR/foreman_openscap.edit.po +1450 -0
- data/locale/pt_BR/foreman_openscap.po +2 -2
- data/locale/pt_BR/foreman_openscap.po.time_stamp +0 -0
- data/locale/ru/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/ru/foreman_openscap.edit.po +1444 -0
- data/locale/ru/foreman_openscap.po +2 -2
- data/locale/ru/foreman_openscap.po.time_stamp +0 -0
- data/locale/sv_SE/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/sv_SE/foreman_openscap.edit.po +1440 -0
- data/locale/sv_SE/foreman_openscap.po +2 -2
- data/locale/sv_SE/foreman_openscap.po.time_stamp +0 -0
- data/locale/zh_CN/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/zh_CN/foreman_openscap.edit.po +1451 -0
- data/locale/zh_CN/foreman_openscap.po +3 -3
- data/locale/zh_CN/foreman_openscap.po.time_stamp +0 -0
- data/locale/zh_TW/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/zh_TW/foreman_openscap.edit.po +1441 -0
- data/locale/zh_TW/foreman_openscap.po +2 -2
- data/locale/zh_TW/foreman_openscap.po.time_stamp +0 -0
- data/test/lib/foreman_openscap/bulk_upload_test.rb +3 -4
- metadata +50 -4
@@ -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"
|
@@ -95,7 +95,7 @@ msgstr "上一頁"
|
|
95
95
|
msgid "By default, remediation is applied to the current host. Optionally, remediate any additional hosts that fail the rule."
|
96
96
|
msgstr ""
|
97
97
|
|
98
|
-
msgid "Can't find
|
98
|
+
msgid "Can't find %{packages} RPM(s), are you sure it is installed on your server?"
|
99
99
|
msgstr ""
|
100
100
|
|
101
101
|
msgid "Cancel"
|
File without changes
|
@@ -2,7 +2,6 @@ require 'test_plugin_helper'
|
|
2
2
|
|
3
3
|
class BulkUploadTest < ActiveSupport::TestCase
|
4
4
|
setup do
|
5
|
-
require 'foreman_openscap/bulk_upload'
|
6
5
|
ForemanOpenscap::ScapContent.all.map(&:destroy)
|
7
6
|
end
|
8
7
|
|
@@ -48,14 +47,14 @@ class BulkUploadTest < ActiveSupport::TestCase
|
|
48
47
|
|
49
48
|
test 'should handle case when scap security guide is not installed' do
|
50
49
|
upload = ForemanOpenscap::BulkUpload.new
|
51
|
-
upload.stubs(:
|
50
|
+
upload.stubs(:package_installed?).returns(false)
|
52
51
|
res = upload.upload_from_scap_guide
|
53
|
-
assert_equal "Can't find scap-security-guide RPM, are you sure it is installed on your server?", res.errors.first
|
52
|
+
assert_equal "Can't find scap-security-guide RPM(s), are you sure it is installed on your server?", res.errors.first
|
54
53
|
end
|
55
54
|
|
56
55
|
test 'should upload files from guide' do
|
57
56
|
upload = ForemanOpenscap::BulkUpload.new
|
58
|
-
upload.stubs(:
|
57
|
+
upload.stubs(:package_installed?).returns(true)
|
59
58
|
upload.stubs(:files_from_guide).returns(["#{ForemanOpenscap::Engine.root}/test/files/scap_contents/ssg-fedora-ds.xml"])
|
60
59
|
assert_difference('ForemanOpenscap::ScapContent.count', 1) do
|
61
60
|
upload.upload_from_scap_guide
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foreman_openscap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 10.0
|
4
|
+
version: 10.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- slukasik@redhat.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-12-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -24,6 +24,20 @@ dependencies:
|
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rdoc
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
27
41
|
description: Foreman plug-in for managing security compliance reports
|
28
42
|
email:
|
29
43
|
- slukasik@redhat.com
|
@@ -116,6 +130,7 @@ files:
|
|
116
130
|
- app/models/foreman_openscap/scap_content_profile.rb
|
117
131
|
- app/models/foreman_openscap/tailoring_file.rb
|
118
132
|
- app/services/foreman_openscap/arf_report_status_calculator.rb
|
133
|
+
- app/services/foreman_openscap/bulk_upload.rb
|
119
134
|
- app/services/foreman_openscap/client_config/ansible.rb
|
120
135
|
- app/services/foreman_openscap/client_config/base.rb
|
121
136
|
- app/services/foreman_openscap/client_config/manual.rb
|
@@ -286,7 +301,6 @@ files:
|
|
286
301
|
- db/seeds.d/openscap_feature.rb
|
287
302
|
- db/seeds.d/openscap_policy_notification.rb
|
288
303
|
- lib/foreman_openscap.rb
|
289
|
-
- lib/foreman_openscap/bulk_upload.rb
|
290
304
|
- lib/foreman_openscap/data_migration.rb
|
291
305
|
- lib/foreman_openscap/engine.rb
|
292
306
|
- lib/foreman_openscap/helper.rb
|
@@ -295,39 +309,71 @@ files:
|
|
295
309
|
- lib/tasks/foreman_openscap_tasks.rake
|
296
310
|
- locale/Makefile
|
297
311
|
- locale/cs_CZ/LC_MESSAGES/foreman_openscap.mo
|
312
|
+
- locale/cs_CZ/foreman_openscap.edit.po
|
298
313
|
- locale/cs_CZ/foreman_openscap.po
|
314
|
+
- locale/cs_CZ/foreman_openscap.po.time_stamp
|
299
315
|
- locale/de/LC_MESSAGES/foreman_openscap.mo
|
316
|
+
- locale/de/foreman_openscap.edit.po
|
300
317
|
- locale/de/foreman_openscap.po
|
318
|
+
- locale/de/foreman_openscap.po.time_stamp
|
301
319
|
- locale/en/LC_MESSAGES/foreman_openscap.mo
|
320
|
+
- locale/en/foreman_openscap.edit.po
|
302
321
|
- locale/en/foreman_openscap.po
|
322
|
+
- locale/en/foreman_openscap.po.time_stamp
|
303
323
|
- locale/en_GB/LC_MESSAGES/foreman_openscap.mo
|
324
|
+
- locale/en_GB/foreman_openscap.edit.po
|
304
325
|
- locale/en_GB/foreman_openscap.po
|
326
|
+
- locale/en_GB/foreman_openscap.po.time_stamp
|
305
327
|
- locale/es/LC_MESSAGES/foreman_openscap.mo
|
328
|
+
- locale/es/foreman_openscap.edit.po
|
306
329
|
- locale/es/foreman_openscap.po
|
330
|
+
- locale/es/foreman_openscap.po.time_stamp
|
307
331
|
- locale/foreman_openscap.pot
|
308
332
|
- locale/fr/LC_MESSAGES/foreman_openscap.mo
|
333
|
+
- locale/fr/foreman_openscap.edit.po
|
309
334
|
- locale/fr/foreman_openscap.po
|
335
|
+
- locale/fr/foreman_openscap.po.time_stamp
|
310
336
|
- locale/gl/LC_MESSAGES/foreman_openscap.mo
|
337
|
+
- locale/gl/foreman_openscap.edit.po
|
311
338
|
- locale/gl/foreman_openscap.po
|
339
|
+
- locale/gl/foreman_openscap.po.time_stamp
|
312
340
|
- locale/it/LC_MESSAGES/foreman_openscap.mo
|
341
|
+
- locale/it/foreman_openscap.edit.po
|
313
342
|
- locale/it/foreman_openscap.po
|
343
|
+
- locale/it/foreman_openscap.po.time_stamp
|
314
344
|
- locale/ja/LC_MESSAGES/foreman_openscap.mo
|
345
|
+
- locale/ja/foreman_openscap.edit.po
|
315
346
|
- locale/ja/foreman_openscap.po
|
347
|
+
- locale/ja/foreman_openscap.po.time_stamp
|
316
348
|
- locale/ka/LC_MESSAGES/foreman_openscap.mo
|
349
|
+
- locale/ka/foreman_openscap.edit.po
|
317
350
|
- locale/ka/foreman_openscap.po
|
351
|
+
- locale/ka/foreman_openscap.po.time_stamp
|
318
352
|
- locale/ko/LC_MESSAGES/foreman_openscap.mo
|
353
|
+
- locale/ko/foreman_openscap.edit.po
|
319
354
|
- locale/ko/foreman_openscap.po
|
355
|
+
- locale/ko/foreman_openscap.po.time_stamp
|
320
356
|
- locale/pt_BR/LC_MESSAGES/foreman_openscap.mo
|
357
|
+
- locale/pt_BR/foreman_openscap.edit.po
|
321
358
|
- locale/pt_BR/foreman_openscap.po
|
359
|
+
- locale/pt_BR/foreman_openscap.po.time_stamp
|
322
360
|
- locale/ru/LC_MESSAGES/foreman_openscap.mo
|
361
|
+
- locale/ru/foreman_openscap.edit.po
|
323
362
|
- locale/ru/foreman_openscap.po
|
363
|
+
- locale/ru/foreman_openscap.po.time_stamp
|
324
364
|
- locale/sv_SE/LC_MESSAGES/foreman_openscap.mo
|
365
|
+
- locale/sv_SE/foreman_openscap.edit.po
|
325
366
|
- locale/sv_SE/foreman_openscap.po
|
367
|
+
- locale/sv_SE/foreman_openscap.po.time_stamp
|
326
368
|
- locale/zanata.xml
|
327
369
|
- locale/zh_CN/LC_MESSAGES/foreman_openscap.mo
|
370
|
+
- locale/zh_CN/foreman_openscap.edit.po
|
328
371
|
- locale/zh_CN/foreman_openscap.po
|
372
|
+
- locale/zh_CN/foreman_openscap.po.time_stamp
|
329
373
|
- locale/zh_TW/LC_MESSAGES/foreman_openscap.mo
|
374
|
+
- locale/zh_TW/foreman_openscap.edit.po
|
330
375
|
- locale/zh_TW/foreman_openscap.po
|
376
|
+
- locale/zh_TW/foreman_openscap.po.time_stamp
|
331
377
|
- package.json
|
332
378
|
- test/factories/arf_report_factory.rb
|
333
379
|
- test/factories/asset_factory.rb
|
@@ -437,7 +483,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
437
483
|
- !ruby/object:Gem::Version
|
438
484
|
version: '0'
|
439
485
|
requirements: []
|
440
|
-
rubygems_version: 3.
|
486
|
+
rubygems_version: 3.2.33
|
441
487
|
signing_key:
|
442
488
|
specification_version: 4
|
443
489
|
summary: Foreman plug-in for displaying OpenSCAP audit reports
|