foreman_openscap 1.0.10 → 2.0.0

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.
Files changed (55) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/api/v2/compliance/policies_controller.rb +1 -1
  3. data/app/controllers/policies_controller.rb +1 -1
  4. data/app/helpers/compliance_hosts_helper.rb +23 -0
  5. data/app/helpers/concerns/foreman_openscap/hosts_helper_extensions.rb +0 -6
  6. data/app/helpers/foreman_openscap_helper.rb +2 -10
  7. data/app/models/concerns/foreman_openscap/host_extensions.rb +1 -1
  8. data/app/models/foreman_openscap/policy.rb +12 -0
  9. data/lib/foreman_openscap/engine.rb +6 -4
  10. data/lib/foreman_openscap/version.rb +1 -1
  11. data/locale/de/LC_MESSAGES/foreman_openscap.mo +0 -0
  12. data/locale/de/foreman_openscap.po +401 -228
  13. data/locale/en_GB/LC_MESSAGES/foreman_openscap.mo +0 -0
  14. data/locale/en_GB/foreman_openscap.po +214 -43
  15. data/locale/es/LC_MESSAGES/foreman_openscap.mo +0 -0
  16. data/locale/es/foreman_openscap.po +446 -273
  17. data/locale/foreman_openscap.pot +275 -51
  18. data/locale/fr/LC_MESSAGES/foreman_openscap.mo +0 -0
  19. data/locale/fr/foreman_openscap.po +453 -274
  20. data/locale/gl/LC_MESSAGES/foreman_openscap.mo +0 -0
  21. data/locale/gl/foreman_openscap.po +227 -56
  22. data/locale/it/LC_MESSAGES/foreman_openscap.mo +0 -0
  23. data/locale/it/foreman_openscap.po +250 -78
  24. data/locale/ja/LC_MESSAGES/foreman_openscap.mo +0 -0
  25. data/locale/ja/foreman_openscap.po +445 -272
  26. data/locale/ko/LC_MESSAGES/foreman_openscap.mo +0 -0
  27. data/locale/ko/foreman_openscap.po +321 -150
  28. data/locale/pt_BR/LC_MESSAGES/foreman_openscap.mo +0 -0
  29. data/locale/pt_BR/foreman_openscap.po +448 -270
  30. data/locale/ru/LC_MESSAGES/foreman_openscap.mo +0 -0
  31. data/locale/ru/foreman_openscap.po +329 -155
  32. data/locale/sv_SE/LC_MESSAGES/foreman_openscap.mo +0 -0
  33. data/locale/sv_SE/foreman_openscap.po +227 -56
  34. data/locale/zh_CN/LC_MESSAGES/foreman_openscap.mo +0 -0
  35. data/locale/zh_CN/foreman_openscap.po +445 -271
  36. data/locale/zh_TW/LC_MESSAGES/foreman_openscap.mo +0 -0
  37. data/locale/zh_TW/foreman_openscap.po +318 -146
  38. data/test/unit/concerns/host_extensions_test.rb +7 -0
  39. data/test/unit/policy_test.rb +19 -0
  40. metadata +8 -23
  41. data/app/overrides/hosts/overview/host_compliance_status.rb +0 -4
  42. data/app/views/compliance_hosts/_compliance_status.erb +0 -6
  43. data/locale/de/foreman_openscap.edit.po +0 -0
  44. data/locale/en_GB/foreman_openscap.edit.po +0 -0
  45. data/locale/es/foreman_openscap.edit.po +0 -0
  46. data/locale/fr/foreman_openscap.edit.po +0 -0
  47. data/locale/gl/foreman_openscap.edit.po +0 -0
  48. data/locale/it/foreman_openscap.edit.po +0 -0
  49. data/locale/ja/foreman_openscap.edit.po +0 -0
  50. data/locale/ko/foreman_openscap.edit.po +0 -0
  51. data/locale/pt_BR/foreman_openscap.edit.po +0 -0
  52. data/locale/ru/foreman_openscap.edit.po +0 -0
  53. data/locale/sv_SE/foreman_openscap.edit.po +0 -0
  54. data/locale/zh_CN/foreman_openscap.edit.po +0 -0
  55. data/locale/zh_TW/foreman_openscap.edit.po +0 -0
@@ -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: 2019-09-05 16:51+0200\n"
12
- "PO-Revision-Date: 2019-09-05 16:51+0200\n"
11
+ "POT-Creation-Date: 2019-10-23 08:52+0000\n"
12
+ "PO-Revision-Date: 2019-10-23 08:52+0000\n"
13
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
15
  "Language: \n"
@@ -297,35 +297,37 @@ msgstr ""
297
297
  msgid "Something went wrong while selecting hosts - %s"
298
298
  msgstr ""
299
299
 
300
- #: ../app/helpers/arf_report_dashboard_helper.rb:10
300
+ #: ../app/helpers/arf_report_dashboard_helper.rb:18
301
301
  #: ../app/helpers/compliance_dashboard_helper.rb:8
302
- #: ../app/helpers/compliance_hosts_helper.rb:5
303
- #: ../app/helpers/compliance_hosts_helper.rb:22
302
+ #: ../app/helpers/compliance_hosts_helper.rb:15
304
303
  #: ../app/views/arf_reports/_list.html.erb:11
305
304
  #: ../app/views/foreman_openscap/policy_mailer/_hosts.erb:11
306
305
  #: ../app/views/policy_dashboard/_policy_reports.html.erb:10
307
306
  msgid "Failed"
308
307
  msgstr ""
309
308
 
310
- #: ../app/helpers/arf_report_dashboard_helper.rb:11
309
+ #: ../app/helpers/arf_report_dashboard_helper.rb:19
311
310
  #: ../app/helpers/compliance_dashboard_helper.rb:6
312
- #: ../app/helpers/compliance_hosts_helper.rb:4
313
- #: ../app/helpers/compliance_hosts_helper.rb:21
311
+ #: ../app/helpers/compliance_hosts_helper.rb:14
314
312
  #: ../app/views/arf_reports/_list.html.erb:10
315
313
  #: ../app/views/foreman_openscap/policy_mailer/_hosts.erb:8
316
314
  #: ../app/views/policy_dashboard/_policy_reports.html.erb:9
317
315
  msgid "Passed"
318
316
  msgstr ""
319
317
 
320
- #: ../app/helpers/arf_report_dashboard_helper.rb:12
321
- #: ../app/helpers/compliance_dashboard_helper.rb:10
322
- #: ../app/helpers/compliance_hosts_helper.rb:23
323
- msgid "Othered"
318
+ #: ../app/helpers/arf_report_dashboard_helper.rb:20
319
+ #: ../app/views/arf_reports/_list.html.erb:12
320
+ #: ../app/views/foreman_openscap/policy_mailer/_hosts.erb:14
321
+ #: ../app/views/policy_dashboard/_policy_reports.html.erb:11
322
+ msgid "Other"
324
323
  msgstr ""
325
324
 
326
- #: ../app/helpers/arf_report_dashboard_helper.rb:15
327
- #: ../app/helpers/compliance_hosts_helper.rb:9
328
- msgid "Compliance reports breakdown"
325
+ #: ../app/helpers/arf_report_dashboard_helper.rb:28
326
+ msgid "Number of Events"
327
+ msgstr ""
328
+
329
+ #: ../app/helpers/arf_report_dashboard_helper.rb:29
330
+ msgid "Rule Results"
329
331
  msgstr ""
330
332
 
331
333
  #: ../app/helpers/arf_reports_helper.rb:10
@@ -405,11 +407,9 @@ msgstr ""
405
407
  msgid "Othered|O"
406
408
  msgstr ""
407
409
 
408
- #: ../app/helpers/compliance_hosts_helper.rb:6
409
- #: ../app/views/arf_reports/_list.html.erb:12
410
- #: ../app/views/foreman_openscap/policy_mailer/_hosts.erb:14
411
- #: ../app/views/policy_dashboard/_policy_reports.html.erb:11
412
- msgid "Other"
410
+ #: ../app/helpers/compliance_dashboard_helper.rb:10
411
+ #: ../app/helpers/compliance_hosts_helper.rb:16
412
+ msgid "Othered"
413
413
  msgstr ""
414
414
 
415
415
  #: ../app/helpers/concerns/foreman_openscap/hosts_helper_extensions.rb:4
@@ -499,10 +499,6 @@ msgstr ""
499
499
  msgid "Not audited"
500
500
  msgstr ""
501
501
 
502
- #: ../app/helpers/policy_dashboard_helper.rb:17
503
- msgid "Compliance Status"
504
- msgstr ""
505
-
506
502
  #: ../app/helpers/policy_dashboard_helper.rb:41
507
503
  msgid "Host is assigned to policy"
508
504
  msgstr ""
@@ -648,7 +644,7 @@ msgstr ""
648
644
  msgid "does not have the selected SCAP content profile"
649
645
  msgstr ""
650
646
 
651
- #: ../app/models/foreman_openscap/policy.rb:316
647
+ #: ../app/models/foreman_openscap/policy.rb:317
652
648
  msgid ""
653
649
  "cannot assign to %s, all assigned policies must be deployed in the same way, c"
654
650
  "heck 'deploy by' for each assigned policy"
@@ -788,19 +784,15 @@ msgstr ""
788
784
  msgid "Please Confirm"
789
785
  msgstr ""
790
786
 
791
- #: ../app/views/arf_reports/_metrics.html.erb:4
787
+ #: ../app/views/arf_reports/_metrics.html.erb:6
792
788
  msgid "Report Metrics"
793
789
  msgstr ""
794
790
 
795
- #: ../app/views/arf_reports/_metrics.html.erb:12
796
- msgid "Report Status"
797
- msgstr ""
798
-
799
791
  #: ../app/views/arf_reports/_metrics.html.erb:13
800
- msgid "Number of Events"
792
+ msgid "Report Status"
801
793
  msgstr ""
802
794
 
803
- #: ../app/views/arf_reports/_metrics.html.erb:32
795
+ #: ../app/views/arf_reports/_metrics.html.erb:34
804
796
  msgid "Total"
805
797
  msgstr ""
806
798
 
@@ -829,7 +821,7 @@ msgstr ""
829
821
  msgid "Host"
830
822
  msgstr ""
831
823
 
832
- #: ../app/views/arf_reports/delete_multiple.html.erb:27
824
+ #: ../app/views/arf_reports/delete_multiple.html.erb:27 action_names.rb:10
833
825
  msgid "Delete"
834
826
  msgstr ""
835
827
 
@@ -875,33 +867,33 @@ msgstr ""
875
867
  msgid "Host compliance details"
876
868
  msgstr ""
877
869
 
878
- #: ../app/views/compliance_hosts/show.html.erb:8
870
+ #: ../app/views/compliance_hosts/show.html.erb:9
879
871
  msgid "Compliance Hosts"
880
872
  msgstr ""
881
873
 
882
- #: ../app/views/compliance_hosts/show.html.erb:10
874
+ #: ../app/views/compliance_hosts/show.html.erb:11
883
875
  msgid "%s compliance reports by policy"
884
876
  msgstr ""
885
877
 
886
- #: ../app/views/compliance_hosts/show.html.erb:14
878
+ #: ../app/views/compliance_hosts/show.html.erb:15
887
879
  msgid "%s compliance report by policy"
888
880
  msgid_plural "%s compliance reports by policy"
889
881
  msgstr[0] ""
890
882
  msgstr[1] ""
891
883
 
892
- #: ../app/views/compliance_hosts/show.html.erb:16
884
+ #: ../app/views/compliance_hosts/show.html.erb:17
893
885
  msgid "Policy %s"
894
886
  msgstr ""
895
887
 
896
- #: ../app/views/compliance_hosts/show.html.erb:22
888
+ #: ../app/views/compliance_hosts/show.html.erb:23
897
889
  msgid "%s latest report"
898
890
  msgstr ""
899
891
 
900
- #: ../app/views/compliance_hosts/show.html.erb:32
892
+ #: ../app/views/compliance_hosts/show.html.erb:35
901
893
  msgid "%s reports over time"
902
894
  msgstr ""
903
895
 
904
- #: ../app/views/compliance_hosts/show.html.erb:38
896
+ #: ../app/views/compliance_hosts/show.html.erb:43
905
897
  msgid "No report for this policy"
906
898
  msgstr ""
907
899
 
@@ -1081,7 +1073,7 @@ msgstr ""
1081
1073
  msgid "New Policy"
1082
1074
  msgstr ""
1083
1075
 
1084
- #: ../app/views/policy_dashboard/_policy_chart_widget.html.erb:2
1076
+ #: ../app/views/policy_dashboard/_policy_chart_widget.html.erb:4
1085
1077
  msgid "Host Breakdown Chart"
1086
1078
  msgstr ""
1087
1079
 
@@ -1296,37 +1288,269 @@ msgid "Run OpenSCAP scan"
1296
1288
  msgstr ""
1297
1289
 
1298
1290
  #: action_names.rb:2
1299
- msgid "Import Puppet classes"
1291
+ msgid "Action with sub plans"
1300
1292
  msgstr ""
1301
1293
 
1302
1294
  #: action_names.rb:3
1303
- msgid "Remote action:"
1295
+ msgid "Import facts"
1304
1296
  msgstr ""
1305
1297
 
1306
1298
  #: action_names.rb:4
1307
- msgid "Action with sub plans"
1299
+ msgid "Import Puppet classes"
1308
1300
  msgstr ""
1309
1301
 
1310
1302
  #: action_names.rb:5
1311
- msgid "Import facts"
1303
+ msgid "Create"
1312
1304
  msgstr ""
1313
1305
 
1314
1306
  #: action_names.rb:6
1315
- msgid "Delete host"
1307
+ msgid "Delete Activation Key"
1316
1308
  msgstr ""
1317
1309
 
1318
1310
  #: action_names.rb:7
1319
- msgid "Update host"
1311
+ msgid "Update"
1320
1312
  msgstr ""
1321
1313
 
1322
1314
  #: action_names.rb:8
1323
- msgid "Update node"
1315
+ msgid "Synchronize smart proxy"
1324
1316
  msgstr ""
1325
1317
 
1326
1318
  #: action_names.rb:9
1327
- msgid "Create client"
1319
+ msgid "Sync capsule"
1320
+ msgstr ""
1321
+
1322
+ #: action_names.rb:11
1323
+ msgid "Errata mail"
1324
+ msgstr ""
1325
+
1326
+ #: action_names.rb:12
1327
+ msgid "Incremental Update of Content View Version(s) "
1328
+ msgstr ""
1329
+
1330
+ #: action_names.rb:13
1331
+ msgid "Promote"
1332
+ msgstr ""
1333
+
1334
+ #: action_names.rb:14
1335
+ msgid "Promotion to Environment"
1336
+ msgstr ""
1337
+
1338
+ #: action_names.rb:15
1339
+ msgid "Abstract async task"
1340
+ msgstr ""
1341
+
1342
+ #: action_names.rb:16
1343
+ msgid "Hypervisors"
1344
+ msgstr ""
1345
+
1346
+ #: action_names.rb:17
1347
+ msgid "Hypervisors update"
1348
+ msgstr ""
1349
+
1350
+ #: action_names.rb:18
1351
+ msgid "Install package"
1352
+ msgstr ""
1353
+
1354
+ #: action_names.rb:19
1355
+ msgid "Remove package"
1356
+ msgstr ""
1357
+
1358
+ #: action_names.rb:20
1359
+ msgid "Remove package group"
1360
+ msgstr ""
1361
+
1362
+ #: action_names.rb:21
1363
+ msgid "Update package"
1364
+ msgstr ""
1365
+
1366
+ #: action_names.rb:22
1367
+ msgid "Install package group"
1368
+ msgstr ""
1369
+
1370
+ #: action_names.rb:23
1371
+ msgid "Remove subscriptions"
1372
+ msgstr ""
1373
+
1374
+ #: action_names.rb:24
1375
+ msgid "Update for host"
1376
+ msgstr ""
1377
+
1378
+ #: action_names.rb:25
1379
+ msgid "Update Content Overrides"
1380
+ msgstr ""
1381
+
1382
+ #: action_names.rb:26
1383
+ msgid "Update release version for host"
1384
+ msgstr ""
1385
+
1386
+ #: action_names.rb:27
1387
+ msgid "Package Profile Update"
1388
+ msgstr ""
1389
+
1390
+ #: action_names.rb:28
1391
+ msgid "Export"
1392
+ msgstr ""
1393
+
1394
+ #: action_names.rb:29
1395
+ msgid "Incremental Update"
1396
+ msgstr ""
1397
+
1398
+ #: action_names.rb:30
1399
+ msgid "Republish Version Repositories"
1400
+ msgstr ""
1401
+
1402
+ #: action_names.rb:31
1403
+ msgid "Destroy"
1404
+ msgstr ""
1405
+
1406
+ #: action_names.rb:32
1407
+ msgid "Publish"
1328
1408
  msgstr ""
1329
1409
 
1330
- #: action_names.rb:10
1331
- msgid "Delete client"
1410
+ #: action_names.rb:33
1411
+ msgid "Remove Versions and Associations"
1412
+ msgstr ""
1413
+
1414
+ #: action_names.rb:34
1415
+ msgid "Remove from Environment"
1416
+ msgstr ""
1417
+
1418
+ #: action_names.rb:35
1419
+ msgid "Remove Version"
1420
+ msgstr ""
1421
+
1422
+ #: action_names.rb:36
1423
+ msgid "Auto-attach subscriptions"
1424
+ msgstr ""
1425
+
1426
+ #: action_names.rb:37
1427
+ msgid "Attach subscriptions"
1428
+ msgstr ""
1429
+
1430
+ #: action_names.rb:38
1431
+ msgid "Auto attach subscriptions"
1432
+ msgstr ""
1433
+
1434
+ #: action_names.rb:39
1435
+ msgid "Install Applicable Errata"
1436
+ msgstr ""
1437
+
1438
+ #: action_names.rb:40
1439
+ msgid "Install erratum"
1440
+ msgstr ""
1441
+
1442
+ #: action_names.rb:41
1443
+ msgid "Destroy Content Host"
1444
+ msgstr ""
1445
+
1446
+ #: action_names.rb:42
1447
+ msgid "Delete Lifecycle Environment"
1448
+ msgstr ""
1449
+
1450
+ #: action_names.rb:43
1451
+ msgid "Publish Lifecycle Environment Repositories"
1452
+ msgstr ""
1453
+
1454
+ #: action_names.rb:44
1455
+ msgid "Product Create"
1456
+ msgstr ""
1457
+
1458
+ #: action_names.rb:45
1459
+ msgid "Delete Product"
1460
+ msgstr ""
1461
+
1462
+ #: action_names.rb:46
1463
+ msgid "Reindex subscriptions"
1464
+ msgstr ""
1465
+
1466
+ #: action_names.rb:47
1467
+ msgid "Update http proxy"
1468
+ msgstr ""
1469
+
1470
+ #: action_names.rb:48
1471
+ msgid "Combined Profile Update"
1472
+ msgstr ""
1473
+
1474
+ #: action_names.rb:49
1475
+ msgid "Delete Package Group"
1476
+ msgstr ""
1477
+
1478
+ #: action_names.rb:50
1479
+ msgid "Discover"
1480
+ msgstr ""
1481
+
1482
+ #: action_names.rb:51
1483
+ msgid "Fetch pxe files"
1484
+ msgstr ""
1485
+
1486
+ #: action_names.rb:52
1487
+ msgid "Filtered index content"
1488
+ msgstr ""
1489
+
1490
+ #: action_names.rb:53
1491
+ msgid "Upload into"
1492
+ msgstr ""
1493
+
1494
+ #: action_names.rb:54
1495
+ msgid "Index errata"
1496
+ msgstr ""
1497
+
1498
+ #: action_names.rb:55
1499
+ msgid "Index module streams"
1500
+ msgstr ""
1501
+
1502
+ #: action_names.rb:56
1503
+ msgid "Index content"
1504
+ msgstr ""
1505
+
1506
+ #: action_names.rb:57
1507
+ msgid "Instance update"
1508
+ msgstr ""
1509
+
1510
+ #: action_names.rb:58
1511
+ msgid "Index package groups"
1512
+ msgstr ""
1513
+
1514
+ #: action_names.rb:59
1515
+ msgid "Remove Content"
1516
+ msgstr ""
1517
+
1518
+ #: action_names.rb:60
1519
+ msgid "Synchronize"
1520
+ msgstr ""
1521
+
1522
+ #: action_names.rb:61
1523
+ msgid "Update content urls"
1524
+ msgstr ""
1525
+
1526
+ #: action_names.rb:62
1527
+ msgid "Update http proxy details"
1528
+ msgstr ""
1529
+
1530
+ #: action_names.rb:63
1531
+ msgid "Upload errata into"
1532
+ msgstr ""
1533
+
1534
+ #: action_names.rb:64
1535
+ msgid "Create Package Group"
1536
+ msgstr ""
1537
+
1538
+ #: action_names.rb:65
1539
+ msgid "Disable"
1540
+ msgstr ""
1541
+
1542
+ #: action_names.rb:66
1543
+ msgid "Enable"
1544
+ msgstr ""
1545
+
1546
+ #: action_names.rb:67
1547
+ msgid "Run Sync Plan:"
1548
+ msgstr ""
1549
+
1550
+ #: action_names.rb:68
1551
+ msgid "Update redhat repository"
1552
+ msgstr ""
1553
+
1554
+ #: action_names.rb:69
1555
+ msgid "Remote action:"
1332
1556
  msgstr ""