foreman_openscap 9.0.3 → 10.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (66) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/foreman_openscap/locale/cs_CZ/foreman_openscap.js +0 -9
  3. data/app/assets/javascripts/foreman_openscap/locale/de/foreman_openscap.js +0 -9
  4. data/app/assets/javascripts/foreman_openscap/locale/en/foreman_openscap.js +0 -9
  5. data/app/assets/javascripts/foreman_openscap/locale/en_GB/foreman_openscap.js +0 -9
  6. data/app/assets/javascripts/foreman_openscap/locale/es/foreman_openscap.js +0 -9
  7. data/app/assets/javascripts/foreman_openscap/locale/fr/foreman_openscap.js +0 -9
  8. data/app/assets/javascripts/foreman_openscap/locale/gl/foreman_openscap.js +0 -9
  9. data/app/assets/javascripts/foreman_openscap/locale/it/foreman_openscap.js +0 -9
  10. data/app/assets/javascripts/foreman_openscap/locale/ja/foreman_openscap.js +0 -9
  11. data/app/assets/javascripts/foreman_openscap/locale/ka/foreman_openscap.js +0 -9
  12. data/app/assets/javascripts/foreman_openscap/locale/ko/foreman_openscap.js +0 -9
  13. data/app/assets/javascripts/foreman_openscap/locale/pt_BR/foreman_openscap.js +0 -9
  14. data/app/assets/javascripts/foreman_openscap/locale/ru/foreman_openscap.js +0 -9
  15. data/app/assets/javascripts/foreman_openscap/locale/sv_SE/foreman_openscap.js +0 -9
  16. data/app/assets/javascripts/foreman_openscap/locale/zh_CN/foreman_openscap.js +0 -9
  17. data/app/assets/javascripts/foreman_openscap/locale/zh_TW/foreman_openscap.js +0 -9
  18. data/app/helpers/foreman_openscap_helper.rb +2 -18
  19. data/db/migrate/20201217161511_add_url_to_oval_content.rb +1 -1
  20. data/lib/foreman_openscap/engine.rb +148 -155
  21. data/lib/foreman_openscap/version.rb +1 -1
  22. data/locale/cs_CZ/foreman_openscap.edit.po +42 -54
  23. data/locale/cs_CZ/foreman_openscap.po +0 -9
  24. data/locale/de/LC_MESSAGES/foreman_openscap.mo +0 -0
  25. data/locale/de/foreman_openscap.edit.po +51 -250
  26. data/locale/de/foreman_openscap.po +0 -9
  27. data/locale/en/foreman_openscap.edit.po +42 -54
  28. data/locale/en/foreman_openscap.po +0 -9
  29. data/locale/en_GB/foreman_openscap.edit.po +42 -66
  30. data/locale/en_GB/foreman_openscap.po +0 -9
  31. data/locale/es/LC_MESSAGES/foreman_openscap.mo +0 -0
  32. data/locale/es/foreman_openscap.edit.po +51 -252
  33. data/locale/es/foreman_openscap.po +0 -9
  34. data/locale/foreman_openscap.pot +47 -57
  35. data/locale/fr/LC_MESSAGES/foreman_openscap.mo +0 -0
  36. data/locale/fr/foreman_openscap.edit.po +51 -258
  37. data/locale/fr/foreman_openscap.po +0 -9
  38. data/locale/gl/foreman_openscap.edit.po +42 -54
  39. data/locale/gl/foreman_openscap.po +0 -9
  40. data/locale/it/foreman_openscap.edit.po +42 -63
  41. data/locale/it/foreman_openscap.po +0 -9
  42. data/locale/ja/LC_MESSAGES/foreman_openscap.mo +0 -0
  43. data/locale/ja/foreman_openscap.edit.po +49 -248
  44. data/locale/ja/foreman_openscap.po +0 -9
  45. data/locale/ka/LC_MESSAGES/foreman_openscap.mo +0 -0
  46. data/locale/ka/foreman_openscap.edit.po +46 -251
  47. data/locale/ka/foreman_openscap.po +0 -9
  48. data/locale/ko/foreman_openscap.edit.po +42 -69
  49. data/locale/ko/foreman_openscap.po +0 -9
  50. data/locale/pt_BR/LC_MESSAGES/foreman_openscap.mo +0 -0
  51. data/locale/pt_BR/foreman_openscap.edit.po +51 -252
  52. data/locale/pt_BR/foreman_openscap.po +0 -9
  53. data/locale/ru/foreman_openscap.edit.po +42 -69
  54. data/locale/ru/foreman_openscap.po +0 -9
  55. data/locale/sv_SE/foreman_openscap.edit.po +42 -54
  56. data/locale/sv_SE/foreman_openscap.po +0 -9
  57. data/locale/zh_CN/LC_MESSAGES/foreman_openscap.mo +0 -0
  58. data/locale/zh_CN/foreman_openscap.edit.po +49 -246
  59. data/locale/zh_CN/foreman_openscap.po +0 -9
  60. data/locale/zh_TW/foreman_openscap.edit.po +42 -69
  61. data/locale/zh_TW/foreman_openscap.po +0 -9
  62. data/test/unit/message_cleaner_test.rb +1 -0
  63. data/webpack/components/OpenscapRemediationWizard/Footer.js +54 -0
  64. data/webpack/components/OpenscapRemediationWizard/constants.js +9 -0
  65. data/webpack/components/OpenscapRemediationWizard/index.js +11 -5
  66. metadata +6 -5
@@ -165,7 +165,7 @@ msgstr ""
165
165
  msgid "XML containing SCAP content"
166
166
  msgstr ""
167
167
 
168
- #: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:42 ../app/controllers/api/v2/compliance/tailoring_files_controller.rb:37
168
+ #: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:42 ../app/controllers/api/v2/compliance/tailoring_files_controller.rb:36
169
169
  msgid "Original file name of the XML file"
170
170
  msgstr ""
171
171
 
@@ -201,35 +201,35 @@ msgstr ""
201
201
  msgid "Please specify import type, received: %{received}, expected one of: %{expected}"
202
202
  msgstr ""
203
203
 
204
- #: ../app/controllers/api/v2/compliance/tailoring_files_controller.rb:11
204
+ #: ../app/controllers/api/v2/compliance/tailoring_files_controller.rb:10
205
205
  msgid "List Tailoring files"
206
206
  msgstr ""
207
207
 
208
- #: ../app/controllers/api/v2/compliance/tailoring_files_controller.rb:19
208
+ #: ../app/controllers/api/v2/compliance/tailoring_files_controller.rb:18
209
209
  msgid "Download a Tailoring file as XML"
210
210
  msgstr ""
211
211
 
212
- #: ../app/controllers/api/v2/compliance/tailoring_files_controller.rb:28
212
+ #: ../app/controllers/api/v2/compliance/tailoring_files_controller.rb:27
213
213
  msgid "Show a Tailoring file"
214
214
  msgstr ""
215
215
 
216
- #: ../app/controllers/api/v2/compliance/tailoring_files_controller.rb:35
216
+ #: ../app/controllers/api/v2/compliance/tailoring_files_controller.rb:34
217
217
  msgid "Tailoring file name"
218
218
  msgstr ""
219
219
 
220
- #: ../app/controllers/api/v2/compliance/tailoring_files_controller.rb:36
220
+ #: ../app/controllers/api/v2/compliance/tailoring_files_controller.rb:35
221
221
  msgid "XML containing tailoring file"
222
222
  msgstr ""
223
223
 
224
- #: ../app/controllers/api/v2/compliance/tailoring_files_controller.rb:42
224
+ #: ../app/controllers/api/v2/compliance/tailoring_files_controller.rb:41
225
225
  msgid "Create a Tailoring file"
226
226
  msgstr ""
227
227
 
228
- #: ../app/controllers/api/v2/compliance/tailoring_files_controller.rb:50
228
+ #: ../app/controllers/api/v2/compliance/tailoring_files_controller.rb:49
229
229
  msgid "Update a Tailoring file"
230
230
  msgstr ""
231
231
 
232
- #: ../app/controllers/api/v2/compliance/tailoring_files_controller.rb:58
232
+ #: ../app/controllers/api/v2/compliance/tailoring_files_controller.rb:57
233
233
  msgid "Deletes a Tailoring file"
234
234
  msgstr ""
235
235
 
@@ -440,7 +440,7 @@ msgstr "컴플라이언스 정책 할당 취소"
440
440
  msgid "Change OpenSCAP Proxy"
441
441
  msgstr ""
442
442
 
443
- #: ../app/helpers/compliance_hosts_helper.rb:37 ../app/models/foreman_openscap/compliance_status.rb:8 ../lib/foreman_openscap/engine.rb:140 ../webpack/components/HostExtentions/HostKebabItems.js:39
443
+ #: ../app/helpers/compliance_hosts_helper.rb:37 ../app/models/foreman_openscap/compliance_status.rb:8 ../lib/foreman_openscap/engine.rb:132 ../webpack/components/HostExtentions/HostKebabItems.js:39
444
444
  msgid "Compliance"
445
445
  msgstr "컴플라이언스 "
446
446
 
@@ -488,7 +488,7 @@ msgstr ""
488
488
  msgid "Submit"
489
489
  msgstr "보내기"
490
490
 
491
- #: ../app/helpers/policies_helper.rb:115 ../app/views/arf_reports/_list.html.erb:53 ../webpack/components/ConfirmModal.js:29
491
+ #: ../app/helpers/policies_helper.rb:115 ../app/views/arf_reports/_list.html.erb:53 ../webpack/components/ConfirmModal.js:29 ../webpack/components/OpenscapRemediationWizard/Footer.js:47
492
492
  msgid "Cancel"
493
493
  msgstr "취소"
494
494
 
@@ -616,23 +616,23 @@ msgstr ""
616
616
  msgid "Cannot generate HTML guide, no valid OpenSCAP proxy server found."
617
617
  msgstr ""
618
618
 
619
- #: ../app/models/foreman_openscap/policy.rb:227
619
+ #: ../app/models/foreman_openscap/policy.rb:223
620
620
  msgid "must be present when tailoring file profile present"
621
621
  msgstr ""
622
622
 
623
- #: ../app/models/foreman_openscap/policy.rb:228
623
+ #: ../app/models/foreman_openscap/policy.rb:224
624
624
  msgid "must be present when tailoring file present"
625
625
  msgstr ""
626
626
 
627
- #: ../app/models/foreman_openscap/policy.rb:233
627
+ #: ../app/models/foreman_openscap/policy.rb:229
628
628
  msgid "does not come from selected tailoring file"
629
629
  msgstr ""
630
630
 
631
- #: ../app/models/foreman_openscap/policy.rb:239
631
+ #: ../app/models/foreman_openscap/policy.rb:235
632
632
  msgid "does not have the selected SCAP content profile"
633
633
  msgstr ""
634
634
 
635
- #: ../app/models/foreman_openscap/policy.rb:271
635
+ #: ../app/models/foreman_openscap/policy.rb:267
636
636
  msgid "cannot assign to %s, all assigned policies must be deployed in the same way, check 'deploy by' for each assigned policy"
637
637
  msgstr ""
638
638
 
@@ -696,18 +696,6 @@ msgstr ""
696
696
  msgid "Failed to save when overriding parameters for %{config_tool}, cause: %{errors}"
697
697
  msgstr ""
698
698
 
699
- #: ../app/services/foreman_openscap/openscap_proxy_version_check.rb:39
700
- msgid "This feature is temporarily disabled. "
701
- msgstr ""
702
-
703
- #: ../app/services/foreman_openscap/openscap_proxy_version_check.rb:40
704
- msgid "The following Smart Proxies need to be updated to unlock the feature: %s. "
705
- msgstr ""
706
-
707
- #: ../app/services/foreman_openscap/openscap_proxy_version_check.rb:41
708
- msgid "The following proxies could not be reached: %s. Please make sure they are available so Foreman can check their versions."
709
- msgstr ""
710
-
711
699
  #: ../app/validators/foreman_openscap/data_stream_validator.rb:9
712
700
  msgid "No proxy with OpenSCAP feature was found."
713
701
  msgstr ""
@@ -816,7 +804,7 @@ msgstr "삭제"
816
804
  msgid "these Compliance reports"
817
805
  msgstr ""
818
806
 
819
- #: ../app/views/arf_reports/show.html.erb:14
807
+ #: ../app/views/arf_reports/show.html.erb:14 ../webpack/components/OpenscapRemediationWizard/Footer.js:40
820
808
  msgid "Back"
821
809
  msgstr "뒤로(_B)"
822
810
 
@@ -870,7 +858,7 @@ msgstr "기간별 %s 보고서"
870
858
  msgid "No report for this policy"
871
859
  msgstr "이 정책에 대한 보고서가 없습니다."
872
860
 
873
- #: ../app/views/dashboard/_compliance_host_reports_widget.html.erb:1 ../lib/foreman_openscap/engine.rb:156
861
+ #: ../app/views/dashboard/_compliance_host_reports_widget.html.erb:1 ../lib/foreman_openscap/engine.rb:148
874
862
  msgid "Latest Compliance Reports"
875
863
  msgstr ""
876
864
 
@@ -886,7 +874,7 @@ msgstr "호스트가 더 이상 존재하지 않음"
886
874
  msgid "Policy is missing"
887
875
  msgstr ""
888
876
 
889
- #: ../app/views/dashboard/_compliance_reports_breakdown_widget.html.erb:1 ../lib/foreman_openscap/engine.rb:158
877
+ #: ../app/views/dashboard/_compliance_reports_breakdown_widget.html.erb:1 ../lib/foreman_openscap/engine.rb:150
890
878
  msgid "Compliance Reports Breakdown"
891
879
  msgstr ""
892
880
 
@@ -1040,7 +1028,7 @@ msgstr ""
1040
1028
  msgid "Choose day in month"
1041
1029
  msgstr ""
1042
1030
 
1043
- #: ../app/views/policies/steps/_step_form.html.erb:11
1031
+ #: ../app/views/policies/steps/_step_form.html.erb:11 ../webpack/components/OpenscapRemediationWizard/Footer.js:31
1044
1032
  msgid "Next"
1045
1033
  msgstr "다음"
1046
1034
 
@@ -1200,7 +1188,7 @@ msgstr ""
1200
1188
  msgid "Delete tailoring file %s?"
1201
1189
  msgstr ""
1202
1190
 
1203
- #: ../app/views/tailoring_files/index.html.erb:1 ../app/views/tailoring_files/welcome.html.erb:1 ../app/views/tailoring_files/welcome.html.erb:6 ../lib/foreman_openscap/engine.rb:150
1191
+ #: ../app/views/tailoring_files/index.html.erb:1 ../app/views/tailoring_files/welcome.html.erb:1 ../app/views/tailoring_files/welcome.html.erb:6 ../lib/foreman_openscap/engine.rb:142
1204
1192
  msgid "Tailoring Files"
1205
1193
  msgstr ""
1206
1194
 
@@ -1222,7 +1210,7 @@ msgid ""
1222
1210
  " via %s"
1223
1211
  msgstr ""
1224
1212
 
1225
- #: ../app/views/tailoring_files/welcome.html.erb:13
1213
+ #: ../app/views/tailoring_files/welcome.html.erb:12
1226
1214
  msgid "New Tailoring File"
1227
1215
  msgstr ""
1228
1216
 
@@ -1266,39 +1254,39 @@ msgstr ""
1266
1254
  msgid "%s content"
1267
1255
  msgstr ""
1268
1256
 
1269
- #: ../lib/foreman_openscap/engine.rb:141
1257
+ #: ../lib/foreman_openscap/engine.rb:133
1270
1258
  msgid "Policies"
1271
1259
  msgstr "정책"
1272
1260
 
1273
- #: ../lib/foreman_openscap/engine.rb:144
1261
+ #: ../lib/foreman_openscap/engine.rb:136
1274
1262
  msgid "SCAP contents"
1275
1263
  msgstr "SCAP 컨텐츠"
1276
1264
 
1277
- #: ../lib/foreman_openscap/engine.rb:147
1265
+ #: ../lib/foreman_openscap/engine.rb:139
1278
1266
  msgid "Reports"
1279
1267
  msgstr "보고서 "
1280
1268
 
1281
- #: ../lib/foreman_openscap/engine.rb:172
1269
+ #: ../lib/foreman_openscap/engine.rb:164
1282
1270
  msgid "OpenSCAP Proxy to use for fetching SCAP content and uploading ARF reports. Leave blank and override appropriate parameters when using proxy load balancer."
1283
1271
  msgstr ""
1284
1272
 
1285
- #: ../lib/foreman_openscap/engine.rb:176 ../lib/foreman_openscap/engine.rb:181
1273
+ #: ../lib/foreman_openscap/engine.rb:168 ../lib/foreman_openscap/engine.rb:173
1286
1274
  msgid "OpenSCAP Proxy"
1287
1275
  msgstr ""
1288
1276
 
1289
- #: ../lib/foreman_openscap/engine.rb:178 ../lib/foreman_openscap/engine.rb:183
1277
+ #: ../lib/foreman_openscap/engine.rb:170 ../lib/foreman_openscap/engine.rb:175
1290
1278
  msgid "ID of OpenSCAP Proxy"
1291
1279
  msgstr ""
1292
1280
 
1293
- #: ../lib/foreman_openscap/engine.rb:222 ../lib/foreman_openscap/engine.rb:240
1281
+ #: ../lib/foreman_openscap/engine.rb:215 ../lib/foreman_openscap/engine.rb:233
1294
1282
  msgid "Run OpenSCAP scan"
1295
1283
  msgstr ""
1296
1284
 
1297
- #: ../lib/foreman_openscap/engine.rb:227 ../lib/foreman_openscap/engine.rb:241
1285
+ #: ../lib/foreman_openscap/engine.rb:220 ../lib/foreman_openscap/engine.rb:234
1298
1286
  msgid "Run OpenSCAP remediation with Ansible"
1299
1287
  msgstr ""
1300
1288
 
1301
- #: ../lib/foreman_openscap/engine.rb:232 ../lib/foreman_openscap/engine.rb:242
1289
+ #: ../lib/foreman_openscap/engine.rb:225 ../lib/foreman_openscap/engine.rb:235
1302
1290
  msgid "Run OpenSCAP remediation with Shell"
1303
1291
  msgstr ""
1304
1292
 
@@ -1314,31 +1302,31 @@ msgstr ""
1314
1302
  msgid "There's no available report for this host"
1315
1303
  msgstr ""
1316
1304
 
1317
- #: ../webpack/components/OpenscapRemediationWizard/ViewSelectedHostsLink.js:28
1318
- msgid "View selected hosts"
1305
+ #: ../webpack/components/OpenscapRemediationWizard/Footer.js:30 ../webpack/components/OpenscapRemediationWizard/index.js:94
1306
+ msgid "Run"
1319
1307
  msgstr ""
1320
1308
 
1321
- #: ../webpack/components/OpenscapRemediationWizard/index.js:69 ../webpack/components/OpenscapRemediationWizard/steps/ReviewHosts.js:193
1322
- msgid "Review hosts"
1309
+ #: ../webpack/components/OpenscapRemediationWizard/ViewSelectedHostsLink.js:28
1310
+ msgid "View selected hosts"
1323
1311
  msgstr ""
1324
1312
 
1325
- #: ../webpack/components/OpenscapRemediationWizard/index.js:77 ../webpack/components/OpenscapRemediationWizard/steps/SnippetSelect.js:123
1313
+ #: ../webpack/components/OpenscapRemediationWizard/constants.js:19 ../webpack/components/OpenscapRemediationWizard/steps/SnippetSelect.js:123
1326
1314
  msgid "Select snippet"
1327
1315
  msgstr ""
1328
1316
 
1329
- #: ../webpack/components/OpenscapRemediationWizard/index.js:85 ../webpack/components/OpenscapRemediationWizard/steps/ReviewRemediation.js:97
1330
- msgid "Review remediation"
1317
+ #: ../webpack/components/OpenscapRemediationWizard/constants.js:20 ../webpack/components/OpenscapRemediationWizard/steps/ReviewHosts.js:193
1318
+ msgid "Review hosts"
1331
1319
  msgstr ""
1332
1320
 
1333
- #: ../webpack/components/OpenscapRemediationWizard/index.js:89
1334
- msgid "Run"
1321
+ #: ../webpack/components/OpenscapRemediationWizard/constants.js:21 ../webpack/components/OpenscapRemediationWizard/steps/ReviewRemediation.js:97
1322
+ msgid "Review remediation"
1335
1323
  msgstr ""
1336
1324
 
1337
- #: ../webpack/components/OpenscapRemediationWizard/index.js:93
1325
+ #: ../webpack/components/OpenscapRemediationWizard/constants.js:22
1338
1326
  msgid "Done"
1339
1327
  msgstr ""
1340
1328
 
1341
- #: ../webpack/components/OpenscapRemediationWizard/index.js:127
1329
+ #: ../webpack/components/OpenscapRemediationWizard/index.js:132
1342
1330
  msgid "Remediate %s rule"
1343
1331
  msgstr ""
1344
1332
 
@@ -1453,18 +1441,3 @@ msgstr ""
1453
1441
  #: ../webpack/helpers/permissionsHelper.js:37
1454
1442
  msgid "Request the following permissions from administrator: %s."
1455
1443
  msgstr ""
1456
-
1457
- #~ msgid "Action with sub plans"
1458
- #~ msgstr "하위 계획이 있는 작업"
1459
-
1460
- #~ msgid "Import Puppet classes"
1461
- #~ msgstr "Puppet 클래스 가져오기"
1462
-
1463
- #~ msgid "Import facts"
1464
- #~ msgstr "팩트 불러오기"
1465
-
1466
- #~ msgid "Remote action:"
1467
- #~ msgstr "원격 작업:"
1468
-
1469
- #~ msgid "hosts"
1470
- #~ msgstr "호스트"
@@ -913,12 +913,6 @@ msgstr ""
913
913
  msgid "The following %{key_name} were missing for %{item_name}: %{key_names}. Make sure they are imported before proceeding."
914
914
  msgstr ""
915
915
 
916
- msgid "The following Smart Proxies need to be updated to unlock the feature: %s. "
917
- msgstr ""
918
-
919
- msgid "The following proxies could not be reached: %s. Please make sure they are available so Foreman can check their versions."
920
- msgstr ""
921
-
922
916
  msgid "The identifier of the host"
923
917
  msgstr ""
924
918
 
@@ -937,9 +931,6 @@ msgstr ""
937
931
  msgid "There's no available report for this host"
938
932
  msgstr ""
939
933
 
940
- msgid "This feature is temporarily disabled. "
941
- msgstr ""
942
-
943
934
  msgid "This leaves the setup of the foreman_scap_client solely on the user. The policy still needs to be defined in order to link incoming ARF reports."
944
935
  msgstr ""
945
936