foreman_openscap 0.12.3 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/foreman_openscap/policy_dashboard.js +5 -0
  3. data/app/assets/stylesheets/foreman_openscap/policy_dashboard.css +3 -0
  4. data/app/controllers/concerns/foreman_openscap/api/v2/hosts_controller_extensions.rb +26 -0
  5. data/app/controllers/policies_controller.rb +2 -3
  6. data/app/controllers/policy_dashboard_controller.rb +5 -0
  7. data/app/controllers/scap_contents_controller.rb +1 -1
  8. data/app/controllers/tailoring_files_controller.rb +1 -2
  9. data/app/helpers/policy_dashboard_helper.rb +23 -0
  10. data/app/mailers/foreman_openscap/policy_mailer.rb +1 -1
  11. data/app/models/concerns/foreman_openscap/host_extensions.rb +48 -3
  12. data/app/models/foreman_openscap/policy.rb +4 -0
  13. data/app/models/foreman_openscap/scap_content.rb +1 -0
  14. data/app/models/foreman_openscap/tailoring_file.rb +1 -0
  15. data/app/services/foreman_openscap/policy_dashboard/data.rb +3 -4
  16. data/app/views/api/v2/hosts/policies_enc.json.rabl +2 -0
  17. data/app/views/api/v2/hosts/policy_enc.json.rabl +3 -0
  18. data/app/views/arf_reports/_output.html.erb +4 -4
  19. data/app/views/arf_reports/show.html.erb +2 -2
  20. data/app/views/policies/_list.html.erb +9 -7
  21. data/app/views/policies/index.html.erb +2 -2
  22. data/app/views/policy_dashboard/_policy_reports.html.erb +29 -22
  23. data/app/views/policy_dashboard/_policy_status_widget.html.erb +7 -4
  24. data/app/views/policy_dashboard/index.html.erb +1 -1
  25. data/app/views/scap_contents/_list.html.erb +7 -6
  26. data/app/views/scap_contents/index.html.erb +2 -2
  27. data/app/views/tailoring_files/_list.html.erb +6 -5
  28. data/app/views/tailoring_files/index.html.erb +2 -1
  29. data/config/routes.rb +15 -0
  30. data/db/migrate/20190103093409_add_deployment_option_to_policy.foreman_openscap.rb +1 -1
  31. data/lib/foreman_openscap/engine.rb +3 -1
  32. data/lib/foreman_openscap/version.rb +1 -1
  33. data/locale/de/foreman_openscap.edit.po +81 -77
  34. data/locale/de/foreman_openscap.po +26 -23
  35. data/locale/en_GB/foreman_openscap.edit.po +81 -77
  36. data/locale/en_GB/foreman_openscap.po +26 -23
  37. data/locale/es/foreman_openscap.edit.po +81 -77
  38. data/locale/es/foreman_openscap.po +26 -23
  39. data/locale/foreman_openscap.pot +88 -84
  40. data/locale/fr/foreman_openscap.edit.po +81 -77
  41. data/locale/fr/foreman_openscap.po +26 -23
  42. data/locale/gl/foreman_openscap.edit.po +81 -77
  43. data/locale/gl/foreman_openscap.po +26 -23
  44. data/locale/it/foreman_openscap.edit.po +81 -77
  45. data/locale/it/foreman_openscap.po +26 -23
  46. data/locale/ja/foreman_openscap.edit.po +81 -77
  47. data/locale/ja/foreman_openscap.po +26 -23
  48. data/locale/ko/foreman_openscap.edit.po +81 -77
  49. data/locale/ko/foreman_openscap.po +26 -23
  50. data/locale/pt_BR/foreman_openscap.edit.po +81 -77
  51. data/locale/pt_BR/foreman_openscap.po +26 -23
  52. data/locale/ru/foreman_openscap.edit.po +81 -77
  53. data/locale/ru/foreman_openscap.po +26 -23
  54. data/locale/sv_SE/foreman_openscap.edit.po +81 -77
  55. data/locale/sv_SE/foreman_openscap.po +26 -23
  56. data/locale/zh_CN/foreman_openscap.edit.po +81 -77
  57. data/locale/zh_CN/foreman_openscap.po +26 -23
  58. data/locale/zh_TW/foreman_openscap.edit.po +81 -77
  59. data/locale/zh_TW/foreman_openscap.po +26 -23
  60. data/test/functional/api/v2/hosts_controller_test.rb +17 -0
  61. data/test/test_plugin_helper.rb +6 -1
  62. data/test/unit/concerns/host_extensions_test.rb +41 -0
  63. metadata +9 -2
@@ -246,6 +246,14 @@ msgstr ""
246
246
  msgid "Something went wrong while selecting compliance reports - %s"
247
247
  msgstr ""
248
248
 
249
+ #: ../app/controllers/concerns/foreman_openscap/api/v2/hosts_controller_extensions.rb:19
250
+ msgid "Show config information for foreman_scap_client"
251
+ msgstr ""
252
+
253
+ #: ../app/controllers/concerns/foreman_openscap/api/v2/hosts_controller_extensions.rb:20
254
+ msgid "The identifier of the host"
255
+ msgstr ""
256
+
249
257
  #: ../app/controllers/concerns/foreman_openscap/hosts_controller_extensions.rb:26
250
258
  msgid "Updated hosts: Assigned with OpenSCAP Proxy: %s"
251
259
  msgstr ""
@@ -254,39 +262,39 @@ msgstr ""
254
262
  msgid "No OpenSCAP Proxy selected."
255
263
  msgstr ""
256
264
 
257
- #: ../app/controllers/policies_controller.rb:84
265
+ #: ../app/controllers/policies_controller.rb:83
258
266
  msgid "Updated hosts: Assigned with compliance policy: %s"
259
267
  msgstr ""
260
268
 
261
- #: ../app/controllers/policies_controller.rb:88
269
+ #: ../app/controllers/policies_controller.rb:87
262
270
  msgid "No compliance policy selected."
263
271
  msgstr ""
264
272
 
265
- #: ../app/controllers/policies_controller.rb:100
273
+ #: ../app/controllers/policies_controller.rb:99
266
274
  msgid "Updated hosts: Unassigned from compliance policy '%s'"
267
275
  msgstr ""
268
276
 
269
- #: ../app/controllers/policies_controller.rb:102
277
+ #: ../app/controllers/policies_controller.rb:101
270
278
  msgid "No valid policy ID provided"
271
279
  msgstr ""
272
280
 
273
- #: ../app/controllers/policies_controller.rb:122
281
+ #: ../app/controllers/policies_controller.rb:121
274
282
  msgid "No hosts were found."
275
283
  msgstr ""
276
284
 
277
- #: ../app/controllers/policies_controller.rb:126
285
+ #: ../app/controllers/policies_controller.rb:125
278
286
  msgid "No hosts selected"
279
287
  msgstr ""
280
288
 
281
- #: ../app/controllers/policies_controller.rb:131
289
+ #: ../app/controllers/policies_controller.rb:130
282
290
  msgid "Something went wrong while selecting hosts - %s"
283
291
  msgstr ""
284
292
 
285
- #: ../app/helpers/arf_report_dashboard_helper.rb:10 ../app/helpers/compliance_dashboard_helper.rb:8 ../app/helpers/compliance_hosts_helper.rb:5 ../app/helpers/compliance_hosts_helper.rb:22 ../app/views/arf_reports/_list.html.erb:11 ../app/views/foreman_openscap/policy_mailer/_hosts.erb:11 ../app/views/policy_dashboard/_policy_reports.html.erb:6
293
+ #: ../app/helpers/arf_report_dashboard_helper.rb:10 ../app/helpers/compliance_dashboard_helper.rb:8 ../app/helpers/compliance_hosts_helper.rb:5 ../app/helpers/compliance_hosts_helper.rb:22 ../app/views/arf_reports/_list.html.erb:11 ../app/views/foreman_openscap/policy_mailer/_hosts.erb:11 ../app/views/policy_dashboard/_policy_reports.html.erb:10
286
294
  msgid "Failed"
287
295
  msgstr ""
288
296
 
289
- #: ../app/helpers/arf_report_dashboard_helper.rb:11 ../app/helpers/compliance_dashboard_helper.rb:6 ../app/helpers/compliance_hosts_helper.rb:4 ../app/helpers/compliance_hosts_helper.rb:21 ../app/views/arf_reports/_list.html.erb:10 ../app/views/foreman_openscap/policy_mailer/_hosts.erb:8 ../app/views/policy_dashboard/_policy_reports.html.erb:5
297
+ #: ../app/helpers/arf_report_dashboard_helper.rb:11 ../app/helpers/compliance_dashboard_helper.rb:6 ../app/helpers/compliance_hosts_helper.rb:4 ../app/helpers/compliance_hosts_helper.rb:21 ../app/views/arf_reports/_list.html.erb:10 ../app/views/foreman_openscap/policy_mailer/_hosts.erb:8 ../app/views/policy_dashboard/_policy_reports.html.erb:9
290
298
  msgid "Passed"
291
299
  msgstr ""
292
300
 
@@ -373,7 +381,7 @@ msgstr ""
373
381
  msgid "Othered|O"
374
382
  msgstr ""
375
383
 
376
- #: ../app/helpers/compliance_hosts_helper.rb:6 ../app/views/arf_reports/_list.html.erb:12 ../app/views/foreman_openscap/policy_mailer/_hosts.erb:14 ../app/views/policy_dashboard/_policy_reports.html.erb:7
384
+ #: ../app/helpers/compliance_hosts_helper.rb:6 ../app/views/arf_reports/_list.html.erb:12 ../app/views/foreman_openscap/policy_mailer/_hosts.erb:14 ../app/views/policy_dashboard/_policy_reports.html.erb:11
377
385
  msgid "Other"
378
386
  msgstr ""
379
387
 
@@ -393,7 +401,7 @@ msgstr ""
393
401
  msgid "Host is deleted"
394
402
  msgstr ""
395
403
 
396
- #: ../app/helpers/foreman_openscap_helper.rb:2
404
+ #: ../app/helpers/foreman_openscap_helper.rb:4
397
405
  msgid "documentation"
398
406
  msgstr ""
399
407
 
@@ -401,7 +409,7 @@ msgstr ""
401
409
  msgid "Choose existing SCAP Content"
402
410
  msgstr ""
403
411
 
404
- #: ../app/helpers/policies_helper.rb:57 ../app/helpers/policies_helper.rb:62 ../app/models/foreman_openscap/policy.rb:100 ../app/views/policies/_form.html.erb:10 ../app/views/scap_contents/welcome.html.erb:1 ../app/views/scap_contents/welcome.html.erb:6
412
+ #: ../app/helpers/policies_helper.rb:57 ../app/helpers/policies_helper.rb:62 ../app/models/foreman_openscap/policy.rb:104 ../app/views/policies/_form.html.erb:10 ../app/views/scap_contents/welcome.html.erb:1 ../app/views/scap_contents/welcome.html.erb:6
405
413
  msgid "SCAP Content"
406
414
  msgstr ""
407
415
 
@@ -433,11 +441,11 @@ msgstr ""
433
441
  msgid "Submit"
434
442
  msgstr ""
435
443
 
436
- #: ../app/helpers/policies_helper.rb:114 ../app/views/arf_reports/_list.html.erb:52
444
+ #: ../app/helpers/policies_helper.rb:113 ../app/views/arf_reports/_list.html.erb:52
437
445
  msgid "Cancel"
438
446
  msgstr ""
439
447
 
440
- #: ../app/helpers/policies_helper.rb:145 ../lib/foreman_openscap/engine.rb:138
448
+ #: ../app/helpers/policies_helper.rb:145 ../lib/foreman_openscap/engine.rb:139
441
449
  msgid "Policies"
442
450
  msgstr ""
443
451
 
@@ -461,6 +469,22 @@ msgstr ""
461
469
  msgid "Compliance Status"
462
470
  msgstr ""
463
471
 
472
+ #: ../app/helpers/policy_dashboard_helper.rb:41
473
+ msgid "Host is assigned to policy"
474
+ msgstr ""
475
+
476
+ #: ../app/helpers/policy_dashboard_helper.rb:44
477
+ msgid "Host is not assigned to policy but reports were found. You may want to delete the reports or assign the policy again."
478
+ msgstr ""
479
+
480
+ #: ../app/helpers/policy_dashboard_helper.rb:52
481
+ msgid "Hosts no longer assigned: %s"
482
+ msgstr ""
483
+
484
+ #: ../app/helpers/policy_dashboard_helper.rb:56
485
+ msgid "Total hosts with reports where policy is no longer assigned."
486
+ msgstr ""
487
+
464
488
  #: ../app/lib/proxy_api/openscap.rb:21
465
489
  msgid "Request timed out. Please try increasing Settings -> proxy_request_timeout"
466
490
  msgstr ""
@@ -497,7 +521,7 @@ msgstr ""
497
521
  msgid "No OpenSCAP proxy found for %{class} with id %{id}"
498
522
  msgstr ""
499
523
 
500
- #: ../app/models/foreman_openscap/compliance_status.rb:8 ../app/views/compliance_hosts/_compliance_status.erb:2 ../lib/foreman_openscap/engine.rb:137
524
+ #: ../app/models/foreman_openscap/compliance_status.rb:8 ../app/views/compliance_hosts/_compliance_status.erb:2 ../lib/foreman_openscap/engine.rb:138
501
525
  msgid "Compliance"
502
526
  msgstr ""
503
527
 
@@ -513,63 +537,63 @@ msgstr ""
513
537
  msgid "Unknown Compliance status"
514
538
  msgstr ""
515
539
 
516
- #: ../app/models/foreman_openscap/policy.rb:27 ../app/models/foreman_openscap/policy.rb:265
540
+ #: ../app/models/foreman_openscap/policy.rb:31 ../app/models/foreman_openscap/policy.rb:269
517
541
  msgid "is not a valid value"
518
542
  msgstr ""
519
543
 
520
- #: ../app/models/foreman_openscap/policy.rb:51
544
+ #: ../app/models/foreman_openscap/policy.rb:55
521
545
  msgid "Cannot generate HTML guide, scap content is missing."
522
546
  msgstr ""
523
547
 
524
- #: ../app/models/foreman_openscap/policy.rb:57
548
+ #: ../app/models/foreman_openscap/policy.rb:61
525
549
  msgid "Cannot generate HTML guide, no valid OpenSCAP proxy server found."
526
550
  msgstr ""
527
551
 
528
- #: ../app/models/foreman_openscap/policy.rb:100 ../app/views/policies/_form.html.erb:8
552
+ #: ../app/models/foreman_openscap/policy.rb:104 ../app/views/policies/_form.html.erb:8
529
553
  msgid "Deployment Options"
530
554
  msgstr ""
531
555
 
532
- #: ../app/models/foreman_openscap/policy.rb:100
556
+ #: ../app/models/foreman_openscap/policy.rb:104
533
557
  msgid "Policy Attributes"
534
558
  msgstr ""
535
559
 
536
- #: ../app/models/foreman_openscap/policy.rb:100 ../app/views/policies/_form.html.erb:11
560
+ #: ../app/models/foreman_openscap/policy.rb:104 ../app/views/policies/_form.html.erb:11
537
561
  msgid "Schedule"
538
562
  msgstr ""
539
563
 
540
- #: ../app/models/foreman_openscap/policy.rb:101 ../app/views/policies/_form.html.erb:13 ../app/views/scap_contents/_form.html.erb:11 ../app/views/tailoring_files/_form.html.erb:11
564
+ #: ../app/models/foreman_openscap/policy.rb:105 ../app/views/policies/_form.html.erb:13 ../app/views/scap_contents/_form.html.erb:11 ../app/views/tailoring_files/_form.html.erb:11
541
565
  msgid "Locations"
542
566
  msgstr ""
543
567
 
544
- #: ../app/models/foreman_openscap/policy.rb:102 ../app/views/policies/_form.html.erb:16 ../app/views/scap_contents/_form.html.erb:14 ../app/views/tailoring_files/_form.html.erb:14
568
+ #: ../app/models/foreman_openscap/policy.rb:106 ../app/views/policies/_form.html.erb:16 ../app/views/scap_contents/_form.html.erb:14 ../app/views/tailoring_files/_form.html.erb:14
545
569
  msgid "Organizations"
546
570
  msgstr ""
547
571
 
548
- #: ../app/models/foreman_openscap/policy.rb:103
572
+ #: ../app/models/foreman_openscap/policy.rb:107
549
573
  msgid "Hostgroups"
550
574
  msgstr ""
551
575
 
552
- #: ../app/models/foreman_openscap/policy.rb:259
576
+ #: ../app/models/foreman_openscap/policy.rb:263
553
577
  msgid "does not consist of 5 parts separated by space"
554
578
  msgstr ""
555
579
 
556
- #: ../app/models/foreman_openscap/policy.rb:271
580
+ #: ../app/models/foreman_openscap/policy.rb:275
557
581
  msgid "must be between 1 and 31"
558
582
  msgstr ""
559
583
 
560
- #: ../app/models/foreman_openscap/policy.rb:276
584
+ #: ../app/models/foreman_openscap/policy.rb:280
561
585
  msgid "must be present when tailoring file profile present"
562
586
  msgstr ""
563
587
 
564
- #: ../app/models/foreman_openscap/policy.rb:277
588
+ #: ../app/models/foreman_openscap/policy.rb:281
565
589
  msgid "must be present when tailoring file present"
566
590
  msgstr ""
567
591
 
568
- #: ../app/models/foreman_openscap/policy.rb:282
592
+ #: ../app/models/foreman_openscap/policy.rb:286
569
593
  msgid "does not come from selected tailoring file"
570
594
  msgstr ""
571
595
 
572
- #: ../app/models/foreman_openscap/policy.rb:288
596
+ #: ../app/models/foreman_openscap/policy.rb:292
573
597
  msgid "does not have the selected SCAP content profile"
574
598
  msgstr ""
575
599
 
@@ -673,7 +697,7 @@ msgstr ""
673
697
  msgid "Openscap Proxy"
674
698
  msgstr ""
675
699
 
676
- #: ../app/views/arf_reports/_list.html.erb:13 ../app/views/arf_reports/_output.html.erb:8 ../app/views/policies/_list.html.erb:8 ../app/views/policy_dashboard/_policy_reports.html.erb:8 ../app/views/scap_contents/_list.html.erb:6 ../app/views/tailoring_files/_list.html.erb:6
700
+ #: ../app/views/arf_reports/_list.html.erb:13 ../app/views/arf_reports/_output.html.erb:8 ../app/views/policies/_list.html.erb:8 ../app/views/policy_dashboard/_policy_reports.html.erb:12 ../app/views/scap_contents/_list.html.erb:6 ../app/views/tailoring_files/_list.html.erb:6
677
701
  msgid "Actions"
678
702
  msgstr ""
679
703
 
@@ -710,7 +734,7 @@ msgid "Total"
710
734
  msgstr ""
711
735
 
712
736
  #: ../app/views/arf_reports/_output.html.erb:4
713
- msgid "Severity"
737
+ msgid "Result"
714
738
  msgstr ""
715
739
 
716
740
  #: ../app/views/arf_reports/_output.html.erb:5
@@ -722,14 +746,14 @@ msgid "Resource"
722
746
  msgstr ""
723
747
 
724
748
  #: ../app/views/arf_reports/_output.html.erb:7
725
- msgid "Result"
749
+ msgid "Severity"
726
750
  msgstr ""
727
751
 
728
752
  #: ../app/views/arf_reports/_output.html.erb:25
729
753
  msgid "Nothing to show"
730
754
  msgstr ""
731
755
 
732
- #: ../app/views/arf_reports/delete_multiple.html.erb:7 ../app/views/policy_dashboard/_policy_reports.html.erb:3
756
+ #: ../app/views/arf_reports/delete_multiple.html.erb:7 ../app/views/policy_dashboard/_policy_reports.html.erb:6
733
757
  msgid "Host"
734
758
  msgstr ""
735
759
 
@@ -807,7 +831,7 @@ msgstr ""
807
831
  msgid "No report for this policy"
808
832
  msgstr ""
809
833
 
810
- #: ../app/views/dashboard/_compliance_host_reports_widget.html.erb:1 ../lib/foreman_openscap/engine.rb:153
834
+ #: ../app/views/dashboard/_compliance_host_reports_widget.html.erb:1 ../lib/foreman_openscap/engine.rb:154
811
835
  msgid "Latest Compliance Reports"
812
836
  msgstr ""
813
837
 
@@ -823,7 +847,7 @@ msgstr ""
823
847
  msgid "Policy is missing"
824
848
  msgstr ""
825
849
 
826
- #: ../app/views/dashboard/_compliance_reports_breakdown_widget.html.erb:1 ../lib/foreman_openscap/engine.rb:155
850
+ #: ../app/views/dashboard/_compliance_reports_breakdown_widget.html.erb:1 ../lib/foreman_openscap/engine.rb:156
827
851
  msgid "Compliance Reports Breakdown"
828
852
  msgstr ""
829
853
 
@@ -909,18 +933,6 @@ msgstr ""
909
933
  msgid "You can specify custom cron line, e.g. \"0 3 * * *\", separate each of 5 values by space"
910
934
  msgstr ""
911
935
 
912
- #: ../app/views/policies/_list.html.erb:3 ../app/views/tailoring_files/_list.html.erb:3
913
- msgid "Name"
914
- msgstr ""
915
-
916
- #: ../app/views/policies/_list.html.erb:4
917
- msgid "Content"
918
- msgstr ""
919
-
920
- #: ../app/views/policies/_list.html.erb:5
921
- msgid "Profile"
922
- msgstr ""
923
-
924
936
  #: ../app/views/policies/_list.html.erb:7
925
937
  msgid "Effective Profile"
926
938
  msgstr ""
@@ -930,11 +942,11 @@ msgid "None"
930
942
  msgstr ""
931
943
 
932
944
  #: ../app/views/policies/_list.html.erb:36
933
- msgid "Show Guide"
945
+ msgid "Dashboard"
934
946
  msgstr ""
935
947
 
936
- #: ../app/views/policies/_list.html.erb:37 ../app/views/scap_contents/_list.html.erb:17 ../app/views/tailoring_files/_list.html.erb:21
937
- msgid "Edit"
948
+ #: ../app/views/policies/_list.html.erb:37
949
+ msgid "Show Guide"
938
950
  msgstr ""
939
951
 
940
952
  #: ../app/views/policies/_list.html.erb:39
@@ -957,10 +969,6 @@ msgstr ""
957
969
  msgid "Compliance Policies"
958
970
  msgstr ""
959
971
 
960
- #: ../app/views/policies/index.html.erb:6 ../app/views/scap_contents/index.html.erb:4
961
- msgid "Help"
962
- msgstr ""
963
-
964
972
  #: ../app/views/policies/steps/_schedule_form.html.erb:9
965
973
  msgid "Choose day in month"
966
974
  msgstr ""
@@ -989,11 +997,15 @@ msgstr ""
989
997
  msgid "Host Breakdown Chart"
990
998
  msgstr ""
991
999
 
992
- #: ../app/views/policy_dashboard/_policy_reports.html.erb:4
1000
+ #: ../app/views/policy_dashboard/_policy_reports.html.erb:7
1001
+ msgid "Policy assigned"
1002
+ msgstr ""
1003
+
1004
+ #: ../app/views/policy_dashboard/_policy_reports.html.erb:8
993
1005
  msgid "Date"
994
1006
  msgstr ""
995
1007
 
996
- #: ../app/views/policy_dashboard/_policy_reports.html.erb:19
1008
+ #: ../app/views/policy_dashboard/_policy_reports.html.erb:24
997
1009
  msgid "View Report"
998
1010
  msgstr ""
999
1011
 
@@ -1018,7 +1030,7 @@ msgid "Never audited"
1018
1030
  msgstr ""
1019
1031
 
1020
1032
  #: ../app/views/policy_dashboard/_policy_status_widget.html.erb:9
1021
- msgid "Total hosts: %s"
1033
+ msgid "Total hosts with policy: %s"
1022
1034
  msgstr ""
1023
1035
 
1024
1036
  #: ../app/views/policy_dashboard/index.html.erb:3
@@ -1045,12 +1057,12 @@ msgstr ""
1045
1057
  msgid "SCAP DataStream file"
1046
1058
  msgstr ""
1047
1059
 
1048
- #: ../app/views/scap_contents/_list.html.erb:18 ../app/views/tailoring_files/_list.html.erb:24
1060
+ #: ../app/views/scap_contents/_list.html.erb:17 ../app/views/tailoring_files/_list.html.erb:23
1049
1061
  msgid "Download"
1050
1062
  msgstr ""
1051
1063
 
1052
- #: ../app/views/scap_contents/_list.html.erb:20
1053
- msgid "Delete compliance policy %s with all the reports?"
1064
+ #: ../app/views/scap_contents/_list.html.erb:19
1065
+ msgid "Delete scap content %s?"
1054
1066
  msgstr ""
1055
1067
 
1056
1068
  #: ../app/views/scap_contents/edit.html.erb:1
@@ -1113,15 +1125,7 @@ msgstr ""
1113
1125
  msgid "DataStream Tailoring file"
1114
1126
  msgstr ""
1115
1127
 
1116
- #: ../app/views/tailoring_files/_list.html.erb:4
1117
- msgid "Filename"
1118
- msgstr ""
1119
-
1120
- #: ../app/views/tailoring_files/_list.html.erb:5
1121
- msgid "Created"
1122
- msgstr ""
1123
-
1124
- #: ../app/views/tailoring_files/_list.html.erb:23
1128
+ #: ../app/views/tailoring_files/_list.html.erb:22
1125
1129
  msgid "Delete tailoring file %s?"
1126
1130
  msgstr ""
1127
1131
 
@@ -1129,7 +1133,7 @@ msgstr ""
1129
1133
  msgid "Edit Tailoring File"
1130
1134
  msgstr ""
1131
1135
 
1132
- #: ../app/views/tailoring_files/edit.html.erb:4 ../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:147
1136
+ #: ../app/views/tailoring_files/edit.html.erb:4 ../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:148
1133
1137
  msgid "Tailoring Files"
1134
1138
  msgstr ""
1135
1139
 
@@ -1163,27 +1167,27 @@ msgstr ""
1163
1167
  msgid "A summary of reports for OpenSCAP policies"
1164
1168
  msgstr ""
1165
1169
 
1166
- #: ../lib/foreman_openscap/engine.rb:141
1170
+ #: ../lib/foreman_openscap/engine.rb:142
1167
1171
  msgid "SCAP contents"
1168
1172
  msgstr ""
1169
1173
 
1170
- #: ../lib/foreman_openscap/engine.rb:144
1174
+ #: ../lib/foreman_openscap/engine.rb:145
1171
1175
  msgid "Reports"
1172
1176
  msgstr ""
1173
1177
 
1174
- #: ../lib/foreman_openscap/engine.rb:169
1178
+ #: ../lib/foreman_openscap/engine.rb:170
1175
1179
  msgid "OpenSCAP Proxy to use for fetching SCAP content and uploading ARF reports. Leave blank and override appropriate parameters when using proxy load balancer."
1176
1180
  msgstr ""
1177
1181
 
1178
- #: ../lib/foreman_openscap/engine.rb:173 ../lib/foreman_openscap/engine.rb:178
1182
+ #: ../lib/foreman_openscap/engine.rb:174 ../lib/foreman_openscap/engine.rb:179
1179
1183
  msgid "OpenSCAP Proxy"
1180
1184
  msgstr ""
1181
1185
 
1182
- #: ../lib/foreman_openscap/engine.rb:175 ../lib/foreman_openscap/engine.rb:180
1186
+ #: ../lib/foreman_openscap/engine.rb:176 ../lib/foreman_openscap/engine.rb:181
1183
1187
  msgid "ID of OpenSCAP Proxy"
1184
1188
  msgstr ""
1185
1189
 
1186
- #: ../lib/foreman_openscap/engine.rb:184 ../lib/foreman_openscap/engine.rb:192
1190
+ #: ../lib/foreman_openscap/engine.rb:185 ../lib/foreman_openscap/engine.rb:193
1187
1191
  msgid "Run OpenSCAP scan"
1188
1192
  msgstr ""
1189
1193
 
@@ -152,9 +152,6 @@ msgstr ""
152
152
  msgid "Compliant with the policy"
153
153
  msgstr ""
154
154
 
155
- msgid "Content"
156
- msgstr ""
157
-
158
155
  msgid "Could not find host identified by: %s"
159
156
  msgstr ""
160
157
 
@@ -176,7 +173,7 @@ msgstr ""
176
173
  msgid "Create client"
177
174
  msgstr ""
178
175
 
179
- msgid "Created"
176
+ msgid "Dashboard"
180
177
  msgstr ""
181
178
 
182
179
  msgid "DataStream Tailoring file"
@@ -203,9 +200,6 @@ msgstr ""
203
200
  msgid "Delete compliance policy %s with all of its reports?"
204
201
  msgstr ""
205
202
 
206
- msgid "Delete compliance policy %s with all the reports?"
207
- msgstr ""
208
-
209
203
  msgid "Delete compliance report for %s?"
210
204
  msgstr ""
211
205
 
@@ -215,6 +209,9 @@ msgstr ""
215
209
  msgid "Delete reports"
216
210
  msgstr ""
217
211
 
212
+ msgid "Delete scap content %s?"
213
+ msgstr ""
214
+
218
215
  msgid "Delete tailoring file %s?"
219
216
  msgstr ""
220
217
 
@@ -257,9 +254,6 @@ msgstr ""
257
254
  msgid "Download bzipped ARF report"
258
255
  msgstr ""
259
256
 
260
- msgid "Edit"
261
- msgstr ""
262
-
263
257
  msgid "Edit Compliance Policy"
264
258
  msgstr ""
265
259
 
@@ -309,18 +303,12 @@ msgstr ""
309
303
  msgid "File Upload"
310
304
  msgstr ""
311
305
 
312
- msgid "Filename"
313
- msgstr ""
314
-
315
306
  msgid "Full Report"
316
307
  msgstr ""
317
308
 
318
309
  msgid "General"
319
310
  msgstr ""
320
311
 
321
- msgid "Help"
322
- msgstr ""
323
-
324
312
  msgid "Host"
325
313
  msgstr ""
326
314
 
@@ -339,9 +327,15 @@ msgstr ""
339
327
  msgid "Host does not exist anymore"
340
328
  msgstr ""
341
329
 
330
+ msgid "Host is assigned to policy"
331
+ msgstr ""
332
+
342
333
  msgid "Host is deleted"
343
334
  msgstr ""
344
335
 
336
+ msgid "Host is not assigned to policy but reports were found. You may want to delete the reports or assign the policy again."
337
+ msgstr ""
338
+
345
339
  msgid "Hostgroups"
346
340
  msgstr ""
347
341
 
@@ -354,6 +348,9 @@ msgstr ""
354
348
  msgid "Hosts failing this rule"
355
349
  msgstr ""
356
350
 
351
+ msgid "Hosts no longer assigned: %s"
352
+ msgstr ""
353
+
357
354
  msgid "Hosts othering this rule"
358
355
  msgstr ""
359
356
 
@@ -430,9 +427,6 @@ msgstr ""
430
427
  msgid "More details"
431
428
  msgstr ""
432
429
 
433
- msgid "Name"
434
- msgstr ""
435
-
436
430
  msgid "Never audited"
437
431
  msgstr ""
438
432
 
@@ -588,6 +582,9 @@ msgstr ""
588
582
  msgid "Policy SCAP content profile ID"
589
583
  msgstr ""
590
584
 
585
+ msgid "Policy assigned"
586
+ msgstr ""
587
+
591
588
  msgid "Policy description"
592
589
  msgstr ""
593
590
 
@@ -612,9 +609,6 @@ msgstr ""
612
609
  msgid "Policy with id %s not found."
613
610
  msgstr ""
614
611
 
615
- msgid "Profile"
616
- msgstr ""
617
-
618
612
  msgid "Proxy failed to send a report from spool to Foreman. This indicates a corrupted report format. Report has been moved to directory for storing corrupted files on proxy for later inspection."
619
613
  msgstr ""
620
614
 
@@ -723,6 +717,9 @@ msgstr ""
723
717
  msgid "Show an SCAP content"
724
718
  msgstr ""
725
719
 
720
+ msgid "Show config information for foreman_scap_client"
721
+ msgstr ""
722
+
726
723
  msgid "Show log messages:"
727
724
  msgstr ""
728
725
 
@@ -791,6 +788,9 @@ msgstr ""
791
788
  msgid "The following proxies could not be reached: %s. Please make sure they are available so Foreman can check their versions."
792
789
  msgstr ""
793
790
 
791
+ msgid "The identifier of the host"
792
+ msgstr ""
793
+
794
794
  msgid "This feature is temporarily disabled. "
795
795
  msgstr ""
796
796
 
@@ -800,7 +800,10 @@ msgstr ""
800
800
  msgid "Total"
801
801
  msgstr ""
802
802
 
803
- msgid "Total hosts: %s"
803
+ msgid "Total hosts with policy: %s"
804
+ msgstr ""
805
+
806
+ msgid "Total hosts with reports where policy is no longer assigned."
804
807
  msgstr ""
805
808
 
806
809
  msgid "Total of one host"