foreman_openscap 9.0.1 → 9.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/foreman_openscap/locale/cs_CZ/foreman_openscap.js +0 -306
- data/app/assets/javascripts/foreman_openscap/locale/de/foreman_openscap.js +0 -306
- data/app/assets/javascripts/foreman_openscap/locale/en/foreman_openscap.js +0 -306
- data/app/assets/javascripts/foreman_openscap/locale/en_GB/foreman_openscap.js +0 -306
- data/app/assets/javascripts/foreman_openscap/locale/es/foreman_openscap.js +0 -306
- data/app/assets/javascripts/foreman_openscap/locale/fr/foreman_openscap.js +0 -306
- data/app/assets/javascripts/foreman_openscap/locale/gl/foreman_openscap.js +0 -306
- data/app/assets/javascripts/foreman_openscap/locale/it/foreman_openscap.js +0 -306
- data/app/assets/javascripts/foreman_openscap/locale/ja/foreman_openscap.js +0 -306
- data/app/assets/javascripts/foreman_openscap/locale/ka/foreman_openscap.js +0 -306
- data/app/assets/javascripts/foreman_openscap/locale/ko/foreman_openscap.js +0 -306
- data/app/assets/javascripts/foreman_openscap/locale/pt_BR/foreman_openscap.js +0 -306
- data/app/assets/javascripts/foreman_openscap/locale/ru/foreman_openscap.js +0 -306
- data/app/assets/javascripts/foreman_openscap/locale/sv_SE/foreman_openscap.js +0 -306
- data/app/assets/javascripts/foreman_openscap/locale/zh_CN/foreman_openscap.js +0 -306
- data/app/assets/javascripts/foreman_openscap/locale/zh_TW/foreman_openscap.js +0 -306
- data/lib/foreman_openscap/version.rb +1 -1
- data/locale/action_names.rb +1 -4
- data/locale/cs_CZ/foreman_openscap.edit.po +1455 -0
- data/locale/cs_CZ/foreman_openscap.po +0 -306
- data/locale/cs_CZ/foreman_openscap.po.time_stamp +0 -0
- data/locale/de/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/de/foreman_openscap.edit.po +1667 -0
- data/locale/de/foreman_openscap.po +0 -306
- data/locale/de/foreman_openscap.po.time_stamp +0 -0
- data/locale/en/foreman_openscap.edit.po +1455 -0
- data/locale/en/foreman_openscap.po +0 -306
- data/locale/en/foreman_openscap.po.time_stamp +0 -0
- data/locale/en_GB/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/en_GB/foreman_openscap.edit.po +1467 -0
- data/locale/en_GB/foreman_openscap.po +0 -306
- data/locale/en_GB/foreman_openscap.po.time_stamp +0 -0
- data/locale/es/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/es/foreman_openscap.edit.po +1664 -0
- data/locale/es/foreman_openscap.po +0 -306
- data/locale/es/foreman_openscap.po.time_stamp +0 -0
- data/locale/foreman_openscap.pot +45 -498
- data/locale/fr/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/fr/foreman_openscap.edit.po +1676 -0
- data/locale/fr/foreman_openscap.po +0 -306
- data/locale/fr/foreman_openscap.po.time_stamp +0 -0
- data/locale/gl/foreman_openscap.edit.po +1455 -0
- data/locale/gl/foreman_openscap.po +0 -306
- data/locale/gl/foreman_openscap.po.time_stamp +0 -0
- data/locale/it/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/it/foreman_openscap.edit.po +1466 -0
- data/locale/it/foreman_openscap.po +0 -306
- data/locale/it/foreman_openscap.po.time_stamp +0 -0
- data/locale/ja/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/ja/foreman_openscap.edit.po +1659 -0
- data/locale/ja/foreman_openscap.po +0 -306
- data/locale/ja/foreman_openscap.po.time_stamp +0 -0
- data/locale/ka/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/ka/foreman_openscap.edit.po +1654 -0
- data/locale/ka/foreman_openscap.po +0 -306
- data/locale/ka/foreman_openscap.po.time_stamp +0 -0
- data/locale/ko/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/ko/foreman_openscap.edit.po +1470 -0
- data/locale/ko/foreman_openscap.po +0 -306
- data/locale/ko/foreman_openscap.po.time_stamp +0 -0
- data/locale/pt_BR/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/pt_BR/foreman_openscap.edit.po +1669 -0
- data/locale/pt_BR/foreman_openscap.po +0 -306
- data/locale/pt_BR/foreman_openscap.po.time_stamp +0 -0
- data/locale/ru/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/ru/foreman_openscap.edit.po +1474 -0
- data/locale/ru/foreman_openscap.po +0 -306
- data/locale/ru/foreman_openscap.po.time_stamp +0 -0
- data/locale/sv_SE/foreman_openscap.edit.po +1455 -0
- data/locale/sv_SE/foreman_openscap.po +0 -306
- data/locale/sv_SE/foreman_openscap.po.time_stamp +0 -0
- data/locale/zh_CN/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/zh_CN/foreman_openscap.edit.po +1656 -0
- data/locale/zh_CN/foreman_openscap.po +0 -306
- data/locale/zh_CN/foreman_openscap.po.time_stamp +0 -0
- data/locale/zh_TW/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/zh_TW/foreman_openscap.edit.po +1471 -0
- data/locale/zh_TW/foreman_openscap.po +0 -306
- data/locale/zh_TW/foreman_openscap.po.time_stamp +0 -0
- data/package.json +2 -0
- data/webpack/components/ConfirmModal.js +3 -0
- data/webpack/components/EditableInput.js +3 -0
- data/webpack/components/EmptyState.js +12 -2
- data/webpack/components/IndexLayout.js +3 -1
- data/webpack/components/IndexTable/index.js +3 -0
- data/webpack/components/LinkButton.js +4 -0
- data/webpack/components/OpenscapRemediationWizard/ViewSelectedHostsLink.js +1 -0
- data/webpack/components/OpenscapRemediationWizard/index.js +1 -0
- data/webpack/components/OpenscapRemediationWizard/steps/Finish.js +8 -1
- data/webpack/components/OpenscapRemediationWizard/steps/ReviewHosts.js +1 -0
- data/webpack/components/OpenscapRemediationWizard/steps/ReviewRemediation.js +3 -0
- data/webpack/components/OpenscapRemediationWizard/steps/SnippetSelect.js +6 -1
- data/webpack/helpers/formFieldsHelper.js +1 -0
- metadata +38 -6
@@ -50,12 +50,6 @@ msgstr "%s 一直以來的報告"
|
|
50
50
|
msgid "%s spool errors detected, inspect the appropriate file directly on proxy"
|
51
51
|
msgstr ""
|
52
52
|
|
53
|
-
msgid "%s vulnerabilities found"
|
54
|
-
msgstr ""
|
55
|
-
|
56
|
-
msgid "%s vulnerabilities with available patch found"
|
57
|
-
msgstr ""
|
58
|
-
|
59
53
|
msgid "%{type} was selected to deploy policy to clients, but %{type} is not available. Are you missing a plugin?"
|
60
54
|
msgstr ""
|
61
55
|
|
@@ -71,9 +65,6 @@ msgstr ""
|
|
71
65
|
msgid "A summary of reports for OpenSCAP policies"
|
72
66
|
msgstr ""
|
73
67
|
|
74
|
-
msgid "Action with sub plans"
|
75
|
-
msgstr "有子計畫的動作"
|
76
|
-
|
77
68
|
msgid "Actions"
|
78
69
|
msgstr "動作"
|
79
70
|
|
@@ -92,39 +83,18 @@ msgstr ""
|
|
92
83
|
msgid "Apply policy to hosts"
|
93
84
|
msgstr ""
|
94
85
|
|
95
|
-
msgid "Are required variables for theforeman.foreman_scap_client present?"
|
96
|
-
msgstr ""
|
97
|
-
|
98
86
|
msgid "Are you sure you want to delete %s?"
|
99
87
|
msgstr ""
|
100
88
|
|
101
|
-
msgid "Array of host IDs"
|
102
|
-
msgstr ""
|
103
|
-
|
104
|
-
msgid "Array of hostgroup IDs"
|
105
|
-
msgstr ""
|
106
|
-
|
107
89
|
msgid "Assign Compliance Policy"
|
108
90
|
msgstr "指定合規政策"
|
109
91
|
|
110
|
-
msgid "Assign hostgroups to an OVAL Policy"
|
111
|
-
msgstr ""
|
112
|
-
|
113
|
-
msgid "Assign hosts to an OVAL Policy"
|
114
|
-
msgstr ""
|
115
|
-
|
116
|
-
msgid "Assign openscap_proxy to %s before proceeding."
|
117
|
-
msgstr ""
|
118
|
-
|
119
92
|
msgid "Back"
|
120
93
|
msgstr "上一頁"
|
121
94
|
|
122
95
|
msgid "By default, remediation is applied to the current host. Optionally, remediate any additional hosts that fail the rule."
|
123
96
|
msgstr ""
|
124
97
|
|
125
|
-
msgid "CVEs"
|
126
|
-
msgstr ""
|
127
|
-
|
128
98
|
msgid "Can't find scap-security-guide RPM, are you sure it is installed on your server?"
|
129
99
|
msgstr ""
|
130
100
|
|
@@ -149,9 +119,6 @@ msgstr ""
|
|
149
119
|
msgid "Changed?"
|
150
120
|
msgstr "已改變?"
|
151
121
|
|
152
|
-
msgid "Choose OVAL Content"
|
153
|
-
msgstr ""
|
154
|
-
|
155
122
|
msgid "Choose Tailoring File"
|
156
123
|
msgstr ""
|
157
124
|
|
@@ -209,24 +176,12 @@ msgstr ""
|
|
209
176
|
msgid "Could not find host identified by: %s"
|
210
177
|
msgstr ""
|
211
178
|
|
212
|
-
msgid "Could not update Ansible Variables with override: true"
|
213
|
-
msgstr ""
|
214
|
-
|
215
179
|
msgid "Could not validate %s. Please make sure you have appropriate proxy version to use this functionality"
|
216
180
|
msgstr ""
|
217
181
|
|
218
182
|
msgid "Could not validate %{file_type}. Error %{error}"
|
219
183
|
msgstr ""
|
220
184
|
|
221
|
-
msgid "Create OVAL Content"
|
222
|
-
msgstr ""
|
223
|
-
|
224
|
-
msgid "Create OVAL Policy"
|
225
|
-
msgstr ""
|
226
|
-
|
227
|
-
msgid "Create OVAL content"
|
228
|
-
msgstr ""
|
229
|
-
|
230
185
|
msgid "Create SCAP content"
|
231
186
|
msgstr "建立 SCAP 內容"
|
232
187
|
|
@@ -236,15 +191,9 @@ msgstr ""
|
|
236
191
|
msgid "Create a Tailoring file"
|
237
192
|
msgstr ""
|
238
193
|
|
239
|
-
msgid "Create an OVAL Policy"
|
240
|
-
msgstr ""
|
241
|
-
|
242
194
|
msgid "Created at"
|
243
195
|
msgstr ""
|
244
196
|
|
245
|
-
msgid "Custom cron: %s"
|
246
|
-
msgstr ""
|
247
|
-
|
248
197
|
msgid "Dashboard"
|
249
198
|
msgstr "控制面板"
|
250
199
|
|
@@ -260,21 +209,12 @@ msgstr "預設 XCCDF 設定檔"
|
|
260
209
|
msgid "Delete"
|
261
210
|
msgstr "刪除"
|
262
211
|
|
263
|
-
msgid "Delete OVAL Content"
|
264
|
-
msgstr ""
|
265
|
-
|
266
|
-
msgid "Delete OVAL Policy"
|
267
|
-
msgstr ""
|
268
|
-
|
269
212
|
msgid "Delete a Policy"
|
270
213
|
msgstr ""
|
271
214
|
|
272
215
|
msgid "Delete an ARF Report"
|
273
216
|
msgstr ""
|
274
217
|
|
275
|
-
msgid "Delete an OVAL Policy"
|
276
|
-
msgstr ""
|
277
|
-
|
278
218
|
msgid "Delete compliance policy %s with all of its reports?"
|
279
219
|
msgstr ""
|
280
220
|
|
@@ -296,9 +236,6 @@ msgstr ""
|
|
296
236
|
msgid "Deletes a Tailoring file"
|
297
237
|
msgstr ""
|
298
238
|
|
299
|
-
msgid "Deletes an OVAL content"
|
300
|
-
msgstr ""
|
301
|
-
|
302
239
|
msgid "Deletes an SCAP content"
|
303
240
|
msgstr "刪除 SCAP 內容"
|
304
241
|
|
@@ -308,9 +245,6 @@ msgstr ""
|
|
308
245
|
msgid "Description"
|
309
246
|
msgstr "說明"
|
310
247
|
|
311
|
-
msgid "Details"
|
312
|
-
msgstr ""
|
313
|
-
|
314
248
|
msgid "Details for Compliance Policy %s"
|
315
249
|
msgstr ""
|
316
250
|
|
@@ -374,9 +308,6 @@ msgstr "只有失敗"
|
|
374
308
|
msgid "Failed saving %s:"
|
375
309
|
msgstr ""
|
376
310
|
|
377
|
-
msgid "Failed to create OVAL Policy: %s"
|
378
|
-
msgstr ""
|
379
|
-
|
380
311
|
msgid "Failed to delete %s compliance reports"
|
381
312
|
msgstr "刪除 %s 合規報告失敗"
|
382
313
|
|
@@ -389,9 +320,6 @@ msgstr ""
|
|
389
320
|
msgid "Failed to downloaded ARF report in HTML: %s"
|
390
321
|
msgstr ""
|
391
322
|
|
392
|
-
msgid "Failed to fetch content file from %s"
|
393
|
-
msgstr ""
|
394
|
-
|
395
323
|
msgid "Failed to fetch spool status from proxy"
|
396
324
|
msgstr ""
|
397
325
|
|
@@ -405,9 +333,6 @@ msgstr ""
|
|
405
333
|
msgid "Failed|F"
|
406
334
|
msgstr "F"
|
407
335
|
|
408
|
-
msgid "File"
|
409
|
-
msgstr ""
|
410
|
-
|
411
336
|
msgid "File Upload"
|
412
337
|
msgstr "檔案上傳"
|
413
338
|
|
@@ -423,9 +348,6 @@ msgstr ""
|
|
423
348
|
msgid "General"
|
424
349
|
msgstr "一般"
|
425
350
|
|
426
|
-
msgid "Has Errata?"
|
427
|
-
msgstr ""
|
428
|
-
|
429
351
|
msgid "Host"
|
430
352
|
msgstr "主機"
|
431
353
|
|
@@ -462,9 +384,6 @@ msgstr "主機名稱"
|
|
462
384
|
msgid "Hosts Breakdown"
|
463
385
|
msgstr "主機錯誤"
|
464
386
|
|
465
|
-
msgid "Hosts Count"
|
466
|
-
msgstr ""
|
467
|
-
|
468
387
|
msgid "Hosts failing this rule"
|
469
388
|
msgstr ""
|
470
389
|
|
@@ -483,12 +402,6 @@ msgstr ""
|
|
483
402
|
msgid "ID of OpenSCAP Proxy"
|
484
403
|
msgstr ""
|
485
404
|
|
486
|
-
msgid "Import Puppet classes"
|
487
|
-
msgstr "匯入 Puppet 類別"
|
488
|
-
|
489
|
-
msgid "Import facts"
|
490
|
-
msgstr "匯入詳情"
|
491
|
-
|
492
405
|
msgid "In Foreman, a compliance policy checklist is defined via %s."
|
493
406
|
msgstr ""
|
494
407
|
|
@@ -514,15 +427,6 @@ msgstr "非決定性"
|
|
514
427
|
msgid "Inconclusive results"
|
515
428
|
msgstr "非決定性結果"
|
516
429
|
|
517
|
-
msgid "Is %s param set to be overriden?"
|
518
|
-
msgstr ""
|
519
|
-
|
520
|
-
msgid "Is foreman_ansible present?"
|
521
|
-
msgstr ""
|
522
|
-
|
523
|
-
msgid "Is theforeman.foreman_scap_client present?"
|
524
|
-
msgstr ""
|
525
|
-
|
526
430
|
msgid "It may sometimes be required to adjust the security policy to your specific needs. "
|
527
431
|
msgstr ""
|
528
432
|
|
@@ -538,12 +442,6 @@ msgstr "最新的政策報告:%s"
|
|
538
442
|
msgid "List ARF reports"
|
539
443
|
msgstr ""
|
540
444
|
|
541
|
-
msgid "List OVAL Policies"
|
542
|
-
msgstr ""
|
543
|
-
|
544
|
-
msgid "List OVAL contents"
|
545
|
-
msgstr ""
|
546
|
-
|
547
445
|
msgid "List Policies"
|
548
446
|
msgstr ""
|
549
447
|
|
@@ -571,9 +469,6 @@ msgstr "訊息"
|
|
571
469
|
msgid "Method"
|
572
470
|
msgstr ""
|
573
471
|
|
574
|
-
msgid "Monthly, day of month: %s"
|
575
|
-
msgstr ""
|
576
|
-
|
577
472
|
msgid "More details"
|
578
473
|
msgstr "更多詳細資訊"
|
579
474
|
|
@@ -586,9 +481,6 @@ msgstr "未曾稽核"
|
|
586
481
|
msgid "New Compliance Policy"
|
587
482
|
msgstr "新合規政策"
|
588
483
|
|
589
|
-
msgid "New OVAL Content"
|
590
|
-
msgstr ""
|
591
|
-
|
592
484
|
msgid "New Policy"
|
593
485
|
msgstr ""
|
594
486
|
|
@@ -607,24 +499,6 @@ msgstr "否"
|
|
607
499
|
msgid "No ARF reports for this policy"
|
608
500
|
msgstr "此政策沒有 ARF 報告"
|
609
501
|
|
610
|
-
msgid "No CVEs found."
|
611
|
-
msgstr ""
|
612
|
-
|
613
|
-
msgid "No Hostgroups found."
|
614
|
-
msgstr ""
|
615
|
-
|
616
|
-
msgid "No OVAL Content found"
|
617
|
-
msgstr ""
|
618
|
-
|
619
|
-
msgid "No OVAL Contents found."
|
620
|
-
msgstr ""
|
621
|
-
|
622
|
-
msgid "No OVAL Policies found"
|
623
|
-
msgstr ""
|
624
|
-
|
625
|
-
msgid "No OVAL Policy found"
|
626
|
-
msgstr ""
|
627
|
-
|
628
502
|
msgid "No OpenSCAP Proxy selected."
|
629
503
|
msgstr ""
|
630
504
|
|
@@ -634,9 +508,6 @@ msgstr ""
|
|
634
508
|
msgid "No Tailoring file assigned for policy with id %s"
|
635
509
|
msgstr ""
|
636
510
|
|
637
|
-
msgid "No Vulnerabilities found"
|
638
|
-
msgstr ""
|
639
|
-
|
640
511
|
msgid "No available proxy to validate. Returned with error: %s"
|
641
512
|
msgstr "沒有可用的代理供驗證。傳回錯誤:%s"
|
642
513
|
|
@@ -709,78 +580,6 @@ msgstr "月份中的日子,請注意並不是所有月份都有同樣的天數
|
|
709
580
|
msgid "OS"
|
710
581
|
msgstr ""
|
711
582
|
|
712
|
-
msgid "OVAL Content"
|
713
|
-
msgstr ""
|
714
|
-
|
715
|
-
msgid "OVAL Content %s successfully created"
|
716
|
-
msgstr ""
|
717
|
-
|
718
|
-
msgid "OVAL Content Source"
|
719
|
-
msgstr ""
|
720
|
-
|
721
|
-
msgid "OVAL Content from URL"
|
722
|
-
msgstr ""
|
723
|
-
|
724
|
-
msgid "OVAL Content from file"
|
725
|
-
msgstr ""
|
726
|
-
|
727
|
-
msgid "OVAL Content is required to create OVAL Policy. Please create one before proceeding."
|
728
|
-
msgstr ""
|
729
|
-
|
730
|
-
msgid "OVAL Content successfully deleted."
|
731
|
-
msgstr ""
|
732
|
-
|
733
|
-
msgid "OVAL Contents"
|
734
|
-
msgstr ""
|
735
|
-
|
736
|
-
msgid "OVAL Contents table"
|
737
|
-
msgstr ""
|
738
|
-
|
739
|
-
msgid "OVAL Policies"
|
740
|
-
msgstr ""
|
741
|
-
|
742
|
-
msgid "OVAL Policies Table"
|
743
|
-
msgstr ""
|
744
|
-
|
745
|
-
msgid "OVAL Policy description"
|
746
|
-
msgstr ""
|
747
|
-
|
748
|
-
msgid "OVAL Policy name"
|
749
|
-
msgstr ""
|
750
|
-
|
751
|
-
msgid "OVAL Policy schedule cron line (only if period == \"custom\")"
|
752
|
-
msgstr ""
|
753
|
-
|
754
|
-
msgid "OVAL Policy schedule day of month (only if period == \"monthly\")"
|
755
|
-
msgstr ""
|
756
|
-
|
757
|
-
msgid "OVAL Policy schedule period (weekly, monthly, custom)"
|
758
|
-
msgstr ""
|
759
|
-
|
760
|
-
msgid "OVAL Policy schedule weekday (only if period == \"weekly\")"
|
761
|
-
msgstr ""
|
762
|
-
|
763
|
-
msgid "OVAL Policy succesfully created."
|
764
|
-
msgstr ""
|
765
|
-
|
766
|
-
msgid "OVAL content name"
|
767
|
-
msgstr ""
|
768
|
-
|
769
|
-
msgid "OVAL policy"
|
770
|
-
msgstr ""
|
771
|
-
|
772
|
-
msgid "OVAL policy successfully configured with %s."
|
773
|
-
msgstr ""
|
774
|
-
|
775
|
-
msgid "OVAL policy was successfully deleted."
|
776
|
-
msgstr ""
|
777
|
-
|
778
|
-
msgid "OVAL policy was successfully updated."
|
779
|
-
msgstr ""
|
780
|
-
|
781
|
-
msgid "OVAL scan"
|
782
|
-
msgstr ""
|
783
|
-
|
784
583
|
msgid "Once SCAP content is present, you can create a policy, assign select host groups and schedule to run."
|
785
584
|
msgstr ""
|
786
585
|
|
@@ -796,12 +595,6 @@ msgstr ""
|
|
796
595
|
msgid "Organizations"
|
797
596
|
msgstr "組織"
|
798
597
|
|
799
|
-
msgid "Original File Name"
|
800
|
-
msgstr ""
|
801
|
-
|
802
|
-
msgid "Original file name of the OVAL content file"
|
803
|
-
msgstr ""
|
804
|
-
|
805
598
|
msgid "Original file name of the XML file"
|
806
599
|
msgstr ""
|
807
600
|
|
@@ -825,9 +618,6 @@ msgstr "已通過"
|
|
825
618
|
msgid "Passed|P"
|
826
619
|
msgstr "Passed|P"
|
827
620
|
|
828
|
-
msgid "Period"
|
829
|
-
msgstr ""
|
830
|
-
|
831
621
|
msgid "Permission denied"
|
832
622
|
msgstr ""
|
833
623
|
|
@@ -855,9 +645,6 @@ msgstr "政策 %s"
|
|
855
645
|
msgid "Policy Attributes"
|
856
646
|
msgstr ""
|
857
647
|
|
858
|
-
msgid "Policy OVAL content ID"
|
859
|
-
msgstr ""
|
860
|
-
|
861
648
|
msgid "Policy SCAP content ID"
|
862
649
|
msgstr ""
|
863
650
|
|
@@ -909,9 +696,6 @@ msgstr ""
|
|
909
696
|
msgid "Red Hat %s default content"
|
910
697
|
msgstr ""
|
911
698
|
|
912
|
-
msgid "Ref Id"
|
913
|
-
msgstr ""
|
914
|
-
|
915
699
|
msgid "References"
|
916
700
|
msgstr "參照"
|
917
701
|
|
@@ -924,9 +708,6 @@ msgstr ""
|
|
924
708
|
msgid "Remediation might render the system non-functional."
|
925
709
|
msgstr ""
|
926
710
|
|
927
|
-
msgid "Remote action:"
|
928
|
-
msgstr "遠端動作:"
|
929
|
-
|
930
711
|
msgid "Remote job"
|
931
712
|
msgstr ""
|
932
713
|
|
@@ -984,9 +765,6 @@ msgstr ""
|
|
984
765
|
msgid "Run"
|
985
766
|
msgstr ""
|
986
767
|
|
987
|
-
msgid "Run OVAL scan"
|
988
|
-
msgstr ""
|
989
|
-
|
990
768
|
msgid "Run OpenSCAP remediation with Ansible"
|
991
769
|
msgstr ""
|
992
770
|
|
@@ -1017,9 +795,6 @@ msgstr "SCAP 內容"
|
|
1017
795
|
msgid "SCAP policies summary"
|
1018
796
|
msgstr ""
|
1019
797
|
|
1020
|
-
msgid "Scan All Hostgroups"
|
1021
|
-
msgstr ""
|
1022
|
-
|
1023
798
|
msgid "Schedule"
|
1024
799
|
msgstr "排程"
|
1025
800
|
|
@@ -1053,9 +828,6 @@ msgstr ""
|
|
1053
828
|
msgid "Show a Tailoring file"
|
1054
829
|
msgstr ""
|
1055
830
|
|
1056
|
-
msgid "Show a policy's OVAL content"
|
1057
|
-
msgstr ""
|
1058
|
-
|
1059
831
|
msgid "Show a policy's SCAP content"
|
1060
832
|
msgstr "顯示政策的 SCAP 內容"
|
1061
833
|
|
@@ -1065,12 +837,6 @@ msgstr ""
|
|
1065
837
|
msgid "Show an ARF report"
|
1066
838
|
msgstr ""
|
1067
839
|
|
1068
|
-
msgid "Show an OVAL Policy"
|
1069
|
-
msgstr ""
|
1070
|
-
|
1071
|
-
msgid "Show an OVAL content"
|
1072
|
-
msgstr ""
|
1073
|
-
|
1074
840
|
msgid "Show an SCAP content"
|
1075
841
|
msgstr "顯示 SCAP 內容"
|
1076
842
|
|
@@ -1122,15 +888,6 @@ msgstr ""
|
|
1122
888
|
msgid "Summary report from Foreman server at %{foreman_url}"
|
1123
889
|
msgstr "來自 Foreman 伺服器的摘要報告,於 %{foreman_url}"
|
1124
890
|
|
1125
|
-
msgid "Sync contents that have remote source URL"
|
1126
|
-
msgstr ""
|
1127
|
-
|
1128
|
-
msgid "Table of CVEs for OVAL policy"
|
1129
|
-
msgstr ""
|
1130
|
-
|
1131
|
-
msgid "Table of hostgroups for OVAL policy"
|
1132
|
-
msgstr ""
|
1133
|
-
|
1134
891
|
msgid "Tailoring File"
|
1135
892
|
msgstr ""
|
1136
893
|
|
@@ -1157,9 +914,6 @@ msgstr ""
|
|
1157
914
|
msgid "The following %{key_name} were missing for %{item_name}: %{key_names}. Make sure they are imported before proceeding."
|
1158
915
|
msgstr ""
|
1159
916
|
|
1160
|
-
msgid "The following Ansible Variables were not found: %{missing_vars}, please import them before running this action again."
|
1161
|
-
msgstr ""
|
1162
|
-
|
1163
917
|
msgid "The following Smart Proxies need to be updated to unlock the feature: %s. "
|
1164
918
|
msgstr ""
|
1165
919
|
|
@@ -1181,9 +935,6 @@ msgstr ""
|
|
1181
935
|
msgid "There was a following error when deleting %(name)s: %(error)s"
|
1182
936
|
msgstr ""
|
1183
937
|
|
1184
|
-
msgid "There was a following error when updating OVAL policy: %s"
|
1185
|
-
msgstr ""
|
1186
|
-
|
1187
938
|
msgid "There's no available report for this host"
|
1188
939
|
msgstr ""
|
1189
940
|
|
@@ -1216,18 +967,9 @@ msgid_plural "Total of %{hosts} hosts"
|
|
1216
967
|
msgstr[0] ""
|
1217
968
|
msgstr[1] ""
|
1218
969
|
|
1219
|
-
msgid "Type a hostgroup name..."
|
1220
|
-
msgstr ""
|
1221
|
-
|
1222
970
|
msgid "Type of the upload"
|
1223
971
|
msgstr ""
|
1224
972
|
|
1225
|
-
msgid "URL"
|
1226
|
-
msgstr ""
|
1227
|
-
|
1228
|
-
msgid "URL of the OVAL content file"
|
1229
|
-
msgstr ""
|
1230
|
-
|
1231
973
|
msgid "Unable to get HTML version of requested report from Smart Proxy"
|
1232
974
|
msgstr ""
|
1233
975
|
|
@@ -1240,27 +982,12 @@ msgstr "取消指定合規政策"
|
|
1240
982
|
msgid "Unknown Compliance status"
|
1241
983
|
msgstr "未知的合規狀態"
|
1242
984
|
|
1243
|
-
msgid "Unknown OVAL status"
|
1244
|
-
msgstr ""
|
1245
|
-
|
1246
|
-
msgid "Unknown error when submitting data, please try again later."
|
1247
|
-
msgstr ""
|
1248
|
-
|
1249
|
-
msgid "Unknown schedule"
|
1250
|
-
msgstr ""
|
1251
|
-
|
1252
985
|
msgid "Update a Policy"
|
1253
986
|
msgstr ""
|
1254
987
|
|
1255
988
|
msgid "Update a Tailoring file"
|
1256
989
|
msgstr ""
|
1257
990
|
|
1258
|
-
msgid "Update an OVAL Policy"
|
1259
|
-
msgstr ""
|
1260
|
-
|
1261
|
-
msgid "Update an OVAL content"
|
1262
|
-
msgstr ""
|
1263
|
-
|
1264
991
|
msgid "Update an SCAP content"
|
1265
992
|
msgstr "更新 SCAP 內容"
|
1266
993
|
|
@@ -1282,9 +1009,6 @@ msgstr ""
|
|
1282
1009
|
msgid "Upload an ARF report"
|
1283
1010
|
msgstr "上傳 ARF 報告"
|
1284
1011
|
|
1285
|
-
msgid "Upload an OVAL report - a list of CVEs for given host"
|
1286
|
-
msgstr ""
|
1287
|
-
|
1288
1012
|
msgid "Upload new SCAP content file"
|
1289
1013
|
msgstr "上傳新的 SCAP 內容檔案"
|
1290
1014
|
|
@@ -1303,24 +1027,12 @@ msgstr "檢視完整報告"
|
|
1303
1027
|
msgid "View selected hosts"
|
1304
1028
|
msgstr ""
|
1305
1029
|
|
1306
|
-
msgid "Was %s configured successfully?"
|
1307
|
-
msgstr ""
|
1308
|
-
|
1309
|
-
msgid "Was %{model_name} %{name} configured successfully?"
|
1310
|
-
msgstr ""
|
1311
|
-
|
1312
|
-
msgid "Weekly, on %s"
|
1313
|
-
msgstr ""
|
1314
|
-
|
1315
1030
|
msgid "XCCDF Profile"
|
1316
1031
|
msgstr "XCCDF 設定檔"
|
1317
1032
|
|
1318
1033
|
msgid "XCCDF Profile in Tailoring File"
|
1319
1034
|
msgstr ""
|
1320
1035
|
|
1321
|
-
msgid "XML containing OVAL content"
|
1322
|
-
msgstr ""
|
1323
|
-
|
1324
1036
|
msgid "XML containing SCAP content"
|
1325
1037
|
msgstr ""
|
1326
1038
|
|
@@ -1342,15 +1054,9 @@ msgstr "您可指定自訂的 cron 行,例如\"0 3 * * *\",五個數值
|
|
1342
1054
|
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."
|
1343
1055
|
msgstr ""
|
1344
1056
|
|
1345
|
-
msgid "can't be blank"
|
1346
|
-
msgstr ""
|
1347
|
-
|
1348
1057
|
msgid "cannot assign to %s, all assigned policies must be deployed in the same way, check 'deploy by' for each assigned policy"
|
1349
1058
|
msgstr ""
|
1350
1059
|
|
1351
|
-
msgid "cause: "
|
1352
|
-
msgstr ""
|
1353
|
-
|
1354
1060
|
msgid "documentation"
|
1355
1061
|
msgstr ""
|
1356
1062
|
|
@@ -1363,21 +1069,9 @@ msgstr ""
|
|
1363
1069
|
msgid "does not have the selected SCAP content profile"
|
1364
1070
|
msgstr ""
|
1365
1071
|
|
1366
|
-
msgid "foreman_ansible plugin not found, please install it before running this action again."
|
1367
|
-
msgstr ""
|
1368
|
-
|
1369
|
-
msgid "hostgroups"
|
1370
|
-
msgstr ""
|
1371
|
-
|
1372
|
-
msgid "hosts"
|
1373
|
-
msgstr "主機"
|
1374
|
-
|
1375
1072
|
msgid "invalid type %s"
|
1376
1073
|
msgstr "無效的類型 %s"
|
1377
1074
|
|
1378
|
-
msgid "is not a valid cronline"
|
1379
|
-
msgstr ""
|
1380
|
-
|
1381
1075
|
msgid "is not a valid value"
|
1382
1076
|
msgstr ""
|
1383
1077
|
|
File without changes
|
data/package.json
CHANGED
@@ -5,6 +5,7 @@
|
|
5
5
|
"main": "index.js",
|
6
6
|
"scripts": {
|
7
7
|
"lint": "tfm-lint --plugin -d /webpack",
|
8
|
+
"lint:custom": "eslint ./webpack",
|
8
9
|
"test": "tfm-test --plugin --config jest.config.js",
|
9
10
|
"test:watch": "tfm-test --plugin --watchAll --config jest.config.js",
|
10
11
|
"test:current": "tfm-test --plugin --watch --config jest.config.js",
|
@@ -28,6 +29,7 @@
|
|
28
29
|
"@testing-library/user-event": "^13.2.1",
|
29
30
|
"@theforeman/builder": ">= 10.1.0",
|
30
31
|
"@theforeman/eslint-plugin-foreman": ">= 10.1.0",
|
32
|
+
"@theforeman/eslint-plugin-rules": ">= 10.1.0",
|
31
33
|
"@theforeman/find-foreman": ">= 10.1.0",
|
32
34
|
"@theforeman/test": ">= 10.1.0",
|
33
35
|
"@theforeman/vendor-dev": ">= 10.1.0",
|
@@ -11,6 +11,7 @@ const ConfirmModal = props => {
|
|
11
11
|
|
12
12
|
const actions = [
|
13
13
|
<Button
|
14
|
+
ouiaId={`oscap-conf-modal-${props.record?.id}-confirm`}
|
14
15
|
key="confirm"
|
15
16
|
variant="primary"
|
16
17
|
onClick={() => props.onConfirm(callMutation, props.record.id)}
|
@@ -19,6 +20,7 @@ const ConfirmModal = props => {
|
|
19
20
|
{__('Confirm')}
|
20
21
|
</Button>,
|
21
22
|
<Button
|
23
|
+
ouiaId={`oscap-conf-modal-${props.record?.id}-cancel`}
|
22
24
|
key="cancel"
|
23
25
|
variant="link"
|
24
26
|
onClick={event => props.onClose()}
|
@@ -34,6 +36,7 @@ const ConfirmModal = props => {
|
|
34
36
|
|
35
37
|
return (
|
36
38
|
<Modal
|
39
|
+
ouiaId={`oscap-conf-modal-${props.record?.id}`}
|
37
40
|
variant={ModalVariant.medium}
|
38
41
|
title={props.title}
|
39
42
|
isOpen={props.isOpen}
|
@@ -62,6 +62,7 @@ const EditableInput = props => {
|
|
62
62
|
const editBtn = (
|
63
63
|
<SplitItem>
|
64
64
|
<Button
|
65
|
+
ouiaId={`oscap-edit-${props.attrName}-edit-button`}
|
65
66
|
className="inline-edit-icon"
|
66
67
|
aria-label={`edit ${props.attrName}`}
|
67
68
|
variant="plain"
|
@@ -115,6 +116,7 @@ const EditableInput = props => {
|
|
115
116
|
</SplitItem>
|
116
117
|
<SplitItem>
|
117
118
|
<Button
|
119
|
+
ouiaId={`oscap-edit-${props.attrName}-submit-button`}
|
118
120
|
aria-label={`submit ${props.attrName}`}
|
119
121
|
variant="plain"
|
120
122
|
onClick={onSubmit}
|
@@ -125,6 +127,7 @@ const EditableInput = props => {
|
|
125
127
|
</SplitItem>
|
126
128
|
<SplitItem>
|
127
129
|
<Button
|
130
|
+
ouiaId={`oscap-edit-${props.attrName}-cancel-button`}
|
128
131
|
aria-label={`cancel editing ${props.attrName}`}
|
129
132
|
variant="plain"
|
130
133
|
onClick={onCancel}
|
@@ -29,11 +29,19 @@ const EmptyStateIcon = ({ error, search, lock }) => {
|
|
29
29
|
return <PfEmptyStateIcon icon={CubeIcon} />;
|
30
30
|
};
|
31
31
|
|
32
|
-
const EmptyState = ({
|
32
|
+
const EmptyState = ({
|
33
|
+
title,
|
34
|
+
body,
|
35
|
+
error,
|
36
|
+
search,
|
37
|
+
lock,
|
38
|
+
primaryButton,
|
39
|
+
ouiaEmptyStateTitleId,
|
40
|
+
}) => (
|
33
41
|
<Bullseye>
|
34
42
|
<PfEmptyState variant={EmptyStateVariant.small}>
|
35
43
|
<EmptyStateIcon error={!!error} search={search} lock={lock} />
|
36
|
-
<Title headingLevel="h2" size="lg">
|
44
|
+
<Title ouiaId={ouiaEmptyStateTitleId} headingLevel="h2" size="lg">
|
37
45
|
{title}
|
38
46
|
</Title>
|
39
47
|
<EmptyStateBody>{body}</EmptyStateBody>
|
@@ -65,6 +73,7 @@ EmptyState.propTypes = {
|
|
65
73
|
search: PropTypes.bool,
|
66
74
|
lock: PropTypes.bool,
|
67
75
|
primaryButton: PropTypes.node,
|
76
|
+
ouiaEmptyStateTitleId: PropTypes.string,
|
68
77
|
};
|
69
78
|
|
70
79
|
EmptyState.defaultProps = {
|
@@ -75,6 +84,7 @@ EmptyState.defaultProps = {
|
|
75
84
|
search: false,
|
76
85
|
lock: false,
|
77
86
|
primaryButton: null,
|
87
|
+
ouiaEmptyStateTitleId: 'oscap-empty-state-title',
|
78
88
|
};
|
79
89
|
|
80
90
|
export default EmptyState;
|