foreman_openscap 7.0.0 → 7.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/foreman_openscap/locale/cs_CZ/foreman_openscap.js +3 -3
  3. data/app/assets/javascripts/foreman_openscap/locale/de/foreman_openscap.js +3 -3
  4. data/app/assets/javascripts/foreman_openscap/locale/en/foreman_openscap.js +3 -3
  5. data/app/assets/javascripts/foreman_openscap/locale/en_GB/foreman_openscap.js +3 -3
  6. data/app/assets/javascripts/foreman_openscap/locale/es/foreman_openscap.js +3 -3
  7. data/app/assets/javascripts/foreman_openscap/locale/fr/foreman_openscap.js +3 -3
  8. data/app/assets/javascripts/foreman_openscap/locale/gl/foreman_openscap.js +3 -3
  9. data/app/assets/javascripts/foreman_openscap/locale/it/foreman_openscap.js +3 -3
  10. data/app/assets/javascripts/foreman_openscap/locale/ja/foreman_openscap.js +3 -3
  11. data/app/assets/javascripts/foreman_openscap/locale/ko/foreman_openscap.js +3 -3
  12. data/app/assets/javascripts/foreman_openscap/locale/pt_BR/foreman_openscap.js +3 -3
  13. data/app/assets/javascripts/foreman_openscap/locale/ru/foreman_openscap.js +3 -3
  14. data/app/assets/javascripts/foreman_openscap/locale/sv_SE/foreman_openscap.js +3 -3
  15. data/app/assets/javascripts/foreman_openscap/locale/zh_CN/foreman_openscap.js +3 -3
  16. data/app/assets/javascripts/foreman_openscap/locale/zh_TW/foreman_openscap.js +3 -3
  17. data/app/controllers/api/v2/compliance/arf_reports_controller.rb +2 -1
  18. data/app/controllers/policies_controller.rb +10 -5
  19. data/app/controllers/tailoring_files_controller.rb +3 -0
  20. data/app/helpers/foreman_openscap_helper.rb +11 -8
  21. data/app/helpers/policies_helper.rb +2 -0
  22. data/app/views/arf_reports/show.html.erb +0 -1
  23. data/app/views/arf_reports/welcome.html.erb +1 -1
  24. data/app/views/compliance_hosts/show.html.erb +1 -1
  25. data/app/views/policies/index.html.erb +1 -1
  26. data/app/views/policies/steps/_deployment_options_form.html.erb +1 -1
  27. data/app/views/policies/steps/_policy_attributes_form.html.erb +1 -1
  28. data/app/views/policies/steps/_schedule_form.html.erb +8 -4
  29. data/app/views/policy_dashboard/index.html.erb +1 -1
  30. data/app/views/scap_contents/index.html.erb +1 -1
  31. data/app/views/tailoring_files/index.html.erb +1 -1
  32. data/lib/foreman_openscap/version.rb +1 -1
  33. data/locale/cs_CZ/foreman_openscap.edit.po +27 -27
  34. data/locale/de/foreman_openscap.edit.po +27 -27
  35. data/locale/en/foreman_openscap.edit.po +27 -27
  36. data/locale/en_GB/foreman_openscap.edit.po +27 -27
  37. data/locale/es/foreman_openscap.edit.po +27 -27
  38. data/locale/foreman_openscap.pot +29 -29
  39. data/locale/fr/foreman_openscap.edit.po +27 -27
  40. data/locale/gl/foreman_openscap.edit.po +27 -27
  41. data/locale/it/foreman_openscap.edit.po +27 -27
  42. data/locale/ja/foreman_openscap.edit.po +27 -27
  43. data/locale/ko/foreman_openscap.edit.po +27 -27
  44. data/locale/pt_BR/foreman_openscap.edit.po +27 -27
  45. data/locale/ru/foreman_openscap.edit.po +27 -27
  46. data/locale/sv_SE/foreman_openscap.edit.po +27 -27
  47. data/locale/zh_CN/foreman_openscap.edit.po +27 -27
  48. data/locale/zh_TW/foreman_openscap.edit.po +27 -27
  49. data/package.json +0 -3
  50. metadata +6 -6
@@ -552,23 +552,23 @@ msgstr "Д"
552
552
  msgid "Othered"
553
553
  msgstr "Другое"
554
554
 
555
- #: ../app/helpers/compliance_hosts_helper.rb:24
555
+ #: ../app/helpers/compliance_hosts_helper.rb:26
556
556
  msgid "Assign Compliance Policy"
557
557
  msgstr "Выбрать политику"
558
558
 
559
- #: ../app/helpers/compliance_hosts_helper.rb:25
559
+ #: ../app/helpers/compliance_hosts_helper.rb:27
560
560
  msgid "Unassign Compliance Policy"
561
561
  msgstr "Отменить политику"
562
562
 
563
- #: ../app/helpers/compliance_hosts_helper.rb:26
563
+ #: ../app/helpers/compliance_hosts_helper.rb:28
564
564
  msgid "Change OpenSCAP Proxy"
565
565
  msgstr ""
566
566
 
567
- #: ../app/helpers/compliance_hosts_helper.rb:35 ../app/models/foreman_openscap/compliance_status.rb:8 ../lib/foreman_openscap/engine.rb:159 ../webpack/components/HostExtentions/HostKebabItems.js:39
567
+ #: ../app/helpers/compliance_hosts_helper.rb:37 ../app/models/foreman_openscap/compliance_status.rb:8 ../lib/foreman_openscap/engine.rb:159 ../webpack/components/HostExtentions/HostKebabItems.js:39
568
568
  msgid "Compliance"
569
569
  msgstr "Соответствие стандартам"
570
570
 
571
- #: ../app/helpers/compliance_hosts_helper.rb:37
571
+ #: ../app/helpers/compliance_hosts_helper.rb:39
572
572
  msgid "Host compliance details"
573
573
  msgstr "Соответствие узла нормам безопасности"
574
574
 
@@ -576,47 +576,43 @@ msgstr "Соответствие узла нормам безопасности"
576
576
  msgid "Host is deleted"
577
577
  msgstr "Узел удален"
578
578
 
579
- #: ../app/helpers/foreman_openscap_helper.rb:4
580
- msgid "documentation"
581
- msgstr "документация"
582
-
583
579
  #: ../app/helpers/policies_helper.rb:56
584
580
  msgid "Choose existing SCAP Content"
585
581
  msgstr "Выберите существующее описание SCAP"
586
582
 
587
- #: ../app/helpers/policies_helper.rb:57 ../app/helpers/policies_helper.rb:62 ../app/models/foreman_openscap/policy.rb:11 ../app/views/policies/_form.html.erb:10 ../app/views/scap_contents/welcome.html.erb:1 ../app/views/scap_contents/welcome.html.erb:6
583
+ #: ../app/helpers/policies_helper.rb:57 ../app/helpers/policies_helper.rb:63 ../app/models/foreman_openscap/policy.rb:11 ../app/views/policies/_form.html.erb:10 ../app/views/scap_contents/welcome.html.erb:1 ../app/views/scap_contents/welcome.html.erb:6
588
584
  msgid "SCAP Content"
589
585
  msgstr "Описание SCAP"
590
586
 
591
- #: ../app/helpers/policies_helper.rb:72 ../app/helpers/policies_helper.rb:79
587
+ #: ../app/helpers/policies_helper.rb:74 ../app/helpers/policies_helper.rb:81
592
588
  msgid "XCCDF Profile"
593
589
  msgstr "Профиль XCCDF"
594
590
 
595
- #: ../app/helpers/policies_helper.rb:78
591
+ #: ../app/helpers/policies_helper.rb:80
596
592
  msgid "Default XCCDF profile"
597
593
  msgstr "Профиль XCCDF по умолчанию"
598
594
 
599
- #: ../app/helpers/policies_helper.rb:87
595
+ #: ../app/helpers/policies_helper.rb:89
600
596
  msgid "Choose Tailoring File"
601
597
  msgstr ""
602
598
 
603
- #: ../app/helpers/policies_helper.rb:88 ../app/views/policies/_list.html.erb:6
599
+ #: ../app/helpers/policies_helper.rb:90 ../app/views/policies/_list.html.erb:6
604
600
  msgid "Tailoring File"
605
601
  msgstr ""
606
602
 
607
- #: ../app/helpers/policies_helper.rb:97
603
+ #: ../app/helpers/policies_helper.rb:99
608
604
  msgid "XCCDF Profile in Tailoring File"
609
605
  msgstr ""
610
606
 
611
- #: ../app/helpers/policies_helper.rb:98
607
+ #: ../app/helpers/policies_helper.rb:100
612
608
  msgid "This profile will be used to override the one from scap content"
613
609
  msgstr ""
614
610
 
615
- #: ../app/helpers/policies_helper.rb:109 ../app/views/arf_reports/_list.html.erb:54 ../webpack/routes/OvalContents/OvalContentsNew/OvalContentsNew.js:116 ../webpack/routes/OvalPolicies/OvalPoliciesNew/NewOvalPolicyForm.js:97
611
+ #: ../app/helpers/policies_helper.rb:111 ../app/views/arf_reports/_list.html.erb:54 ../webpack/routes/OvalContents/OvalContentsNew/OvalContentsNew.js:116 ../webpack/routes/OvalPolicies/OvalPoliciesNew/NewOvalPolicyForm.js:97
616
612
  msgid "Submit"
617
613
  msgstr "Применить"
618
614
 
619
- #: ../app/helpers/policies_helper.rb:113 ../app/views/arf_reports/_list.html.erb:53 ../webpack/components/ConfirmModal.js:27 ../webpack/routes/OvalContents/OvalContentsNew/OvalContentsNew.js:121 ../webpack/routes/OvalPolicies/OvalPoliciesNew/NewOvalPolicyForm.js:102
615
+ #: ../app/helpers/policies_helper.rb:115 ../app/views/arf_reports/_list.html.erb:53 ../webpack/components/ConfirmModal.js:27 ../webpack/routes/OvalContents/OvalContentsNew/OvalContentsNew.js:121 ../webpack/routes/OvalPolicies/OvalPoliciesNew/NewOvalPolicyForm.js:102
620
616
  msgid "Cancel"
621
617
  msgstr "Отмена"
622
618
 
@@ -1012,23 +1008,23 @@ msgstr "Удалить"
1012
1008
  msgid "these Compliance reports"
1013
1009
  msgstr ""
1014
1010
 
1015
- #: ../app/views/arf_reports/show.html.erb:15
1011
+ #: ../app/views/arf_reports/show.html.erb:14
1016
1012
  msgid "Back"
1017
1013
  msgstr "Назад"
1018
1014
 
1019
- #: ../app/views/arf_reports/show.html.erb:17
1015
+ #: ../app/views/arf_reports/show.html.erb:16
1020
1016
  msgid "Host details"
1021
1017
  msgstr "Свойства узла"
1022
1018
 
1023
- #: ../app/views/arf_reports/show.html.erb:18
1019
+ #: ../app/views/arf_reports/show.html.erb:17
1024
1020
  msgid "View full report"
1025
1021
  msgstr "Показать полный отчет"
1026
1022
 
1027
- #: ../app/views/arf_reports/show.html.erb:19
1023
+ #: ../app/views/arf_reports/show.html.erb:18
1028
1024
  msgid "Download XML in bzip"
1029
1025
  msgstr "Загрузить XML в формате bzip"
1030
1026
 
1031
- #: ../app/views/arf_reports/show.html.erb:20
1027
+ #: ../app/views/arf_reports/show.html.erb:19
1032
1028
  msgid "Download HTML"
1033
1029
  msgstr ""
1034
1030
 
@@ -1156,15 +1152,15 @@ msgstr "Группы узлов"
1156
1152
  msgid "Choose period"
1157
1153
  msgstr "Выберите период"
1158
1154
 
1159
- #: ../app/views/policies/_form.html.erb:47 ../app/views/policies/steps/_schedule_form.html.erb:8
1155
+ #: ../app/views/policies/_form.html.erb:47 ../app/views/policies/steps/_schedule_form.html.erb:9
1160
1156
  msgid "Choose weekday"
1161
1157
  msgstr "Выберите день недели"
1162
1158
 
1163
- #: ../app/views/policies/_form.html.erb:48 ../app/views/policies/steps/_schedule_form.html.erb:9
1159
+ #: ../app/views/policies/_form.html.erb:48 ../app/views/policies/steps/_schedule_form.html.erb:13
1164
1160
  msgid "Number of a day in month, note that not all months have same count of days"
1165
1161
  msgstr "Порядковый номер дня в месяце (количество дней в разных месяцах может отличаться)"
1166
1162
 
1167
- #: ../app/views/policies/_form.html.erb:49 ../app/views/policies/steps/_schedule_form.html.erb:10
1163
+ #: ../app/views/policies/_form.html.erb:49 ../app/views/policies/steps/_schedule_form.html.erb:14
1168
1164
  msgid "You can specify custom cron line, e.g. \"0 3 * * *\", separate each of 5 values by space"
1169
1165
  msgstr "Вы можете изменить расписание по своему усмотрению. Строка cron должна состоять из пяти значений, разделенных пробелами, например: «0 3 * * *»"
1170
1166
 
@@ -1228,7 +1224,11 @@ msgstr ""
1228
1224
  msgid "Please make sure you understand them by reading our"
1229
1225
  msgstr ""
1230
1226
 
1231
- #: ../app/views/policies/steps/_schedule_form.html.erb:9
1227
+ #: ../app/views/policies/steps/_deployment_options_form.html.erb:7
1228
+ msgid "documentation"
1229
+ msgstr "документация"
1230
+
1231
+ #: ../app/views/policies/steps/_schedule_form.html.erb:12
1232
1232
  msgid "Choose day in month"
1233
1233
  msgstr ""
1234
1234
 
@@ -548,23 +548,23 @@ msgstr ""
548
548
  msgid "Othered"
549
549
  msgstr ""
550
550
 
551
- #: ../app/helpers/compliance_hosts_helper.rb:24
551
+ #: ../app/helpers/compliance_hosts_helper.rb:26
552
552
  msgid "Assign Compliance Policy"
553
553
  msgstr ""
554
554
 
555
- #: ../app/helpers/compliance_hosts_helper.rb:25
555
+ #: ../app/helpers/compliance_hosts_helper.rb:27
556
556
  msgid "Unassign Compliance Policy"
557
557
  msgstr ""
558
558
 
559
- #: ../app/helpers/compliance_hosts_helper.rb:26
559
+ #: ../app/helpers/compliance_hosts_helper.rb:28
560
560
  msgid "Change OpenSCAP Proxy"
561
561
  msgstr ""
562
562
 
563
- #: ../app/helpers/compliance_hosts_helper.rb:35 ../app/models/foreman_openscap/compliance_status.rb:8 ../lib/foreman_openscap/engine.rb:159 ../webpack/components/HostExtentions/HostKebabItems.js:39
563
+ #: ../app/helpers/compliance_hosts_helper.rb:37 ../app/models/foreman_openscap/compliance_status.rb:8 ../lib/foreman_openscap/engine.rb:159 ../webpack/components/HostExtentions/HostKebabItems.js:39
564
564
  msgid "Compliance"
565
565
  msgstr ""
566
566
 
567
- #: ../app/helpers/compliance_hosts_helper.rb:37
567
+ #: ../app/helpers/compliance_hosts_helper.rb:39
568
568
  msgid "Host compliance details"
569
569
  msgstr ""
570
570
 
@@ -572,47 +572,43 @@ msgstr ""
572
572
  msgid "Host is deleted"
573
573
  msgstr ""
574
574
 
575
- #: ../app/helpers/foreman_openscap_helper.rb:4
576
- msgid "documentation"
577
- msgstr ""
578
-
579
575
  #: ../app/helpers/policies_helper.rb:56
580
576
  msgid "Choose existing SCAP Content"
581
577
  msgstr ""
582
578
 
583
- #: ../app/helpers/policies_helper.rb:57 ../app/helpers/policies_helper.rb:62 ../app/models/foreman_openscap/policy.rb:11 ../app/views/policies/_form.html.erb:10 ../app/views/scap_contents/welcome.html.erb:1 ../app/views/scap_contents/welcome.html.erb:6
579
+ #: ../app/helpers/policies_helper.rb:57 ../app/helpers/policies_helper.rb:63 ../app/models/foreman_openscap/policy.rb:11 ../app/views/policies/_form.html.erb:10 ../app/views/scap_contents/welcome.html.erb:1 ../app/views/scap_contents/welcome.html.erb:6
584
580
  msgid "SCAP Content"
585
581
  msgstr ""
586
582
 
587
- #: ../app/helpers/policies_helper.rb:72 ../app/helpers/policies_helper.rb:79
583
+ #: ../app/helpers/policies_helper.rb:74 ../app/helpers/policies_helper.rb:81
588
584
  msgid "XCCDF Profile"
589
585
  msgstr ""
590
586
 
591
- #: ../app/helpers/policies_helper.rb:78
587
+ #: ../app/helpers/policies_helper.rb:80
592
588
  msgid "Default XCCDF profile"
593
589
  msgstr ""
594
590
 
595
- #: ../app/helpers/policies_helper.rb:87
591
+ #: ../app/helpers/policies_helper.rb:89
596
592
  msgid "Choose Tailoring File"
597
593
  msgstr ""
598
594
 
599
- #: ../app/helpers/policies_helper.rb:88 ../app/views/policies/_list.html.erb:6
595
+ #: ../app/helpers/policies_helper.rb:90 ../app/views/policies/_list.html.erb:6
600
596
  msgid "Tailoring File"
601
597
  msgstr ""
602
598
 
603
- #: ../app/helpers/policies_helper.rb:97
599
+ #: ../app/helpers/policies_helper.rb:99
604
600
  msgid "XCCDF Profile in Tailoring File"
605
601
  msgstr ""
606
602
 
607
- #: ../app/helpers/policies_helper.rb:98
603
+ #: ../app/helpers/policies_helper.rb:100
608
604
  msgid "This profile will be used to override the one from scap content"
609
605
  msgstr ""
610
606
 
611
- #: ../app/helpers/policies_helper.rb:109 ../app/views/arf_reports/_list.html.erb:54 ../webpack/routes/OvalContents/OvalContentsNew/OvalContentsNew.js:116 ../webpack/routes/OvalPolicies/OvalPoliciesNew/NewOvalPolicyForm.js:97
607
+ #: ../app/helpers/policies_helper.rb:111 ../app/views/arf_reports/_list.html.erb:54 ../webpack/routes/OvalContents/OvalContentsNew/OvalContentsNew.js:116 ../webpack/routes/OvalPolicies/OvalPoliciesNew/NewOvalPolicyForm.js:97
612
608
  msgid "Submit"
613
609
  msgstr "Sänd"
614
610
 
615
- #: ../app/helpers/policies_helper.rb:113 ../app/views/arf_reports/_list.html.erb:53 ../webpack/components/ConfirmModal.js:27 ../webpack/routes/OvalContents/OvalContentsNew/OvalContentsNew.js:121 ../webpack/routes/OvalPolicies/OvalPoliciesNew/NewOvalPolicyForm.js:102
611
+ #: ../app/helpers/policies_helper.rb:115 ../app/views/arf_reports/_list.html.erb:53 ../webpack/components/ConfirmModal.js:27 ../webpack/routes/OvalContents/OvalContentsNew/OvalContentsNew.js:121 ../webpack/routes/OvalPolicies/OvalPoliciesNew/NewOvalPolicyForm.js:102
616
612
  msgid "Cancel"
617
613
  msgstr "Avbryt"
618
614
 
@@ -1008,23 +1004,23 @@ msgstr "Radera"
1008
1004
  msgid "these Compliance reports"
1009
1005
  msgstr ""
1010
1006
 
1011
- #: ../app/views/arf_reports/show.html.erb:15
1007
+ #: ../app/views/arf_reports/show.html.erb:14
1012
1008
  msgid "Back"
1013
1009
  msgstr "Tillbaka"
1014
1010
 
1015
- #: ../app/views/arf_reports/show.html.erb:17
1011
+ #: ../app/views/arf_reports/show.html.erb:16
1016
1012
  msgid "Host details"
1017
1013
  msgstr "Värddetaljer"
1018
1014
 
1019
- #: ../app/views/arf_reports/show.html.erb:18
1015
+ #: ../app/views/arf_reports/show.html.erb:17
1020
1016
  msgid "View full report"
1021
1017
  msgstr ""
1022
1018
 
1023
- #: ../app/views/arf_reports/show.html.erb:19
1019
+ #: ../app/views/arf_reports/show.html.erb:18
1024
1020
  msgid "Download XML in bzip"
1025
1021
  msgstr ""
1026
1022
 
1027
- #: ../app/views/arf_reports/show.html.erb:20
1023
+ #: ../app/views/arf_reports/show.html.erb:19
1028
1024
  msgid "Download HTML"
1029
1025
  msgstr ""
1030
1026
 
@@ -1152,15 +1148,15 @@ msgstr "Värdgrupper"
1152
1148
  msgid "Choose period"
1153
1149
  msgstr ""
1154
1150
 
1155
- #: ../app/views/policies/_form.html.erb:47 ../app/views/policies/steps/_schedule_form.html.erb:8
1151
+ #: ../app/views/policies/_form.html.erb:47 ../app/views/policies/steps/_schedule_form.html.erb:9
1156
1152
  msgid "Choose weekday"
1157
1153
  msgstr ""
1158
1154
 
1159
- #: ../app/views/policies/_form.html.erb:48 ../app/views/policies/steps/_schedule_form.html.erb:9
1155
+ #: ../app/views/policies/_form.html.erb:48 ../app/views/policies/steps/_schedule_form.html.erb:13
1160
1156
  msgid "Number of a day in month, note that not all months have same count of days"
1161
1157
  msgstr ""
1162
1158
 
1163
- #: ../app/views/policies/_form.html.erb:49 ../app/views/policies/steps/_schedule_form.html.erb:10
1159
+ #: ../app/views/policies/_form.html.erb:49 ../app/views/policies/steps/_schedule_form.html.erb:14
1164
1160
  msgid "You can specify custom cron line, e.g. \"0 3 * * *\", separate each of 5 values by space"
1165
1161
  msgstr ""
1166
1162
 
@@ -1224,7 +1220,11 @@ msgstr ""
1224
1220
  msgid "Please make sure you understand them by reading our"
1225
1221
  msgstr ""
1226
1222
 
1227
- #: ../app/views/policies/steps/_schedule_form.html.erb:9
1223
+ #: ../app/views/policies/steps/_deployment_options_form.html.erb:7
1224
+ msgid "documentation"
1225
+ msgstr ""
1226
+
1227
+ #: ../app/views/policies/steps/_schedule_form.html.erb:12
1228
1228
  msgid "Choose day in month"
1229
1229
  msgstr ""
1230
1230
 
@@ -549,23 +549,23 @@ msgstr "Othered|O"
549
549
  msgid "Othered"
550
550
  msgstr "其它"
551
551
 
552
- #: ../app/helpers/compliance_hosts_helper.rb:24
552
+ #: ../app/helpers/compliance_hosts_helper.rb:26
553
553
  msgid "Assign Compliance Policy"
554
554
  msgstr "分配合规政策"
555
555
 
556
- #: ../app/helpers/compliance_hosts_helper.rb:25
556
+ #: ../app/helpers/compliance_hosts_helper.rb:27
557
557
  msgid "Unassign Compliance Policy"
558
558
  msgstr "取消分配合规政策"
559
559
 
560
- #: ../app/helpers/compliance_hosts_helper.rb:26
560
+ #: ../app/helpers/compliance_hosts_helper.rb:28
561
561
  msgid "Change OpenSCAP Proxy"
562
562
  msgstr "改变 OpenSCAP 代理"
563
563
 
564
- #: ../app/helpers/compliance_hosts_helper.rb:35 ../app/models/foreman_openscap/compliance_status.rb:8 ../lib/foreman_openscap/engine.rb:159 ../webpack/components/HostExtentions/HostKebabItems.js:39
564
+ #: ../app/helpers/compliance_hosts_helper.rb:37 ../app/models/foreman_openscap/compliance_status.rb:8 ../lib/foreman_openscap/engine.rb:159 ../webpack/components/HostExtentions/HostKebabItems.js:39
565
565
  msgid "Compliance"
566
566
  msgstr "合规"
567
567
 
568
- #: ../app/helpers/compliance_hosts_helper.rb:37
568
+ #: ../app/helpers/compliance_hosts_helper.rb:39
569
569
  msgid "Host compliance details"
570
570
  msgstr "主机合规性详细信息"
571
571
 
@@ -573,47 +573,43 @@ msgstr "主机合规性详细信息"
573
573
  msgid "Host is deleted"
574
574
  msgstr "主机被删除"
575
575
 
576
- #: ../app/helpers/foreman_openscap_helper.rb:4
577
- msgid "documentation"
578
- msgstr "文档"
579
-
580
576
  #: ../app/helpers/policies_helper.rb:56
581
577
  msgid "Choose existing SCAP Content"
582
578
  msgstr "选择现有的SCAP内容"
583
579
 
584
- #: ../app/helpers/policies_helper.rb:57 ../app/helpers/policies_helper.rb:62 ../app/models/foreman_openscap/policy.rb:11 ../app/views/policies/_form.html.erb:10 ../app/views/scap_contents/welcome.html.erb:1 ../app/views/scap_contents/welcome.html.erb:6
580
+ #: ../app/helpers/policies_helper.rb:57 ../app/helpers/policies_helper.rb:63 ../app/models/foreman_openscap/policy.rb:11 ../app/views/policies/_form.html.erb:10 ../app/views/scap_contents/welcome.html.erb:1 ../app/views/scap_contents/welcome.html.erb:6
585
581
  msgid "SCAP Content"
586
582
  msgstr "SCAP 內容"
587
583
 
588
- #: ../app/helpers/policies_helper.rb:72 ../app/helpers/policies_helper.rb:79
584
+ #: ../app/helpers/policies_helper.rb:74 ../app/helpers/policies_helper.rb:81
589
585
  msgid "XCCDF Profile"
590
586
  msgstr "XCCDF 配置集"
591
587
 
592
- #: ../app/helpers/policies_helper.rb:78
588
+ #: ../app/helpers/policies_helper.rb:80
593
589
  msgid "Default XCCDF profile"
594
590
  msgstr "默认的 XCCDF 配置集"
595
591
 
596
- #: ../app/helpers/policies_helper.rb:87
592
+ #: ../app/helpers/policies_helper.rb:89
597
593
  msgid "Choose Tailoring File"
598
594
  msgstr "选择 Tailoring 文件"
599
595
 
600
- #: ../app/helpers/policies_helper.rb:88 ../app/views/policies/_list.html.erb:6
596
+ #: ../app/helpers/policies_helper.rb:90 ../app/views/policies/_list.html.erb:6
601
597
  msgid "Tailoring File"
602
598
  msgstr "定制文件"
603
599
 
604
- #: ../app/helpers/policies_helper.rb:97
600
+ #: ../app/helpers/policies_helper.rb:99
605
601
  msgid "XCCDF Profile in Tailoring File"
606
602
  msgstr "定制文件中的 XCCDF 配置文件"
607
603
 
608
- #: ../app/helpers/policies_helper.rb:98
604
+ #: ../app/helpers/policies_helper.rb:100
609
605
  msgid "This profile will be used to override the one from scap content"
610
606
  msgstr "这个配置文件将用于覆盖 scap 内容中的配置文件"
611
607
 
612
- #: ../app/helpers/policies_helper.rb:109 ../app/views/arf_reports/_list.html.erb:54 ../webpack/routes/OvalContents/OvalContentsNew/OvalContentsNew.js:116 ../webpack/routes/OvalPolicies/OvalPoliciesNew/NewOvalPolicyForm.js:97
608
+ #: ../app/helpers/policies_helper.rb:111 ../app/views/arf_reports/_list.html.erb:54 ../webpack/routes/OvalContents/OvalContentsNew/OvalContentsNew.js:116 ../webpack/routes/OvalPolicies/OvalPoliciesNew/NewOvalPolicyForm.js:97
613
609
  msgid "Submit"
614
610
  msgstr "提交"
615
611
 
616
- #: ../app/helpers/policies_helper.rb:113 ../app/views/arf_reports/_list.html.erb:53 ../webpack/components/ConfirmModal.js:27 ../webpack/routes/OvalContents/OvalContentsNew/OvalContentsNew.js:121 ../webpack/routes/OvalPolicies/OvalPoliciesNew/NewOvalPolicyForm.js:102
612
+ #: ../app/helpers/policies_helper.rb:115 ../app/views/arf_reports/_list.html.erb:53 ../webpack/components/ConfirmModal.js:27 ../webpack/routes/OvalContents/OvalContentsNew/OvalContentsNew.js:121 ../webpack/routes/OvalPolicies/OvalPoliciesNew/NewOvalPolicyForm.js:102
617
613
  msgid "Cancel"
618
614
  msgstr "取消"
619
615
 
@@ -1009,23 +1005,23 @@ msgstr "刪除"
1009
1005
  msgid "these Compliance reports"
1010
1006
  msgstr "这些合规报告"
1011
1007
 
1012
- #: ../app/views/arf_reports/show.html.erb:15
1008
+ #: ../app/views/arf_reports/show.html.erb:14
1013
1009
  msgid "Back"
1014
1010
  msgstr "返回"
1015
1011
 
1016
- #: ../app/views/arf_reports/show.html.erb:17
1012
+ #: ../app/views/arf_reports/show.html.erb:16
1017
1013
  msgid "Host details"
1018
1014
  msgstr "主机详情"
1019
1015
 
1020
- #: ../app/views/arf_reports/show.html.erb:18
1016
+ #: ../app/views/arf_reports/show.html.erb:17
1021
1017
  msgid "View full report"
1022
1018
  msgstr "查看完整报告"
1023
1019
 
1024
- #: ../app/views/arf_reports/show.html.erb:19
1020
+ #: ../app/views/arf_reports/show.html.erb:18
1025
1021
  msgid "Download XML in bzip"
1026
1022
  msgstr "下载 XML,格式为 bzip"
1027
1023
 
1028
- #: ../app/views/arf_reports/show.html.erb:20
1024
+ #: ../app/views/arf_reports/show.html.erb:19
1029
1025
  msgid "Download HTML"
1030
1026
  msgstr "下载 HTML"
1031
1027
 
@@ -1151,15 +1147,15 @@ msgstr "主机组"
1151
1147
  msgid "Choose period"
1152
1148
  msgstr "选择期间"
1153
1149
 
1154
- #: ../app/views/policies/_form.html.erb:47 ../app/views/policies/steps/_schedule_form.html.erb:8
1150
+ #: ../app/views/policies/_form.html.erb:47 ../app/views/policies/steps/_schedule_form.html.erb:9
1155
1151
  msgid "Choose weekday"
1156
1152
  msgstr "选择星期几"
1157
1153
 
1158
- #: ../app/views/policies/_form.html.erb:48 ../app/views/policies/steps/_schedule_form.html.erb:9
1154
+ #: ../app/views/policies/_form.html.erb:48 ../app/views/policies/steps/_schedule_form.html.erb:13
1159
1155
  msgid "Number of a day in month, note that not all months have same count of days"
1160
1156
  msgstr "月份中的日子,請注意並不是所有月份都有同樣的天數"
1161
1157
 
1162
- #: ../app/views/policies/_form.html.erb:49 ../app/views/policies/steps/_schedule_form.html.erb:10
1158
+ #: ../app/views/policies/_form.html.erb:49 ../app/views/policies/steps/_schedule_form.html.erb:14
1163
1159
  msgid "You can specify custom cron line, e.g. \"0 3 * * *\", separate each of 5 values by space"
1164
1160
  msgstr "您可以设置定制的 cron 行,如 \"0 3 * * *\",其中的 5 个值由空格分隔"
1165
1161
 
@@ -1223,7 +1219,11 @@ msgstr "部署选项之间存在重大差异。"
1223
1219
  msgid "Please make sure you understand them by reading our"
1224
1220
  msgstr "请通过阅读我们的手册确保您了解它们"
1225
1221
 
1226
- #: ../app/views/policies/steps/_schedule_form.html.erb:9
1222
+ #: ../app/views/policies/steps/_deployment_options_form.html.erb:7
1223
+ msgid "documentation"
1224
+ msgstr "文档"
1225
+
1226
+ #: ../app/views/policies/steps/_schedule_form.html.erb:12
1227
1227
  msgid "Choose day in month"
1228
1228
  msgstr "选择月中的一天"
1229
1229
 
@@ -549,23 +549,23 @@ msgstr "Othered|O"
549
549
  msgid "Othered"
550
550
  msgstr "其它"
551
551
 
552
- #: ../app/helpers/compliance_hosts_helper.rb:24
552
+ #: ../app/helpers/compliance_hosts_helper.rb:26
553
553
  msgid "Assign Compliance Policy"
554
554
  msgstr "指定合規政策"
555
555
 
556
- #: ../app/helpers/compliance_hosts_helper.rb:25
556
+ #: ../app/helpers/compliance_hosts_helper.rb:27
557
557
  msgid "Unassign Compliance Policy"
558
558
  msgstr "取消指定合規政策"
559
559
 
560
- #: ../app/helpers/compliance_hosts_helper.rb:26
560
+ #: ../app/helpers/compliance_hosts_helper.rb:28
561
561
  msgid "Change OpenSCAP Proxy"
562
562
  msgstr ""
563
563
 
564
- #: ../app/helpers/compliance_hosts_helper.rb:35 ../app/models/foreman_openscap/compliance_status.rb:8 ../lib/foreman_openscap/engine.rb:159 ../webpack/components/HostExtentions/HostKebabItems.js:39
564
+ #: ../app/helpers/compliance_hosts_helper.rb:37 ../app/models/foreman_openscap/compliance_status.rb:8 ../lib/foreman_openscap/engine.rb:159 ../webpack/components/HostExtentions/HostKebabItems.js:39
565
565
  msgid "Compliance"
566
566
  msgstr "合規"
567
567
 
568
- #: ../app/helpers/compliance_hosts_helper.rb:37
568
+ #: ../app/helpers/compliance_hosts_helper.rb:39
569
569
  msgid "Host compliance details"
570
570
  msgstr "主機合規的詳情"
571
571
 
@@ -573,47 +573,43 @@ msgstr "主機合規的詳情"
573
573
  msgid "Host is deleted"
574
574
  msgstr "已刪除主機"
575
575
 
576
- #: ../app/helpers/foreman_openscap_helper.rb:4
577
- msgid "documentation"
578
- msgstr ""
579
-
580
576
  #: ../app/helpers/policies_helper.rb:56
581
577
  msgid "Choose existing SCAP Content"
582
578
  msgstr "選擇現有的 SCAP 內容"
583
579
 
584
- #: ../app/helpers/policies_helper.rb:57 ../app/helpers/policies_helper.rb:62 ../app/models/foreman_openscap/policy.rb:11 ../app/views/policies/_form.html.erb:10 ../app/views/scap_contents/welcome.html.erb:1 ../app/views/scap_contents/welcome.html.erb:6
580
+ #: ../app/helpers/policies_helper.rb:57 ../app/helpers/policies_helper.rb:63 ../app/models/foreman_openscap/policy.rb:11 ../app/views/policies/_form.html.erb:10 ../app/views/scap_contents/welcome.html.erb:1 ../app/views/scap_contents/welcome.html.erb:6
585
581
  msgid "SCAP Content"
586
582
  msgstr "SCAP 內容"
587
583
 
588
- #: ../app/helpers/policies_helper.rb:72 ../app/helpers/policies_helper.rb:79
584
+ #: ../app/helpers/policies_helper.rb:74 ../app/helpers/policies_helper.rb:81
589
585
  msgid "XCCDF Profile"
590
586
  msgstr "XCCDF 設定檔"
591
587
 
592
- #: ../app/helpers/policies_helper.rb:78
588
+ #: ../app/helpers/policies_helper.rb:80
593
589
  msgid "Default XCCDF profile"
594
590
  msgstr "預設 XCCDF 設定檔"
595
591
 
596
- #: ../app/helpers/policies_helper.rb:87
592
+ #: ../app/helpers/policies_helper.rb:89
597
593
  msgid "Choose Tailoring File"
598
594
  msgstr ""
599
595
 
600
- #: ../app/helpers/policies_helper.rb:88 ../app/views/policies/_list.html.erb:6
596
+ #: ../app/helpers/policies_helper.rb:90 ../app/views/policies/_list.html.erb:6
601
597
  msgid "Tailoring File"
602
598
  msgstr ""
603
599
 
604
- #: ../app/helpers/policies_helper.rb:97
600
+ #: ../app/helpers/policies_helper.rb:99
605
601
  msgid "XCCDF Profile in Tailoring File"
606
602
  msgstr ""
607
603
 
608
- #: ../app/helpers/policies_helper.rb:98
604
+ #: ../app/helpers/policies_helper.rb:100
609
605
  msgid "This profile will be used to override the one from scap content"
610
606
  msgstr ""
611
607
 
612
- #: ../app/helpers/policies_helper.rb:109 ../app/views/arf_reports/_list.html.erb:54 ../webpack/routes/OvalContents/OvalContentsNew/OvalContentsNew.js:116 ../webpack/routes/OvalPolicies/OvalPoliciesNew/NewOvalPolicyForm.js:97
608
+ #: ../app/helpers/policies_helper.rb:111 ../app/views/arf_reports/_list.html.erb:54 ../webpack/routes/OvalContents/OvalContentsNew/OvalContentsNew.js:116 ../webpack/routes/OvalPolicies/OvalPoliciesNew/NewOvalPolicyForm.js:97
613
609
  msgid "Submit"
614
610
  msgstr "提交"
615
611
 
616
- #: ../app/helpers/policies_helper.rb:113 ../app/views/arf_reports/_list.html.erb:53 ../webpack/components/ConfirmModal.js:27 ../webpack/routes/OvalContents/OvalContentsNew/OvalContentsNew.js:121 ../webpack/routes/OvalPolicies/OvalPoliciesNew/NewOvalPolicyForm.js:102
612
+ #: ../app/helpers/policies_helper.rb:115 ../app/views/arf_reports/_list.html.erb:53 ../webpack/components/ConfirmModal.js:27 ../webpack/routes/OvalContents/OvalContentsNew/OvalContentsNew.js:121 ../webpack/routes/OvalPolicies/OvalPoliciesNew/NewOvalPolicyForm.js:102
617
613
  msgid "Cancel"
618
614
  msgstr "取消"
619
615
 
@@ -1009,23 +1005,23 @@ msgstr "刪除"
1009
1005
  msgid "these Compliance reports"
1010
1006
  msgstr ""
1011
1007
 
1012
- #: ../app/views/arf_reports/show.html.erb:15
1008
+ #: ../app/views/arf_reports/show.html.erb:14
1013
1009
  msgid "Back"
1014
1010
  msgstr "上一頁"
1015
1011
 
1016
- #: ../app/views/arf_reports/show.html.erb:17
1012
+ #: ../app/views/arf_reports/show.html.erb:16
1017
1013
  msgid "Host details"
1018
1014
  msgstr "主機詳細資訊"
1019
1015
 
1020
- #: ../app/views/arf_reports/show.html.erb:18
1016
+ #: ../app/views/arf_reports/show.html.erb:17
1021
1017
  msgid "View full report"
1022
1018
  msgstr "檢視完整報告"
1023
1019
 
1024
- #: ../app/views/arf_reports/show.html.erb:19
1020
+ #: ../app/views/arf_reports/show.html.erb:18
1025
1021
  msgid "Download XML in bzip"
1026
1022
  msgstr "下載 XML,格式為 bzip"
1027
1023
 
1028
- #: ../app/views/arf_reports/show.html.erb:20
1024
+ #: ../app/views/arf_reports/show.html.erb:19
1029
1025
  msgid "Download HTML"
1030
1026
  msgstr ""
1031
1027
 
@@ -1153,15 +1149,15 @@ msgstr "主機群組"
1153
1149
  msgid "Choose period"
1154
1150
  msgstr "選擇期間"
1155
1151
 
1156
- #: ../app/views/policies/_form.html.erb:47 ../app/views/policies/steps/_schedule_form.html.erb:8
1152
+ #: ../app/views/policies/_form.html.erb:47 ../app/views/policies/steps/_schedule_form.html.erb:9
1157
1153
  msgid "Choose weekday"
1158
1154
  msgstr "選擇星期幾"
1159
1155
 
1160
- #: ../app/views/policies/_form.html.erb:48 ../app/views/policies/steps/_schedule_form.html.erb:9
1156
+ #: ../app/views/policies/_form.html.erb:48 ../app/views/policies/steps/_schedule_form.html.erb:13
1161
1157
  msgid "Number of a day in month, note that not all months have same count of days"
1162
1158
  msgstr "月份中的日子,請注意並不是所有月份都有同樣的天數"
1163
1159
 
1164
- #: ../app/views/policies/_form.html.erb:49 ../app/views/policies/steps/_schedule_form.html.erb:10
1160
+ #: ../app/views/policies/_form.html.erb:49 ../app/views/policies/steps/_schedule_form.html.erb:14
1165
1161
  msgid "You can specify custom cron line, e.g. \"0 3 * * *\", separate each of 5 values by space"
1166
1162
  msgstr "您可指定自訂的 cron 行,例如\"0 3 * * *\",五個數值均由空格隔開"
1167
1163
 
@@ -1225,7 +1221,11 @@ msgstr ""
1225
1221
  msgid "Please make sure you understand them by reading our"
1226
1222
  msgstr ""
1227
1223
 
1228
- #: ../app/views/policies/steps/_schedule_form.html.erb:9
1224
+ #: ../app/views/policies/steps/_deployment_options_form.html.erb:7
1225
+ msgid "documentation"
1226
+ msgstr ""
1227
+
1228
+ #: ../app/views/policies/steps/_schedule_form.html.erb:12
1229
1229
  msgid "Choose day in month"
1230
1230
  msgstr ""
1231
1231
 
data/package.json CHANGED
@@ -9,8 +9,6 @@
9
9
  "test:watch": "tfm-test --plugin --watchAll --config jest.config.js",
10
10
  "test:current": "tfm-test --plugin --watch --config jest.config.js",
11
11
  "publish-coverage": "tfm-publish-coverage",
12
- "stories": "tfm-stories --plugin",
13
- "stories:build": "tfm-build-stories --plugin",
14
12
  "create-react-component": "yo react-domain"
15
13
  },
16
14
  "repository": {
@@ -31,7 +29,6 @@
31
29
  "@theforeman/builder": ">= 10.1.0",
32
30
  "@theforeman/eslint-plugin-foreman": ">= 10.1.0",
33
31
  "@theforeman/find-foreman": ">= 10.1.0",
34
- "@theforeman/stories": ">= 10.1.0",
35
32
  "@theforeman/test": ">= 10.1.0",
36
33
  "@theforeman/vendor-dev": ">= 10.1.0",
37
34
  "babel-eslint": "^10.0.3",
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_openscap
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.0.0
4
+ version: 7.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - slukasik@redhat.com
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-30 00:00:00.000000000 Z
11
+ date: 2023-11-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -551,7 +551,7 @@ homepage: https://github.com/theforeman/foreman_openscap
551
551
  licenses:
552
552
  - GPL-3.0
553
553
  metadata: {}
554
- post_install_message:
554
+ post_install_message:
555
555
  rdoc_options: []
556
556
  require_paths:
557
557
  - lib
@@ -566,8 +566,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
566
566
  - !ruby/object:Gem::Version
567
567
  version: '0'
568
568
  requirements: []
569
- rubygems_version: 3.3.26
570
- signing_key:
569
+ rubygems_version: 3.1.6
570
+ signing_key:
571
571
  specification_version: 4
572
572
  summary: Foreman plug-in for displaying OpenSCAP audit reports
573
573
  test_files: