foreman_openscap 9.0.4 → 10.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) 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 +1443 -0
  23. data/locale/cs_CZ/foreman_openscap.po +0 -9
  24. data/locale/cs_CZ/foreman_openscap.po.time_stamp +0 -0
  25. data/locale/de/LC_MESSAGES/foreman_openscap.mo +0 -0
  26. data/locale/de/foreman_openscap.edit.po +1468 -0
  27. data/locale/de/foreman_openscap.po +0 -9
  28. data/locale/de/foreman_openscap.po.time_stamp +0 -0
  29. data/locale/en/foreman_openscap.edit.po +1443 -0
  30. data/locale/en/foreman_openscap.po +0 -9
  31. data/locale/en/foreman_openscap.po.time_stamp +0 -0
  32. data/locale/en_GB/foreman_openscap.edit.po +1443 -0
  33. data/locale/en_GB/foreman_openscap.po +0 -9
  34. data/locale/en_GB/foreman_openscap.po.time_stamp +0 -0
  35. data/locale/es/LC_MESSAGES/foreman_openscap.mo +0 -0
  36. data/locale/es/foreman_openscap.edit.po +1463 -0
  37. data/locale/es/foreman_openscap.po +0 -9
  38. data/locale/es/foreman_openscap.po.time_stamp +0 -0
  39. data/locale/foreman_openscap.pot +47 -57
  40. data/locale/fr/LC_MESSAGES/foreman_openscap.mo +0 -0
  41. data/locale/fr/foreman_openscap.edit.po +1469 -0
  42. data/locale/fr/foreman_openscap.po +0 -9
  43. data/locale/fr/foreman_openscap.po.time_stamp +0 -0
  44. data/locale/gl/foreman_openscap.edit.po +1443 -0
  45. data/locale/gl/foreman_openscap.po +0 -9
  46. data/locale/gl/foreman_openscap.po.time_stamp +0 -0
  47. data/locale/it/foreman_openscap.edit.po +1445 -0
  48. data/locale/it/foreman_openscap.po +0 -9
  49. data/locale/it/foreman_openscap.po.time_stamp +0 -0
  50. data/locale/ja/LC_MESSAGES/foreman_openscap.mo +0 -0
  51. data/locale/ja/foreman_openscap.edit.po +1460 -0
  52. data/locale/ja/foreman_openscap.po +0 -9
  53. data/locale/ja/foreman_openscap.po.time_stamp +0 -0
  54. data/locale/ka/LC_MESSAGES/foreman_openscap.mo +0 -0
  55. data/locale/ka/foreman_openscap.edit.po +1449 -0
  56. data/locale/ka/foreman_openscap.po +0 -9
  57. data/locale/ka/foreman_openscap.po.time_stamp +0 -0
  58. data/locale/ko/foreman_openscap.edit.po +1443 -0
  59. data/locale/ko/foreman_openscap.po +0 -9
  60. data/locale/ko/foreman_openscap.po.time_stamp +0 -0
  61. data/locale/pt_BR/LC_MESSAGES/foreman_openscap.mo +0 -0
  62. data/locale/pt_BR/foreman_openscap.edit.po +1468 -0
  63. data/locale/pt_BR/foreman_openscap.po +0 -9
  64. data/locale/pt_BR/foreman_openscap.po.time_stamp +0 -0
  65. data/locale/ru/foreman_openscap.edit.po +1447 -0
  66. data/locale/ru/foreman_openscap.po +0 -9
  67. data/locale/ru/foreman_openscap.po.time_stamp +0 -0
  68. data/locale/sv_SE/foreman_openscap.edit.po +1443 -0
  69. data/locale/sv_SE/foreman_openscap.po +0 -9
  70. data/locale/sv_SE/foreman_openscap.po.time_stamp +0 -0
  71. data/locale/zh_CN/LC_MESSAGES/foreman_openscap.mo +0 -0
  72. data/locale/zh_CN/foreman_openscap.edit.po +1459 -0
  73. data/locale/zh_CN/foreman_openscap.po +0 -9
  74. data/locale/zh_CN/foreman_openscap.po.time_stamp +0 -0
  75. data/locale/zh_TW/foreman_openscap.edit.po +1444 -0
  76. data/locale/zh_TW/foreman_openscap.po +0 -9
  77. data/locale/zh_TW/foreman_openscap.po.time_stamp +0 -0
  78. data/test/unit/message_cleaner_test.rb +1 -0
  79. metadata +35 -3
@@ -917,12 +917,6 @@ msgstr "En el Protocolo de Automatización del Contenido de Seguridad (SCAP, por
917
917
  msgid "The following %{key_name} were missing for %{item_name}: %{key_names}. Make sure they are imported before proceeding."
918
918
  msgstr "Faltan los siguientes %{key_name} para %{item_name}: %{key_names}. Asegúrese de que se importan antes de continuar."
919
919
 
920
- msgid "The following Smart Proxies need to be updated to unlock the feature: %s. "
921
- msgstr "Deben actualizarse los siguientes proxies inteligentes al desbloquear la funcionalidad: %s. "
922
-
923
- msgid "The following proxies could not be reached: %s. Please make sure they are available so Foreman can check their versions."
924
- msgstr "No se pudieron alcanzar los siguientes proxies: %s. Asegúrese de que estén disponibles para que Foreman pueda verificar sus versiones."
925
-
926
920
  msgid "The identifier of the host"
927
921
  msgstr "El identificador del host"
928
922
 
@@ -941,9 +935,6 @@ msgstr ""
941
935
  msgid "There's no available report for this host"
942
936
  msgstr ""
943
937
 
944
- msgid "This feature is temporarily disabled. "
945
- msgstr "Esta función se encuentra temporalmente deshabilitada."
946
-
947
938
  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."
948
939
  msgstr ""
949
940
 
File without changes
@@ -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-07-10 15:24+0000\n"
12
- "PO-Revision-Date: 2024-07-10 15:24+0000\n"
11
+ "POT-Creation-Date: 2024-09-12 14:42+0000\n"
12
+ "PO-Revision-Date: 2024-09-12 14:42+0000\n"
13
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
15
  "Language: \n"
@@ -169,7 +169,7 @@ msgid "XML containing SCAP content"
169
169
  msgstr ""
170
170
 
171
171
  #: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:42
172
- #: ../app/controllers/api/v2/compliance/tailoring_files_controller.rb:37
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
 
@@ -207,35 +207,35 @@ msgid ""
207
207
  "}"
208
208
  msgstr ""
209
209
 
210
- #: ../app/controllers/api/v2/compliance/tailoring_files_controller.rb:11
210
+ #: ../app/controllers/api/v2/compliance/tailoring_files_controller.rb:10
211
211
  msgid "List Tailoring files"
212
212
  msgstr ""
213
213
 
214
- #: ../app/controllers/api/v2/compliance/tailoring_files_controller.rb:19
214
+ #: ../app/controllers/api/v2/compliance/tailoring_files_controller.rb:18
215
215
  msgid "Download a Tailoring file as XML"
216
216
  msgstr ""
217
217
 
218
- #: ../app/controllers/api/v2/compliance/tailoring_files_controller.rb:28
218
+ #: ../app/controllers/api/v2/compliance/tailoring_files_controller.rb:27
219
219
  msgid "Show a Tailoring file"
220
220
  msgstr ""
221
221
 
222
- #: ../app/controllers/api/v2/compliance/tailoring_files_controller.rb:35
222
+ #: ../app/controllers/api/v2/compliance/tailoring_files_controller.rb:34
223
223
  msgid "Tailoring file name"
224
224
  msgstr ""
225
225
 
226
- #: ../app/controllers/api/v2/compliance/tailoring_files_controller.rb:36
226
+ #: ../app/controllers/api/v2/compliance/tailoring_files_controller.rb:35
227
227
  msgid "XML containing tailoring file"
228
228
  msgstr ""
229
229
 
230
- #: ../app/controllers/api/v2/compliance/tailoring_files_controller.rb:42
230
+ #: ../app/controllers/api/v2/compliance/tailoring_files_controller.rb:41
231
231
  msgid "Create a Tailoring file"
232
232
  msgstr ""
233
233
 
234
- #: ../app/controllers/api/v2/compliance/tailoring_files_controller.rb:50
234
+ #: ../app/controllers/api/v2/compliance/tailoring_files_controller.rb:49
235
235
  msgid "Update a Tailoring file"
236
236
  msgstr ""
237
237
 
238
- #: ../app/controllers/api/v2/compliance/tailoring_files_controller.rb:58
238
+ #: ../app/controllers/api/v2/compliance/tailoring_files_controller.rb:57
239
239
  msgid "Deletes a Tailoring file"
240
240
  msgstr ""
241
241
 
@@ -476,7 +476,7 @@ msgstr ""
476
476
 
477
477
  #: ../app/helpers/compliance_hosts_helper.rb:37
478
478
  #: ../app/models/foreman_openscap/compliance_status.rb:8
479
- #: ../lib/foreman_openscap/engine.rb:140
479
+ #: ../lib/foreman_openscap/engine.rb:132
480
480
  #: ../webpack/components/HostExtentions/HostKebabItems.js:39
481
481
  msgid "Compliance"
482
482
  msgstr ""
@@ -533,6 +533,7 @@ msgstr ""
533
533
  #: ../app/helpers/policies_helper.rb:115
534
534
  #: ../app/views/arf_reports/_list.html.erb:53
535
535
  #: ../webpack/components/ConfirmModal.js:29
536
+ #: ../webpack/components/OpenscapRemediationWizard/Footer.js:47
536
537
  msgid "Cancel"
537
538
  msgstr ""
538
539
 
@@ -676,23 +677,23 @@ msgstr ""
676
677
  msgid "Cannot generate HTML guide, no valid OpenSCAP proxy server found."
677
678
  msgstr ""
678
679
 
679
- #: ../app/models/foreman_openscap/policy.rb:227
680
+ #: ../app/models/foreman_openscap/policy.rb:223
680
681
  msgid "must be present when tailoring file profile present"
681
682
  msgstr ""
682
683
 
683
- #: ../app/models/foreman_openscap/policy.rb:228
684
+ #: ../app/models/foreman_openscap/policy.rb:224
684
685
  msgid "must be present when tailoring file present"
685
686
  msgstr ""
686
687
 
687
- #: ../app/models/foreman_openscap/policy.rb:233
688
+ #: ../app/models/foreman_openscap/policy.rb:229
688
689
  msgid "does not come from selected tailoring file"
689
690
  msgstr ""
690
691
 
691
- #: ../app/models/foreman_openscap/policy.rb:239
692
+ #: ../app/models/foreman_openscap/policy.rb:235
692
693
  msgid "does not have the selected SCAP content profile"
693
694
  msgstr ""
694
695
 
695
- #: ../app/models/foreman_openscap/policy.rb:271
696
+ #: ../app/models/foreman_openscap/policy.rb:267
696
697
  msgid ""
697
698
  "cannot assign to %s, all assigned policies must be deployed in the same way, c"
698
699
  "heck 'deploy by' for each assigned policy"
@@ -776,20 +777,6 @@ msgstr ""
776
777
  msgid "Failed to save when overriding parameters for %{config_tool}, cause: %{errors}"
777
778
  msgstr ""
778
779
 
779
- #: ../app/services/foreman_openscap/openscap_proxy_version_check.rb:39
780
- msgid "This feature is temporarily disabled. "
781
- msgstr ""
782
-
783
- #: ../app/services/foreman_openscap/openscap_proxy_version_check.rb:40
784
- msgid "The following Smart Proxies need to be updated to unlock the feature: %s. "
785
- msgstr ""
786
-
787
- #: ../app/services/foreman_openscap/openscap_proxy_version_check.rb:41
788
- msgid ""
789
- "The following proxies could not be reached: %s. Please make sure they are avai"
790
- "lable so Foreman can check their versions."
791
- msgstr ""
792
-
793
780
  #: ../app/validators/foreman_openscap/data_stream_validator.rb:9
794
781
  msgid "No proxy with OpenSCAP feature was found."
795
782
  msgstr ""
@@ -905,6 +892,7 @@ msgid "these Compliance reports"
905
892
  msgstr ""
906
893
 
907
894
  #: ../app/views/arf_reports/show.html.erb:14
895
+ #: ../webpack/components/OpenscapRemediationWizard/Footer.js:40
908
896
  msgid "Back"
909
897
  msgstr ""
910
898
 
@@ -961,7 +949,7 @@ msgid "No report for this policy"
961
949
  msgstr ""
962
950
 
963
951
  #: ../app/views/dashboard/_compliance_host_reports_widget.html.erb:1
964
- #: ../lib/foreman_openscap/engine.rb:156
952
+ #: ../lib/foreman_openscap/engine.rb:148
965
953
  msgid "Latest Compliance Reports"
966
954
  msgstr ""
967
955
 
@@ -978,7 +966,7 @@ msgid "Policy is missing"
978
966
  msgstr ""
979
967
 
980
968
  #: ../app/views/dashboard/_compliance_reports_breakdown_widget.html.erb:1
981
- #: ../lib/foreman_openscap/engine.rb:158
969
+ #: ../lib/foreman_openscap/engine.rb:150
982
970
  msgid "Compliance Reports Breakdown"
983
971
  msgstr ""
984
972
 
@@ -1147,6 +1135,7 @@ msgid "Choose day in month"
1147
1135
  msgstr ""
1148
1136
 
1149
1137
  #: ../app/views/policies/steps/_step_form.html.erb:11
1138
+ #: ../webpack/components/OpenscapRemediationWizard/Footer.js:31
1150
1139
  msgid "Next"
1151
1140
  msgstr ""
1152
1141
 
@@ -1320,7 +1309,7 @@ msgstr ""
1320
1309
  #: ../app/views/tailoring_files/index.html.erb:1
1321
1310
  #: ../app/views/tailoring_files/welcome.html.erb:1
1322
1311
  #: ../app/views/tailoring_files/welcome.html.erb:6
1323
- #: ../lib/foreman_openscap/engine.rb:150
1312
+ #: ../lib/foreman_openscap/engine.rb:142
1324
1313
  msgid "Tailoring Files"
1325
1314
  msgstr ""
1326
1315
 
@@ -1345,7 +1334,7 @@ msgid ""
1345
1334
  " via %s"
1346
1335
  msgstr ""
1347
1336
 
1348
- #: ../app/views/tailoring_files/welcome.html.erb:13
1337
+ #: ../app/views/tailoring_files/welcome.html.erb:12
1349
1338
  msgid "New Tailoring File"
1350
1339
  msgstr ""
1351
1340
 
@@ -1391,41 +1380,41 @@ msgstr ""
1391
1380
  msgid "%s content"
1392
1381
  msgstr ""
1393
1382
 
1394
- #: ../lib/foreman_openscap/engine.rb:141
1383
+ #: ../lib/foreman_openscap/engine.rb:133
1395
1384
  msgid "Policies"
1396
1385
  msgstr ""
1397
1386
 
1398
- #: ../lib/foreman_openscap/engine.rb:144
1387
+ #: ../lib/foreman_openscap/engine.rb:136
1399
1388
  msgid "SCAP contents"
1400
1389
  msgstr ""
1401
1390
 
1402
- #: ../lib/foreman_openscap/engine.rb:147
1391
+ #: ../lib/foreman_openscap/engine.rb:139
1403
1392
  msgid "Reports"
1404
1393
  msgstr ""
1405
1394
 
1406
- #: ../lib/foreman_openscap/engine.rb:172
1395
+ #: ../lib/foreman_openscap/engine.rb:164
1407
1396
  msgid ""
1408
1397
  "OpenSCAP Proxy to use for fetching SCAP content and uploading ARF reports. Lea"
1409
1398
  "ve blank and override appropriate parameters when using proxy load balancer."
1410
1399
  msgstr ""
1411
1400
 
1412
- #: ../lib/foreman_openscap/engine.rb:176 ../lib/foreman_openscap/engine.rb:181
1401
+ #: ../lib/foreman_openscap/engine.rb:168 ../lib/foreman_openscap/engine.rb:173
1413
1402
  msgid "OpenSCAP Proxy"
1414
1403
  msgstr ""
1415
1404
 
1416
- #: ../lib/foreman_openscap/engine.rb:178 ../lib/foreman_openscap/engine.rb:183
1405
+ #: ../lib/foreman_openscap/engine.rb:170 ../lib/foreman_openscap/engine.rb:175
1417
1406
  msgid "ID of OpenSCAP Proxy"
1418
1407
  msgstr ""
1419
1408
 
1420
- #: ../lib/foreman_openscap/engine.rb:222 ../lib/foreman_openscap/engine.rb:240
1409
+ #: ../lib/foreman_openscap/engine.rb:215 ../lib/foreman_openscap/engine.rb:233
1421
1410
  msgid "Run OpenSCAP scan"
1422
1411
  msgstr ""
1423
1412
 
1424
- #: ../lib/foreman_openscap/engine.rb:227 ../lib/foreman_openscap/engine.rb:241
1413
+ #: ../lib/foreman_openscap/engine.rb:220 ../lib/foreman_openscap/engine.rb:234
1425
1414
  msgid "Run OpenSCAP remediation with Ansible"
1426
1415
  msgstr ""
1427
1416
 
1428
- #: ../lib/foreman_openscap/engine.rb:232 ../lib/foreman_openscap/engine.rb:242
1417
+ #: ../lib/foreman_openscap/engine.rb:225 ../lib/foreman_openscap/engine.rb:235
1429
1418
  msgid "Run OpenSCAP remediation with Shell"
1430
1419
  msgstr ""
1431
1420
 
@@ -1441,34 +1430,35 @@ msgstr ""
1441
1430
  msgid "There's no available report for this host"
1442
1431
  msgstr ""
1443
1432
 
1444
- #: ../webpack/components/OpenscapRemediationWizard/ViewSelectedHostsLink.js:28
1445
- msgid "View selected hosts"
1433
+ #: ../webpack/components/OpenscapRemediationWizard/Footer.js:30
1434
+ #: ../webpack/components/OpenscapRemediationWizard/index.js:94
1435
+ msgid "Run"
1446
1436
  msgstr ""
1447
1437
 
1448
- #: ../webpack/components/OpenscapRemediationWizard/index.js:69
1449
- #: ../webpack/components/OpenscapRemediationWizard/steps/ReviewHosts.js:193
1450
- msgid "Review hosts"
1438
+ #: ../webpack/components/OpenscapRemediationWizard/ViewSelectedHostsLink.js:28
1439
+ msgid "View selected hosts"
1451
1440
  msgstr ""
1452
1441
 
1453
- #: ../webpack/components/OpenscapRemediationWizard/index.js:77
1442
+ #: ../webpack/components/OpenscapRemediationWizard/constants.js:19
1454
1443
  #: ../webpack/components/OpenscapRemediationWizard/steps/SnippetSelect.js:123
1455
1444
  msgid "Select snippet"
1456
1445
  msgstr ""
1457
1446
 
1458
- #: ../webpack/components/OpenscapRemediationWizard/index.js:85
1459
- #: ../webpack/components/OpenscapRemediationWizard/steps/ReviewRemediation.js:97
1460
- msgid "Review remediation"
1447
+ #: ../webpack/components/OpenscapRemediationWizard/constants.js:20
1448
+ #: ../webpack/components/OpenscapRemediationWizard/steps/ReviewHosts.js:193
1449
+ msgid "Review hosts"
1461
1450
  msgstr ""
1462
1451
 
1463
- #: ../webpack/components/OpenscapRemediationWizard/index.js:89
1464
- msgid "Run"
1452
+ #: ../webpack/components/OpenscapRemediationWizard/constants.js:21
1453
+ #: ../webpack/components/OpenscapRemediationWizard/steps/ReviewRemediation.js:97
1454
+ msgid "Review remediation"
1465
1455
  msgstr ""
1466
1456
 
1467
- #: ../webpack/components/OpenscapRemediationWizard/index.js:93
1457
+ #: ../webpack/components/OpenscapRemediationWizard/constants.js:22
1468
1458
  msgid "Done"
1469
1459
  msgstr ""
1470
1460
 
1471
- #: ../webpack/components/OpenscapRemediationWizard/index.js:127
1461
+ #: ../webpack/components/OpenscapRemediationWizard/index.js:132
1472
1462
  msgid "Remediate %s rule"
1473
1463
  msgstr ""
1474
1464