foreman_openscap 5.2.3 → 7.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (87) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/foreman_openscap/locale/cs_CZ/foreman_openscap.js +1302 -0
  3. data/app/assets/javascripts/foreman_openscap/locale/de/foreman_openscap.js +1302 -0
  4. data/app/assets/javascripts/foreman_openscap/locale/en/foreman_openscap.js +1302 -0
  5. data/app/assets/javascripts/foreman_openscap/locale/en_GB/foreman_openscap.js +1302 -0
  6. data/app/assets/javascripts/foreman_openscap/locale/es/foreman_openscap.js +1304 -0
  7. data/app/assets/javascripts/foreman_openscap/locale/fr/foreman_openscap.js +1304 -0
  8. data/app/assets/javascripts/foreman_openscap/locale/gl/foreman_openscap.js +1302 -0
  9. data/app/assets/javascripts/foreman_openscap/locale/it/foreman_openscap.js +1302 -0
  10. data/app/assets/javascripts/foreman_openscap/locale/ja/foreman_openscap.js +1300 -0
  11. data/app/assets/javascripts/foreman_openscap/locale/ko/foreman_openscap.js +1302 -0
  12. data/app/assets/javascripts/foreman_openscap/locale/pt_BR/foreman_openscap.js +1304 -0
  13. data/app/assets/javascripts/foreman_openscap/locale/ru/foreman_openscap.js +1302 -0
  14. data/app/assets/javascripts/foreman_openscap/locale/sv_SE/foreman_openscap.js +1302 -0
  15. data/app/assets/javascripts/foreman_openscap/locale/zh_CN/foreman_openscap.js +1300 -0
  16. data/app/assets/javascripts/foreman_openscap/locale/zh_TW/foreman_openscap.js +1302 -0
  17. data/app/controllers/concerns/foreman_openscap/hosts_and_hostgroups_controller_extensions.rb +1 -1
  18. data/app/helpers/compliance_hosts_helper.rb +2 -0
  19. data/app/services/foreman_openscap/client_config/ansible.rb +4 -1
  20. data/app/services/foreman_openscap/client_config/manual.rb +1 -1
  21. data/app/services/foreman_openscap/client_config/puppet.rb +4 -1
  22. data/app/services/foreman_openscap/oval/sync_oval_contents.rb +2 -2
  23. data/app/views/arf_reports/_list.html.erb +1 -1
  24. data/app/views/policies/_list.html.erb +3 -3
  25. data/app/views/scap_contents/_list.html.erb +3 -3
  26. data/app/views/tailoring_files/_list.html.erb +3 -3
  27. data/lib/foreman_openscap/bulk_upload.rb +7 -7
  28. data/lib/foreman_openscap/engine.rb +2 -7
  29. data/lib/foreman_openscap/version.rb +1 -1
  30. data/locale/Makefile +6 -3
  31. data/locale/cs_CZ/LC_MESSAGES/foreman_openscap.mo +0 -0
  32. data/locale/cs_CZ/foreman_openscap.edit.po +1735 -0
  33. data/locale/cs_CZ/foreman_openscap.po +1309 -0
  34. data/locale/cs_CZ/foreman_openscap.po.time_stamp +0 -0
  35. data/locale/de/foreman_openscap.edit.po +1745 -0
  36. data/locale/de/foreman_openscap.po +195 -0
  37. data/locale/de/foreman_openscap.po.time_stamp +0 -0
  38. data/locale/en/LC_MESSAGES/foreman_openscap.mo +0 -0
  39. data/locale/en/foreman_openscap.edit.po +1735 -0
  40. data/locale/en/foreman_openscap.po +1309 -0
  41. data/locale/en/foreman_openscap.po.time_stamp +0 -0
  42. data/locale/en_GB/foreman_openscap.edit.po +1735 -0
  43. data/locale/en_GB/foreman_openscap.po +195 -0
  44. data/locale/en_GB/foreman_openscap.po.time_stamp +0 -0
  45. data/locale/es/foreman_openscap.edit.po +1740 -0
  46. data/locale/es/foreman_openscap.po +195 -0
  47. data/locale/es/foreman_openscap.po.time_stamp +0 -0
  48. data/locale/foreman_openscap.pot +361 -49
  49. data/locale/fr/foreman_openscap.edit.po +1746 -0
  50. data/locale/fr/foreman_openscap.po +195 -0
  51. data/locale/fr/foreman_openscap.po.time_stamp +0 -0
  52. data/locale/gl/foreman_openscap.edit.po +1735 -0
  53. data/locale/gl/foreman_openscap.po +195 -0
  54. data/locale/gl/foreman_openscap.po.time_stamp +0 -0
  55. data/locale/it/foreman_openscap.edit.po +1737 -0
  56. data/locale/it/foreman_openscap.po +195 -0
  57. data/locale/it/foreman_openscap.po.time_stamp +0 -0
  58. data/locale/ja/foreman_openscap.edit.po +1741 -0
  59. data/locale/ja/foreman_openscap.po +195 -0
  60. data/locale/ja/foreman_openscap.po.time_stamp +0 -0
  61. data/locale/ko/foreman_openscap.edit.po +1735 -0
  62. data/locale/ko/foreman_openscap.po +195 -0
  63. data/locale/ko/foreman_openscap.po.time_stamp +0 -0
  64. data/locale/pt_BR/foreman_openscap.edit.po +1745 -0
  65. data/locale/pt_BR/foreman_openscap.po +195 -0
  66. data/locale/pt_BR/foreman_openscap.po.time_stamp +0 -0
  67. data/locale/ru/foreman_openscap.edit.po +1739 -0
  68. data/locale/ru/foreman_openscap.po +195 -0
  69. data/locale/ru/foreman_openscap.po.time_stamp +0 -0
  70. data/locale/sv_SE/foreman_openscap.edit.po +1735 -0
  71. data/locale/sv_SE/foreman_openscap.po +195 -0
  72. data/locale/sv_SE/foreman_openscap.po.time_stamp +0 -0
  73. data/locale/zh_CN/foreman_openscap.edit.po +1740 -0
  74. data/locale/zh_CN/foreman_openscap.po +195 -0
  75. data/locale/zh_CN/foreman_openscap.po.time_stamp +0 -0
  76. data/locale/zh_TW/foreman_openscap.edit.po +1736 -0
  77. data/locale/zh_TW/foreman_openscap.po +195 -0
  78. data/locale/zh_TW/foreman_openscap.po.time_stamp +0 -0
  79. data/package.json +7 -7
  80. data/webpack/components/HostExtentions/HostKebabItems.js +44 -0
  81. data/webpack/global_index.js +10 -1
  82. data/webpack/routes/OvalContents/OvalContentsNew/OvalContentsNew.js +2 -2
  83. data/webpack/routes/OvalPolicies/OvalPoliciesNew/HostgroupSelect.js +1 -1
  84. data/webpack/routes/OvalPolicies/OvalPoliciesNew/NewOvalPolicyFormHelpers.js +3 -3
  85. data/webpack/routes/OvalPolicies/OvalPoliciesShow/OvalPoliciesShowHelper.js +4 -4
  86. data/webpack/routes/OvalPolicies/OvalPoliciesShow/__tests__/OvalPoliciesShow.test.js +1 -1
  87. metadata +53 -3
@@ -35,6 +35,15 @@ msgid_plural "%s compliance reports by policy"
35
35
  msgstr[0] ""
36
36
  msgstr[1] ""
37
37
 
38
+ msgid "%s content"
39
+ msgstr ""
40
+
41
+ msgid "%s does not exist, skipping."
42
+ msgstr ""
43
+
44
+ msgid "%s is a directory, expecting file."
45
+ msgstr ""
46
+
38
47
  msgid "%s latest report"
39
48
  msgstr "Последний отчет %s"
40
49
 
@@ -83,6 +92,9 @@ msgstr ""
83
92
  msgid "Are required variables for theforeman.foreman_scap_client present?"
84
93
  msgstr ""
85
94
 
95
+ msgid "Are you sure you want to delete %s?"
96
+ msgstr ""
97
+
86
98
  msgid "Array of host IDs"
87
99
  msgstr ""
88
100
 
@@ -104,6 +116,12 @@ msgstr ""
104
116
  msgid "Back"
105
117
  msgstr "Назад"
106
118
 
119
+ msgid "CVEs"
120
+ msgstr ""
121
+
122
+ msgid "Can't find scap-security-guide RPM, are you sure it is installed on your server?"
123
+ msgstr ""
124
+
107
125
  msgid "Cancel"
108
126
  msgstr "Отмена"
109
127
 
@@ -125,6 +143,9 @@ msgstr ""
125
143
  msgid "Changed?"
126
144
  msgstr "Изменился?"
127
145
 
146
+ msgid "Choose OVAL Content"
147
+ msgstr ""
148
+
128
149
  msgid "Choose Tailoring File"
129
150
  msgstr ""
130
151
 
@@ -167,6 +188,12 @@ msgstr "Узлы, соответствующие нормам SCAP"
167
188
  msgid "Compliant with the policy"
168
189
  msgstr "Соответствует требованиям политики"
169
190
 
191
+ msgid "Confirm"
192
+ msgstr ""
193
+
194
+ msgid "Content"
195
+ msgstr ""
196
+
170
197
  msgid "Could not find host identified by: %s"
171
198
  msgstr ""
172
199
 
@@ -179,6 +206,12 @@ msgstr ""
179
206
  msgid "Could not validate %{file_type}. Error %{error}"
180
207
  msgstr ""
181
208
 
209
+ msgid "Create OVAL Content"
210
+ msgstr ""
211
+
212
+ msgid "Create OVAL Policy"
213
+ msgstr ""
214
+
182
215
  msgid "Create OVAL content"
183
216
  msgstr ""
184
217
 
@@ -194,6 +227,12 @@ msgstr ""
194
227
  msgid "Create an OVAL Policy"
195
228
  msgstr ""
196
229
 
230
+ msgid "Created at"
231
+ msgstr ""
232
+
233
+ msgid "Custom cron: %s"
234
+ msgstr ""
235
+
197
236
  msgid "Dashboard"
198
237
  msgstr "Обзор"
199
238
 
@@ -209,6 +248,12 @@ msgstr "Профиль XCCDF по умолчанию"
209
248
  msgid "Delete"
210
249
  msgstr "Удалить"
211
250
 
251
+ msgid "Delete OVAL Content"
252
+ msgstr ""
253
+
254
+ msgid "Delete OVAL Policy"
255
+ msgstr ""
256
+
212
257
  msgid "Delete a Policy"
213
258
  msgstr ""
214
259
 
@@ -251,6 +296,9 @@ msgstr ""
251
296
  msgid "Description"
252
297
  msgstr "Описание"
253
298
 
299
+ msgid "Details"
300
+ msgstr ""
301
+
254
302
  msgid "Details for Compliance Policy %s"
255
303
  msgstr ""
256
304
 
@@ -290,6 +338,12 @@ msgstr ""
290
338
  msgid "Error!"
291
339
  msgstr ""
292
340
 
341
+ msgid "Every puppet run ensures the foreman_scap_client is configured according to the policy."
342
+ msgstr ""
343
+
344
+ msgid "Expected an array of files to upload, got: %s."
345
+ msgstr ""
346
+
293
347
  msgid "Failed"
294
348
  msgstr "Неудачно"
295
349
 
@@ -299,6 +353,12 @@ msgstr "«Неудачно» и «Другое»"
299
353
  msgid "Failed only"
300
354
  msgstr "Только «Неудачно»"
301
355
 
356
+ msgid "Failed saving %s:"
357
+ msgstr ""
358
+
359
+ msgid "Failed to create OVAL Policy: %s"
360
+ msgstr ""
361
+
302
362
  msgid "Failed to delete %s compliance reports"
303
363
  msgstr "Некоторые отчеты не были удалены (всего %s)"
304
364
 
@@ -311,6 +371,9 @@ msgstr ""
311
371
  msgid "Failed to downloaded ARF report in HTML: %s"
312
372
  msgstr ""
313
373
 
374
+ msgid "Failed to fetch content file from %s"
375
+ msgstr ""
376
+
314
377
  msgid "Failed to fetch spool status from proxy"
315
378
  msgstr ""
316
379
 
@@ -324,9 +387,15 @@ msgstr ""
324
387
  msgid "Failed|F"
325
388
  msgstr "Н"
326
389
 
390
+ msgid "File"
391
+ msgstr ""
392
+
327
393
  msgid "File Upload"
328
394
  msgstr "Добавить файл"
329
395
 
396
+ msgid "File name"
397
+ msgstr ""
398
+
330
399
  msgid "File paths to upload when using \"files\" upload type"
331
400
  msgstr ""
332
401
 
@@ -475,6 +544,9 @@ msgstr "Местоположение"
475
544
  msgid "Message"
476
545
  msgstr "Сообщение"
477
546
 
547
+ msgid "Monthly, day of month: %s"
548
+ msgstr ""
549
+
478
550
  msgid "More details"
479
551
  msgstr "Подробности"
480
552
 
@@ -487,6 +559,9 @@ msgstr "Никогда не проверялись"
487
559
  msgid "New Compliance Policy"
488
560
  msgstr "Новая политика"
489
561
 
562
+ msgid "New OVAL Content"
563
+ msgstr ""
564
+
490
565
  msgid "New Policy"
491
566
  msgstr ""
492
567
 
@@ -508,6 +583,12 @@ msgstr "Нет отчетов ARF для этой политики"
508
583
  msgid "No CVEs found."
509
584
  msgstr ""
510
585
 
586
+ msgid "No Hostgroups found."
587
+ msgstr ""
588
+
589
+ msgid "No OVAL Content found"
590
+ msgstr ""
591
+
511
592
  msgid "No OVAL Contents found."
512
593
  msgstr ""
513
594
 
@@ -565,6 +646,9 @@ msgstr "Нет отчетов"
565
646
  msgid "No reports available"
566
647
  msgstr "Нет отчетов"
567
648
 
649
+ msgid "No such directory: %s. Please check the path you have provided."
650
+ msgstr ""
651
+
568
652
  msgid "No valid policy ID provided"
569
653
  msgstr ""
570
654
 
@@ -574,6 +658,9 @@ msgstr "Нет"
574
658
  msgid "None found"
575
659
  msgstr "Не найдено"
576
660
 
661
+ msgid "None provided"
662
+ msgstr ""
663
+
577
664
  msgid "None!"
578
665
  msgstr "Нет."
579
666
 
@@ -595,6 +682,24 @@ msgstr "Порядковый номер дня в месяце (количест
595
682
  msgid "OVAL Content"
596
683
  msgstr ""
597
684
 
685
+ msgid "OVAL Content %s successfully created"
686
+ msgstr ""
687
+
688
+ msgid "OVAL Content Source"
689
+ msgstr ""
690
+
691
+ msgid "OVAL Content from URL"
692
+ msgstr ""
693
+
694
+ msgid "OVAL Content from file"
695
+ msgstr ""
696
+
697
+ msgid "OVAL Content is required to create OVAL Policy. Please create one before proceeding."
698
+ msgstr ""
699
+
700
+ msgid "OVAL Content successfully deleted."
701
+ msgstr ""
702
+
598
703
  msgid "OVAL Contents"
599
704
  msgstr ""
600
705
 
@@ -625,12 +730,24 @@ msgstr ""
625
730
  msgid "OVAL Policy schedule weekday (only if period == \"weekly\")"
626
731
  msgstr ""
627
732
 
733
+ msgid "OVAL Policy succesfully created."
734
+ msgstr ""
735
+
628
736
  msgid "OVAL content name"
629
737
  msgstr ""
630
738
 
739
+ msgid "OVAL policy"
740
+ msgstr ""
741
+
631
742
  msgid "OVAL policy successfully configured with %s."
632
743
  msgstr ""
633
744
 
745
+ msgid "OVAL policy was successfully deleted."
746
+ msgstr ""
747
+
748
+ msgid "OVAL policy was successfully updated."
749
+ msgstr ""
750
+
634
751
  msgid "OVAL scan"
635
752
  msgstr ""
636
753
 
@@ -649,6 +766,9 @@ msgstr ""
649
766
  msgid "Organizations"
650
767
  msgstr "Организации"
651
768
 
769
+ msgid "Original File Name"
770
+ msgstr ""
771
+
652
772
  msgid "Original file name of the OVAL content file"
653
773
  msgstr ""
654
774
 
@@ -672,6 +792,12 @@ msgstr "Успешно"
672
792
  msgid "Passed|P"
673
793
  msgstr "У"
674
794
 
795
+ msgid "Period"
796
+ msgstr ""
797
+
798
+ msgid "Permission denied"
799
+ msgstr ""
800
+
675
801
  msgid "Please Confirm"
676
802
  msgstr "Подтвердите"
677
803
 
@@ -732,6 +858,9 @@ msgstr ""
732
858
  msgid "Policy with id %s not found."
733
859
  msgstr ""
734
860
 
861
+ msgid "Profile"
862
+ msgstr ""
863
+
735
864
  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."
736
865
  msgstr ""
737
866
 
@@ -741,6 +870,9 @@ msgstr "Класс Puppet"
741
870
  msgid "Rationale"
742
871
  msgstr "Обоснование"
743
872
 
873
+ msgid "Red Hat %s default content"
874
+ msgstr ""
875
+
744
876
  msgid "Ref Id"
745
877
  msgstr ""
746
878
 
@@ -765,12 +897,21 @@ msgstr ""
765
897
  msgid "Reports"
766
898
  msgstr "Отчеты"
767
899
 
900
+ msgid "Request the following permissions from administrator: %s."
901
+ msgstr ""
902
+
768
903
  msgid "Request timed out. Please try increasing Settings -> proxy_request_timeout"
769
904
  msgstr ""
770
905
 
771
906
  msgid "Required %{msg_name} %{class} was not found, please ensure it is imported first."
772
907
  msgstr ""
773
908
 
909
+ msgid "Requires %s Puppet class. This will assign the class to the hosts or selected hostgroups."
910
+ msgstr ""
911
+
912
+ msgid "Requires Ansible plugin, %s Ansible role and variables. This will assign the role to the hosts or selected hostgroups."
913
+ msgstr ""
914
+
774
915
  msgid "Resource"
775
916
  msgstr "Источник"
776
917
 
@@ -837,6 +978,9 @@ msgstr ""
837
978
  msgid "Show a Tailoring file"
838
979
  msgstr ""
839
980
 
981
+ msgid "Show a policy's OVAL content"
982
+ msgstr ""
983
+
840
984
  msgid "Show a policy's SCAP content"
841
985
  msgstr "Показать описание политики SCAP"
842
986
 
@@ -903,6 +1047,9 @@ msgstr ""
903
1047
  msgid "Table of CVEs for OVAL policy"
904
1048
  msgstr ""
905
1049
 
1050
+ msgid "Table of hostgroups for OVAL policy"
1051
+ msgstr ""
1052
+
906
1053
  msgid "Tailoring File"
907
1054
  msgstr ""
908
1055
 
@@ -918,6 +1065,9 @@ msgstr ""
918
1065
  msgid "Tailoring file profile ID"
919
1066
  msgstr ""
920
1067
 
1068
+ msgid "The %s proxy does not have Openscap feature enabled. Either set correct OpenSCAP Proxy or unset it."
1069
+ msgstr ""
1070
+
921
1071
  msgid ""
922
1072
  "The Security Content Automation Protocol (SCAP), combines a number of open standards that are used to enumerate software flaws and\n"
923
1073
  " configuration issues related to security. "
@@ -941,12 +1091,30 @@ msgstr ""
941
1091
  msgid "There are significant differences in deployment options."
942
1092
  msgstr ""
943
1093
 
1094
+ msgid "There was a following error when deleting %(name)s: %(error)s"
1095
+ msgstr ""
1096
+
1097
+ msgid "There was a following error when updating OVAL policy: %s"
1098
+ msgstr ""
1099
+
1100
+ msgid "There's no available report for this host"
1101
+ msgstr ""
1102
+
944
1103
  msgid "This feature is temporarily disabled. "
945
1104
  msgstr ""
946
1105
 
1106
+ 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."
1107
+ msgstr ""
1108
+
947
1109
  msgid "This profile will be used to override the one from scap content"
948
1110
  msgstr ""
949
1111
 
1112
+ msgid "Title"
1113
+ msgstr ""
1114
+
1115
+ msgid "To deploy foreman_scap_client, ansible roles run needs to be triggered manually. Manual run is also required after any change to this policy."
1116
+ msgstr ""
1117
+
950
1118
  msgid "Total"
951
1119
  msgstr "Всего"
952
1120
 
@@ -961,9 +1129,15 @@ msgid_plural "Total of %{hosts} hosts"
961
1129
  msgstr[0] ""
962
1130
  msgstr[1] ""
963
1131
 
1132
+ msgid "Type a hostgroup name..."
1133
+ msgstr ""
1134
+
964
1135
  msgid "Type of the upload"
965
1136
  msgstr ""
966
1137
 
1138
+ msgid "URL"
1139
+ msgstr ""
1140
+
967
1141
  msgid "URL of the OVAL content file"
968
1142
  msgstr ""
969
1143
 
@@ -982,6 +1156,12 @@ msgstr "Неизвестный статус"
982
1156
  msgid "Unknown OVAL status"
983
1157
  msgstr ""
984
1158
 
1159
+ msgid "Unknown error when submitting data, please try again later."
1160
+ msgstr ""
1161
+
1162
+ msgid "Unknown schedule"
1163
+ msgstr ""
1164
+
985
1165
  msgid "Update a Policy"
986
1166
  msgstr ""
987
1167
 
@@ -1039,6 +1219,9 @@ msgstr ""
1039
1219
  msgid "Was %{model_name} %{name} configured successfully?"
1040
1220
  msgstr ""
1041
1221
 
1222
+ msgid "Weekly, on %s"
1223
+ msgstr ""
1224
+
1042
1225
  msgid "XCCDF Profile"
1043
1226
  msgstr "Профиль XCCDF"
1044
1227
 
@@ -1057,15 +1240,24 @@ msgstr ""
1057
1240
  msgid "Yes"
1058
1241
  msgstr "Да"
1059
1242
 
1243
+ msgid "You are not authorized to view the page. "
1244
+ msgstr ""
1245
+
1060
1246
  msgid "You can specify custom cron line, e.g. \"0 3 * * *\", separate each of 5 values by space"
1061
1247
  msgstr "Вы можете изменить расписание по своему усмотрению. Строка cron должна состоять из пяти значений, разделенных пробелами, например: «0 3 * * *»"
1062
1248
 
1063
1249
  msgid "You don't seem to have any ARF report. ARF report is a summary of a single scan occurrence on a particular host for a given Compliance Policy."
1064
1250
  msgstr ""
1065
1251
 
1252
+ msgid "can't be blank"
1253
+ msgstr ""
1254
+
1066
1255
  msgid "cannot assign to %s, all assigned policies must be deployed in the same way, check 'deploy by' for each assigned policy"
1067
1256
  msgstr ""
1068
1257
 
1258
+ msgid "cause: "
1259
+ msgstr ""
1260
+
1069
1261
  msgid "documentation"
1070
1262
  msgstr "документация"
1071
1263
 
@@ -1090,6 +1282,9 @@ msgstr "узлу(ам)"
1090
1282
  msgid "invalid type %s"
1091
1283
  msgstr "недопустимый тип %s"
1092
1284
 
1285
+ msgid "is not a valid cronline"
1286
+ msgstr ""
1287
+
1093
1288
  msgid "is not a valid value"
1094
1289
  msgstr ""
1095
1290
 
File without changes