foreman_openscap 13.1.1 → 13.1.3

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 (64) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/foreman_openscap/locale/cs_CZ/foreman_openscap.js +67 -17
  3. data/app/assets/javascripts/foreman_openscap/locale/de/foreman_openscap.js +67 -17
  4. data/app/assets/javascripts/foreman_openscap/locale/en/foreman_openscap.js +68 -18
  5. data/app/assets/javascripts/foreman_openscap/locale/en_GB/foreman_openscap.js +67 -17
  6. data/app/assets/javascripts/foreman_openscap/locale/es/foreman_openscap.js +67 -17
  7. data/app/assets/javascripts/foreman_openscap/locale/fr/foreman_openscap.js +70 -18
  8. data/app/assets/javascripts/foreman_openscap/locale/gl/foreman_openscap.js +67 -17
  9. data/app/assets/javascripts/foreman_openscap/locale/it/foreman_openscap.js +67 -17
  10. data/app/assets/javascripts/foreman_openscap/locale/ja/foreman_openscap.js +70 -22
  11. data/app/assets/javascripts/foreman_openscap/locale/ka/foreman_openscap.js +88 -38
  12. data/app/assets/javascripts/foreman_openscap/locale/ko/foreman_openscap.js +70 -22
  13. data/app/assets/javascripts/foreman_openscap/locale/pt_BR/foreman_openscap.js +67 -17
  14. data/app/assets/javascripts/foreman_openscap/locale/ru/foreman_openscap.js +67 -17
  15. data/app/assets/javascripts/foreman_openscap/locale/sv_SE/foreman_openscap.js +67 -17
  16. data/app/assets/javascripts/foreman_openscap/locale/zh_CN/foreman_openscap.js +66 -18
  17. data/app/assets/javascripts/foreman_openscap/locale/zh_TW/foreman_openscap.js +67 -17
  18. data/app/models/concerns/foreman_openscap/host_extensions.rb +10 -4
  19. data/app/models/concerns/foreman_openscap/hostgroup_extensions.rb +7 -0
  20. data/app/models/foreman_openscap/asset.rb +21 -1
  21. data/app/models/foreman_openscap/compliance_status.rb +19 -7
  22. data/app/models/foreman_openscap/policy.rb +43 -3
  23. data/app/services/foreman_openscap/compliance_status_resetter.rb +26 -0
  24. data/lib/foreman_openscap/version.rb +1 -1
  25. data/locale/cs_CZ/LC_MESSAGES/foreman_openscap.mo +0 -0
  26. data/locale/cs_CZ/foreman_openscap.po +69 -17
  27. data/locale/de/LC_MESSAGES/foreman_openscap.mo +0 -0
  28. data/locale/de/foreman_openscap.po +69 -17
  29. data/locale/en/LC_MESSAGES/foreman_openscap.mo +0 -0
  30. data/locale/en/foreman_openscap.po +70 -18
  31. data/locale/en_GB/LC_MESSAGES/foreman_openscap.mo +0 -0
  32. data/locale/en_GB/foreman_openscap.po +69 -17
  33. data/locale/es/LC_MESSAGES/foreman_openscap.mo +0 -0
  34. data/locale/es/foreman_openscap.po +69 -17
  35. data/locale/foreman_openscap.pot +154 -70
  36. data/locale/fr/LC_MESSAGES/foreman_openscap.mo +0 -0
  37. data/locale/fr/foreman_openscap.po +72 -18
  38. data/locale/gl/LC_MESSAGES/foreman_openscap.mo +0 -0
  39. data/locale/gl/foreman_openscap.po +69 -17
  40. data/locale/it/LC_MESSAGES/foreman_openscap.mo +0 -0
  41. data/locale/it/foreman_openscap.po +69 -17
  42. data/locale/ja/LC_MESSAGES/foreman_openscap.mo +0 -0
  43. data/locale/ja/foreman_openscap.po +72 -22
  44. data/locale/ka/LC_MESSAGES/foreman_openscap.mo +0 -0
  45. data/locale/ka/foreman_openscap.po +90 -38
  46. data/locale/ko/LC_MESSAGES/foreman_openscap.mo +0 -0
  47. data/locale/ko/foreman_openscap.po +72 -22
  48. data/locale/pt_BR/LC_MESSAGES/foreman_openscap.mo +0 -0
  49. data/locale/pt_BR/foreman_openscap.po +69 -17
  50. data/locale/ru/LC_MESSAGES/foreman_openscap.mo +0 -0
  51. data/locale/ru/foreman_openscap.po +69 -17
  52. data/locale/sv_SE/LC_MESSAGES/foreman_openscap.mo +0 -0
  53. data/locale/sv_SE/foreman_openscap.po +69 -17
  54. data/locale/zh_CN/LC_MESSAGES/foreman_openscap.mo +0 -0
  55. data/locale/zh_CN/foreman_openscap.po +68 -18
  56. data/locale/zh_TW/LC_MESSAGES/foreman_openscap.mo +0 -0
  57. data/locale/zh_TW/foreman_openscap.po +69 -17
  58. data/test/test_plugin_helper.rb +7 -0
  59. data/test/unit/compliance_status_resetter_test.rb +48 -0
  60. data/test/unit/compliance_status_test.rb +53 -4
  61. data/test/unit/concerns/host_extensions_test.rb +55 -0
  62. data/test/unit/concerns/hostgroup_extensions_test.rb +64 -0
  63. data/test/unit/policy_test.rb +90 -0
  64. metadata +4 -1
@@ -5,7 +5,7 @@
5
5
  # Translators:
6
6
  msgid ""
7
7
  msgstr ""
8
- "Project-Id-Version: foreman_openscap 12.0.1\n"
8
+ "Project-Id-Version: foreman_openscap 13.1.1\n"
9
9
  "Report-Msgid-Bugs-To: \n"
10
10
  "PO-Revision-Date: 2016-04-14 07:48+0000\n"
11
11
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
@@ -46,6 +46,9 @@ msgstr ""
46
46
  msgid "%s reports over time"
47
47
  msgstr ""
48
48
 
49
+ msgid "%s selected hosts."
50
+ msgstr ""
51
+
49
52
  msgid "%s spool errors detected, inspect the appropriate file directly on proxy"
50
53
  msgstr ""
51
54
 
@@ -64,6 +67,9 @@ msgstr ""
64
67
  msgid "A summary of reports for OpenSCAP policies"
65
68
  msgstr ""
66
69
 
70
+ msgid "ALL selected hosts."
71
+ msgstr ""
72
+
67
73
  msgid "Actions"
68
74
  msgstr "Actions"
69
75
 
@@ -82,12 +88,21 @@ msgstr ""
82
88
  msgid "Apply policy to hosts"
83
89
  msgstr ""
84
90
 
85
- msgid "Are you sure you want to delete %s?"
91
+ msgid "Assign"
86
92
  msgstr ""
87
93
 
88
94
  msgid "Assign Compliance Policy"
89
95
  msgstr ""
90
96
 
97
+ msgid "Assign OpenSCAP Proxy"
98
+ msgstr ""
99
+
100
+ msgid "Assign OpenSCAP Proxy for "
101
+ msgstr ""
102
+
103
+ msgid "Assign OpenSCAP Proxy to multiple hosts"
104
+ msgstr ""
105
+
91
106
  msgid "Back"
92
107
  msgstr "Back"
93
108
 
@@ -163,9 +178,6 @@ msgstr ""
163
178
  msgid "Compliant with the policy"
164
179
  msgstr ""
165
180
 
166
- msgid "Confirm"
167
- msgstr ""
168
-
169
181
  msgid "Content"
170
182
  msgstr ""
171
183
 
@@ -307,6 +319,11 @@ msgstr ""
307
319
  msgid "Failed saving %s:"
308
320
  msgstr ""
309
321
 
322
+ msgid "Failed to assign OpenSCAP Proxy to %{failed} of %{total} host."
323
+ msgid_plural "Failed to assign OpenSCAP Proxy to %{failed} of %{total} hosts."
324
+ msgstr[0] ""
325
+ msgstr[1] ""
326
+
310
327
  msgid "Failed to delete %s compliance reports"
311
328
  msgstr ""
312
329
 
@@ -395,12 +412,21 @@ msgstr ""
395
412
  msgid "Hosts passing this rule"
396
413
  msgstr ""
397
414
 
415
+ msgid "Hosts to explicitly exclude in the action. All other hosts will be included in the action, unless an included parameter is passed as well."
416
+ msgstr ""
417
+
418
+ msgid "Hosts to include in the action"
419
+ msgstr ""
420
+
398
421
  msgid "How the policy should be deployed"
399
422
  msgstr ""
400
423
 
401
424
  msgid "ID of OpenSCAP Proxy"
402
425
  msgstr ""
403
426
 
427
+ msgid "ID of the OpenSCAP Proxy to assign to the hosts"
428
+ msgstr ""
429
+
404
430
  msgid "In Foreman, a compliance policy checklist is defined via %s."
405
431
  msgstr ""
406
432
 
@@ -438,6 +464,9 @@ msgstr ""
438
464
  msgid "Latest reports for policy: %s"
439
465
  msgstr ""
440
466
 
467
+ msgid "Line chart"
468
+ msgstr ""
469
+
441
470
  msgid "List ARF reports"
442
471
  msgstr ""
443
472
 
@@ -453,6 +482,15 @@ msgstr ""
453
482
  msgid "List Tailoring files"
454
483
  msgstr ""
455
484
 
485
+ msgid "List of host ids to exclude and not perform the action on"
486
+ msgstr ""
487
+
488
+ msgid "List of host ids to perform the action on"
489
+ msgstr ""
490
+
491
+ msgid "Loading"
492
+ msgstr "Loading"
493
+
456
494
  msgid "Loading..."
457
495
  msgstr ""
458
496
 
@@ -498,6 +536,9 @@ msgstr ""
498
536
  msgid "No ARF reports for this policy"
499
537
  msgstr ""
500
538
 
539
+ msgid "No OpenSCAP Proxies available. Please configure a Smart Proxy with the OpenSCAP feature."
540
+ msgstr ""
541
+
501
542
  msgid "No OpenSCAP Proxy selected."
502
543
  msgstr ""
503
544
 
@@ -519,6 +560,9 @@ msgstr ""
519
560
  msgid "No compliance reports were found."
520
561
  msgstr ""
521
562
 
563
+ msgid "No data available"
564
+ msgstr ""
565
+
522
566
  msgid "No hosts selected"
523
567
  msgstr "No hosts selected"
524
568
 
@@ -582,9 +626,15 @@ msgstr ""
582
626
  msgid "OpenSCAP Proxy"
583
627
  msgstr ""
584
628
 
629
+ msgid "OpenSCAP Proxy is set to %s"
630
+ msgstr ""
631
+
585
632
  msgid "OpenSCAP Proxy to use for fetching SCAP content and uploading ARF reports. Leave blank and override appropriate parameters when using proxy load balancer."
586
633
  msgstr ""
587
634
 
635
+ msgid "OpenSCAP Proxy with id %s not found"
636
+ msgstr ""
637
+
588
638
  msgid "Openscap Proxy"
589
639
  msgstr ""
590
640
 
@@ -614,9 +664,6 @@ msgstr ""
614
664
  msgid "Passed|P"
615
665
  msgstr ""
616
666
 
617
- msgid "Permission denied"
618
- msgstr ""
619
-
620
667
  msgid "Please Confirm"
621
668
  msgstr "Please Confirm"
622
669
 
@@ -722,9 +769,6 @@ msgstr ""
722
769
  msgid "Reports"
723
770
  msgstr ""
724
771
 
725
- msgid "Request the following permissions from administrator: %s."
726
- msgstr ""
727
-
728
772
  msgid "Request timed out. Please try increasing Settings -> proxy_request_timeout"
729
773
  msgstr ""
730
774
 
@@ -794,6 +838,9 @@ msgstr ""
794
838
  msgid "Schedule"
795
839
  msgstr ""
796
840
 
841
+ msgid "Search string describing which hosts to perform the action on"
842
+ msgstr ""
843
+
797
844
  msgid "Select Action"
798
845
  msgstr "Select Action"
799
846
 
@@ -875,6 +922,11 @@ msgstr ""
875
922
  msgid "Successfully deleted ARF report."
876
923
  msgstr ""
877
924
 
925
+ msgid "Successfully updated %{success} host."
926
+ msgid_plural "Successfully updated %{success} hosts."
927
+ msgstr[0] ""
928
+ msgstr[1] ""
929
+
878
930
  msgid "Summary from %{time} ago to now"
879
931
  msgstr ""
880
932
 
@@ -919,13 +971,13 @@ msgstr ""
919
971
  msgid "The job has started on selected host(s), you can check the status on the job details page."
920
972
  msgstr ""
921
973
 
922
- msgid "There are significant differences in deployment options."
974
+ msgid "The selected OpenSCAP Proxy does not have the OpenSCAP feature enabled."
923
975
  msgstr ""
924
976
 
925
- msgid "There is no job to remediate with. Please remediate manually."
977
+ msgid "There are significant differences in deployment options."
926
978
  msgstr ""
927
979
 
928
- msgid "There was a following error when deleting %(name)s: %(error)s"
980
+ msgid "There is no job to remediate with. Please remediate manually."
929
981
  msgstr ""
930
982
 
931
983
  msgid "There's no available report for this host"
@@ -937,6 +989,9 @@ msgstr ""
937
989
  msgid "This profile will be used to override the one from scap content"
938
990
  msgstr ""
939
991
 
992
+ msgid "This will change previous proxy assignments on the selected hosts."
993
+ msgstr ""
994
+
940
995
  msgid "Title"
941
996
  msgstr ""
942
997
 
@@ -1032,9 +1087,6 @@ msgstr ""
1032
1087
  msgid "Yes"
1033
1088
  msgstr ""
1034
1089
 
1035
- msgid "You are not authorized to view the page. "
1036
- msgstr ""
1037
-
1038
1090
  msgid "You can remediate by running a remote job or you can display a snippet for manual remediation."
1039
1091
  msgstr ""
1040
1092
 
@@ -7,7 +7,7 @@
7
7
  # FIRST AUTHOR <EMAIL@ADDRESS>, 2016
8
8
  msgid ""
9
9
  msgstr ""
10
- "Project-Id-Version: foreman_openscap 12.0.1\n"
10
+ "Project-Id-Version: foreman_openscap 13.1.1\n"
11
11
  "Report-Msgid-Bugs-To: \n"
12
12
  "PO-Revision-Date: 2016-04-14 07:48+0000\n"
13
13
  "Last-Translator: FIRST AUTHOR <EMAIL@ADDRESS>, 2016\n"
@@ -50,6 +50,9 @@ msgstr "%s último informe"
50
50
  msgid "%s reports over time"
51
51
  msgstr "%s informes conforme avanza el tiempo"
52
52
 
53
+ msgid "%s selected hosts."
54
+ msgstr ""
55
+
53
56
  msgid "%s spool errors detected, inspect the appropriate file directly on proxy"
54
57
  msgstr "Se detectaron errores de cola de espera %s. Inspeccione el archivo adecuado directamente en el proxy"
55
58
 
@@ -68,6 +71,9 @@ msgstr ""
68
71
  msgid "A summary of reports for OpenSCAP policies"
69
72
  msgstr "Un resumen de los informes para las políticas de OpenSCAP"
70
73
 
74
+ msgid "ALL selected hosts."
75
+ msgstr ""
76
+
71
77
  msgid "Actions"
72
78
  msgstr "Acciones"
73
79
 
@@ -86,12 +92,21 @@ msgstr "Aplicar política a grupos de hosts"
86
92
  msgid "Apply policy to hosts"
87
93
  msgstr "Aplicar política a los hosts"
88
94
 
89
- msgid "Are you sure you want to delete %s?"
95
+ msgid "Assign"
90
96
  msgstr ""
91
97
 
92
98
  msgid "Assign Compliance Policy"
93
99
  msgstr "Asignar política de cumplimiento"
94
100
 
101
+ msgid "Assign OpenSCAP Proxy"
102
+ msgstr ""
103
+
104
+ msgid "Assign OpenSCAP Proxy for "
105
+ msgstr ""
106
+
107
+ msgid "Assign OpenSCAP Proxy to multiple hosts"
108
+ msgstr ""
109
+
95
110
  msgid "Back"
96
111
  msgstr "Atrás"
97
112
 
@@ -167,9 +182,6 @@ msgstr "Hosts en conformidad"
167
182
  msgid "Compliant with the policy"
168
183
  msgstr "En conformidad con la política"
169
184
 
170
- msgid "Confirm"
171
- msgstr "Confirmar"
172
-
173
185
  msgid "Content"
174
186
  msgstr ""
175
187
 
@@ -311,6 +323,11 @@ msgstr "Solo con error"
311
323
  msgid "Failed saving %s:"
312
324
  msgstr ""
313
325
 
326
+ msgid "Failed to assign OpenSCAP Proxy to %{failed} of %{total} host."
327
+ msgid_plural "Failed to assign OpenSCAP Proxy to %{failed} of %{total} hosts."
328
+ msgstr[0] ""
329
+ msgstr[1] ""
330
+
314
331
  msgid "Failed to delete %s compliance reports"
315
332
  msgstr "No se pudieron eliminar los informes de cumplimiento %s."
316
333
 
@@ -399,12 +416,21 @@ msgstr "Hosts que consideran esta regla"
399
416
  msgid "Hosts passing this rule"
400
417
  msgstr "Hosts que envían esta regla"
401
418
 
419
+ msgid "Hosts to explicitly exclude in the action. All other hosts will be included in the action, unless an included parameter is passed as well."
420
+ msgstr ""
421
+
422
+ msgid "Hosts to include in the action"
423
+ msgstr ""
424
+
402
425
  msgid "How the policy should be deployed"
403
426
  msgstr "Cómo se debe implementar la política"
404
427
 
405
428
  msgid "ID of OpenSCAP Proxy"
406
429
  msgstr "ID del proxy OpenSCAP"
407
430
 
431
+ msgid "ID of the OpenSCAP Proxy to assign to the hosts"
432
+ msgstr ""
433
+
408
434
  msgid "In Foreman, a compliance policy checklist is defined via %s."
409
435
  msgstr "En Foreman, la lista de verificación de la política de cumplimiento se define a través de %s."
410
436
 
@@ -442,6 +468,9 @@ msgstr "Últimos informes de cumplimiento"
442
468
  msgid "Latest reports for policy: %s"
443
469
  msgstr "Últimos informes para la política: %s"
444
470
 
471
+ msgid "Line chart"
472
+ msgstr ""
473
+
445
474
  msgid "List ARF reports"
446
475
  msgstr "Enumerar los informes ARF"
447
476
 
@@ -457,6 +486,15 @@ msgstr "Listar contenidos de SCAP"
457
486
  msgid "List Tailoring files"
458
487
  msgstr "Mencionar archivos de personalización"
459
488
 
489
+ msgid "List of host ids to exclude and not perform the action on"
490
+ msgstr ""
491
+
492
+ msgid "List of host ids to perform the action on"
493
+ msgstr ""
494
+
495
+ msgid "Loading"
496
+ msgstr "Cargando"
497
+
460
498
  msgid "Loading..."
461
499
  msgstr "Cargando..."
462
500
 
@@ -502,6 +540,9 @@ msgstr "No"
502
540
  msgid "No ARF reports for this policy"
503
541
  msgstr "No hay informes ARF para esta política."
504
542
 
543
+ msgid "No OpenSCAP Proxies available. Please configure a Smart Proxy with the OpenSCAP feature."
544
+ msgstr ""
545
+
505
546
  msgid "No OpenSCAP Proxy selected."
506
547
  msgstr "No se seleccionó un proxy OpenSCAP."
507
548
 
@@ -523,6 +564,9 @@ msgstr "No se seleccionaron informes de cumplimiento"
523
564
  msgid "No compliance reports were found."
524
565
  msgstr "No se encontraron informes de cumplimiento."
525
566
 
567
+ msgid "No data available"
568
+ msgstr ""
569
+
526
570
  msgid "No hosts selected"
527
571
  msgstr "Ningún host seleccionado"
528
572
 
@@ -586,9 +630,15 @@ msgstr "Una vez que el contenido SCAP esté presente, puede crear una política,
586
630
  msgid "OpenSCAP Proxy"
587
631
  msgstr "Proxy de OpenSCAP"
588
632
 
633
+ msgid "OpenSCAP Proxy is set to %s"
634
+ msgstr ""
635
+
589
636
  msgid "OpenSCAP Proxy to use for fetching SCAP content and uploading ARF reports. Leave blank and override appropriate parameters when using proxy load balancer."
590
637
  msgstr "Proxy OpenSCAP que se utiliza para buscar contenido SCAP y subir informes ARF. Deje en blanco y sobrescriba los parámetros adecuados cuando use el equilibrador de carga proxy."
591
638
 
639
+ msgid "OpenSCAP Proxy with id %s not found"
640
+ msgstr ""
641
+
592
642
  msgid "Openscap Proxy"
593
643
  msgstr "Proxy Openscap"
594
644
 
@@ -618,9 +668,6 @@ msgstr "Leído"
618
668
  msgid "Passed|P"
619
669
  msgstr "Leído|P"
620
670
 
621
- msgid "Permission denied"
622
- msgstr "Permiso negado"
623
-
624
671
  msgid "Please Confirm"
625
672
  msgstr "Confirmar"
626
673
 
@@ -726,9 +773,6 @@ msgstr "Reportado en"
726
773
  msgid "Reports"
727
774
  msgstr "Informes"
728
775
 
729
- msgid "Request the following permissions from administrator: %s."
730
- msgstr ""
731
-
732
776
  msgid "Request timed out. Please try increasing Settings -> proxy_request_timeout"
733
777
  msgstr "Expiró el tiempo de conexión. Pruebe incrementarlo en Configuración->proxy_request_timeout"
734
778
 
@@ -798,6 +842,9 @@ msgstr "Resumen de políticas de SCAP"
798
842
  msgid "Schedule"
799
843
  msgstr "Programa"
800
844
 
845
+ msgid "Search string describing which hosts to perform the action on"
846
+ msgstr ""
847
+
801
848
  msgid "Select Action"
802
849
  msgstr "Seleccionar una acción"
803
850
 
@@ -879,6 +926,11 @@ msgstr "Los informes de cumplimiento %s se eliminaron correctamente."
879
926
  msgid "Successfully deleted ARF report."
880
927
  msgstr "Se eliminó correctamente el informe ARF."
881
928
 
929
+ msgid "Successfully updated %{success} host."
930
+ msgid_plural "Successfully updated %{success} hosts."
931
+ msgstr[0] ""
932
+ msgstr[1] ""
933
+
882
934
  msgid "Summary from %{time} ago to now"
883
935
  msgstr "Resumen desde %{time} hasta ahora"
884
936
 
@@ -923,15 +975,15 @@ msgstr "El identificador del host"
923
975
  msgid "The job has started on selected host(s), you can check the status on the job details page."
924
976
  msgstr ""
925
977
 
978
+ msgid "The selected OpenSCAP Proxy does not have the OpenSCAP feature enabled."
979
+ msgstr ""
980
+
926
981
  msgid "There are significant differences in deployment options."
927
982
  msgstr "Hay diferencias significativas en las opciones de despliegue."
928
983
 
929
984
  msgid "There is no job to remediate with. Please remediate manually."
930
985
  msgstr ""
931
986
 
932
- msgid "There was a following error when deleting %(name)s: %(error)s"
933
- msgstr ""
934
-
935
987
  msgid "There's no available report for this host"
936
988
  msgstr ""
937
989
 
@@ -941,6 +993,9 @@ msgstr ""
941
993
  msgid "This profile will be used to override the one from scap content"
942
994
  msgstr "Este perfil se utilizará para anular el perfil del contenido scap"
943
995
 
996
+ msgid "This will change previous proxy assignments on the selected hosts."
997
+ msgstr ""
998
+
944
999
  msgid "Title"
945
1000
  msgstr "Título"
946
1001
 
@@ -1037,9 +1092,6 @@ msgstr "XML que contiene el archivo de personalización"
1037
1092
  msgid "Yes"
1038
1093
  msgstr "Sí"
1039
1094
 
1040
- msgid "You are not authorized to view the page. "
1041
- msgstr ""
1042
-
1043
1095
  msgid "You can remediate by running a remote job or you can display a snippet for manual remediation."
1044
1096
  msgstr ""
1045
1097