foreman_openscap 0.8.3 → 0.8.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (96) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/api/v2/compliance/arf_reports_controller.rb +15 -6
  3. data/app/controllers/api/v2/compliance/policies_controller.rb +4 -2
  4. data/app/controllers/api/v2/compliance/scap_contents_controller.rb +3 -2
  5. data/app/controllers/api/v2/compliance/tailoring_files_controller.rb +3 -2
  6. data/app/controllers/arf_reports_controller.rb +4 -4
  7. data/app/controllers/policies_controller.rb +6 -5
  8. data/app/controllers/scap_contents_controller.rb +3 -3
  9. data/app/helpers/arf_report_dashboard_helper.rb +1 -1
  10. data/app/helpers/arf_reports_helper.rb +8 -8
  11. data/app/helpers/compliance_dashboard_helper.rb +0 -2
  12. data/app/helpers/compliance_hosts_helper.rb +7 -8
  13. data/app/helpers/policies_helper.rb +18 -18
  14. data/app/helpers/policy_dashboard_helper.rb +3 -3
  15. data/app/lib/proxy_api/available_proxy.rb +2 -2
  16. data/app/lib/proxy_api/openscap.rb +1 -1
  17. data/app/mailers/foreman_openscap/policy_mailer.rb +0 -2
  18. data/app/models/concerns/foreman_openscap/compliance_status_scoped_search.rb +7 -7
  19. data/app/models/concerns/foreman_openscap/data_stream_content.rb +1 -1
  20. data/app/models/concerns/foreman_openscap/host_extensions.rb +16 -6
  21. data/app/models/concerns/foreman_openscap/openscap_proxy_extensions.rb +1 -1
  22. data/app/models/foreman_openscap/arf_report.rb +5 -5
  23. data/app/models/foreman_openscap/policy.rb +6 -6
  24. data/app/models/foreman_openscap/scap_content.rb +2 -2
  25. data/app/models/foreman_openscap/tailoring_file.rb +1 -1
  26. data/app/services/foreman_openscap/arf_report_status_calculator.rb +0 -1
  27. data/app/services/foreman_openscap/host_report_dashboard/data.rb +2 -3
  28. data/app/services/foreman_openscap/openscap_proxy_version_check.rb +0 -1
  29. data/app/services/foreman_openscap/policy_dashboard/data.rb +7 -6
  30. data/app/services/foreman_openscap/report_dashboard/data.rb +1 -0
  31. data/app/views/api/v2/compliance/common/_loc.json.rabl +1 -1
  32. data/app/views/api/v2/compliance/common/_org.json.rabl +1 -1
  33. data/app/views/api/v2/compliance/policies/base.json.rabl +1 -1
  34. data/app/views/arf_reports/_list.html.erb +1 -1
  35. data/app/views/arf_reports/delete_multiple.html.erb +1 -1
  36. data/app/views/arf_reports/welcome.html.erb +12 -0
  37. data/app/views/compliance_hosts/show.html.erb +3 -1
  38. data/app/views/policy_dashboard/_policy_reports.html.erb +1 -1
  39. data/app/views/scap_contents/_list.html.erb +1 -1
  40. data/app/views/smart_proxies/_openscap_spool.html.erb +1 -1
  41. data/app/views/tailoring_files/_list.html.erb +1 -1
  42. data/config/routes.rb +9 -11
  43. data/db/migrate/20141015115511_add_arf_report_unique_constraint.rb +1 -1
  44. data/db/migrate/20141113221054_create_scaptimony_scap_content_profiles.rb +2 -3
  45. data/db/migrate/20141206211151_create_scaptimony_assets_policies.rb +1 -1
  46. data/db/migrate/20150115155947_add_scaptimony_scap_content_digest.rb +1 -1
  47. data/db/migrate/20150821100137_migrate_from_scaptimony.rb +1 -1
  48. data/db/migrate/20150929152345_move_arf_reports_to_reports_table.rb +0 -1
  49. data/db/migrate/20161223153249_add_permissions_to_arf_report.rb +2 -2
  50. data/db/migrate/20171016125613_add_content_title_unique_constraint.foreman_openscap.rb +6 -0
  51. data/lib/foreman_openscap/bulk_upload.rb +1 -1
  52. data/lib/foreman_openscap/engine.rb +54 -56
  53. data/lib/foreman_openscap/version.rb +1 -1
  54. data/lib/tasks/foreman_openscap_tasks.rake +11 -2
  55. data/locale/de/foreman_openscap.po +52 -13
  56. data/locale/en_GB/foreman_openscap.po +52 -13
  57. data/locale/es/foreman_openscap.po +52 -13
  58. data/locale/foreman_openscap.pot +140 -90
  59. data/locale/fr/foreman_openscap.po +52 -13
  60. data/locale/gl/foreman_openscap.po +52 -13
  61. data/locale/it/foreman_openscap.po +52 -13
  62. data/locale/ja/foreman_openscap.po +52 -13
  63. data/locale/ko/foreman_openscap.po +52 -13
  64. data/locale/pt_BR/foreman_openscap.po +52 -13
  65. data/locale/ru/foreman_openscap.po +52 -13
  66. data/locale/sv_SE/foreman_openscap.po +52 -13
  67. data/locale/zh_CN/foreman_openscap.po +52 -13
  68. data/locale/zh_TW/foreman_openscap.po +52 -13
  69. data/test/factories/arf_report_factory.rb +1 -1
  70. data/test/factories/asset_factory.rb +2 -2
  71. data/test/factories/compliance_host_factory.rb +2 -2
  72. data/test/factories/compliance_log_factory.rb +1 -1
  73. data/test/factories/policy_arf_report_factory.rb +1 -1
  74. data/test/factories/policy_factory.rb +3 -3
  75. data/test/factories/scap_content_related.rb +2 -2
  76. data/test/functional/api/v2/compliance/arf_reports_controller_test.rb +28 -9
  77. data/test/functional/api/v2/compliance/policies_controller_test.rb +16 -16
  78. data/test/functional/api/v2/compliance/scap_contents_controller_test.rb +8 -9
  79. data/test/functional/api/v2/compliance/tailoring_files_controller_test.rb +10 -11
  80. data/test/functional/arf_reports_controller_test.rb +4 -4
  81. data/test/functional/openscap_proxies_controller_test.rb +5 -3
  82. data/test/functional/tailoring_files_controller_test.rb +1 -1
  83. data/test/test_plugin_helper.rb +7 -7
  84. data/test/unit/arf_report_status_calculator_test.rb +0 -1
  85. data/test/unit/arf_report_test.rb +50 -50
  86. data/test/unit/compliance_status_test.rb +13 -13
  87. data/test/unit/concerns/host_extensions_test.rb +38 -22
  88. data/test/unit/concerns/openscap_proxy_extenstions_test.rb +5 -6
  89. data/test/unit/message_cleaner_test.rb +7 -7
  90. data/test/unit/openscap_host_test.rb +13 -13
  91. data/test/unit/policy_mailer_test.rb +12 -12
  92. data/test/unit/policy_test.rb +30 -30
  93. data/test/unit/scap_content_test.rb +4 -4
  94. data/test/unit/services/report_dashboard/data_test.rb +6 -6
  95. data/test/unit/services/tailoring_files_proxy_check_test.rb +1 -1
  96. metadata +4 -2
@@ -8,8 +8,8 @@ msgid ""
8
8
  msgstr ""
9
9
  "Project-Id-Version: foreman_openscap 1.0.0\n"
10
10
  "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2017-06-16 11:01+0200\n"
12
- "PO-Revision-Date: 2017-06-16 11:01+0200\n"
11
+ "POT-Creation-Date: 2017-12-01 13:39-0500\n"
12
+ "PO-Revision-Date: 2017-12-01 13:39-0500\n"
13
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
15
  "Language: \n"
@@ -18,30 +18,34 @@ msgstr ""
18
18
  "Content-Transfer-Encoding: 8bit\n"
19
19
  "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
20
20
 
21
- #: ../app/controllers/api/v2/compliance/arf_reports_controller.rb:25
21
+ #: ../app/controllers/api/v2/compliance/arf_reports_controller.rb:24
22
22
  msgid "List ARF reports"
23
23
  msgstr ""
24
24
 
25
- #: ../app/controllers/api/v2/compliance/arf_reports_controller.rb:32
25
+ #: ../app/controllers/api/v2/compliance/arf_reports_controller.rb:31
26
26
  msgid "Show an ARF report"
27
27
  msgstr ""
28
28
 
29
- #: ../app/controllers/api/v2/compliance/arf_reports_controller.rb:38
29
+ #: ../app/controllers/api/v2/compliance/arf_reports_controller.rb:37
30
30
  msgid "Delete an ARF Report"
31
31
  msgstr ""
32
32
 
33
- #: ../app/controllers/api/v2/compliance/arf_reports_controller.rb:45
33
+ #: ../app/controllers/api/v2/compliance/arf_reports_controller.rb:44
34
34
  msgid "Upload an ARF report"
35
35
  msgstr ""
36
36
 
37
- #: ../app/controllers/api/v2/compliance/arf_reports_controller.rb:57
37
+ #: ../app/controllers/api/v2/compliance/arf_reports_controller.rb:60
38
38
  msgid "Download bzipped ARF report"
39
39
  msgstr ""
40
40
 
41
- #: ../app/controllers/api/v2/compliance/arf_reports_controller.rb:67
41
+ #: ../app/controllers/api/v2/compliance/arf_reports_controller.rb:70
42
42
  msgid "Download ARF report in HTML"
43
43
  msgstr ""
44
44
 
45
+ #: ../app/controllers/api/v2/compliance/arf_reports_controller.rb:92
46
+ msgid "Failed to upload Arf Report, no OpenSCAP proxy set for host %s"
47
+ msgstr ""
48
+
45
49
  #: ../app/controllers/api/v2/compliance/policies_controller.rb:25
46
50
  msgid "List Policies"
47
51
  msgstr ""
@@ -87,33 +91,41 @@ msgid "Apply policy to host groups"
87
91
  msgstr ""
88
92
 
89
93
  #: ../app/controllers/api/v2/compliance/policies_controller.rb:49
90
- msgid "Tailoring file ID"
94
+ msgid "Apply policy to hosts"
91
95
  msgstr ""
92
96
 
93
97
  #: ../app/controllers/api/v2/compliance/policies_controller.rb:50
98
+ msgid "Tailoring file ID"
99
+ msgstr ""
100
+
101
+ #: ../app/controllers/api/v2/compliance/policies_controller.rb:51
94
102
  msgid "Tailoring file profile ID"
95
103
  msgstr ""
96
104
 
97
- #: ../app/controllers/api/v2/compliance/policies_controller.rb:55
105
+ #: ../app/controllers/api/v2/compliance/policies_controller.rb:56
98
106
  msgid "Create a Policy"
99
107
  msgstr ""
100
108
 
101
- #: ../app/controllers/api/v2/compliance/policies_controller.rb:63
109
+ #: ../app/controllers/api/v2/compliance/policies_controller.rb:64
102
110
  msgid "Update a Policy"
103
111
  msgstr ""
104
112
 
105
- #: ../app/controllers/api/v2/compliance/policies_controller.rb:71
113
+ #: ../app/controllers/api/v2/compliance/policies_controller.rb:72
106
114
  msgid "Delete a Policy"
107
115
  msgstr ""
108
116
 
109
- #: ../app/controllers/api/v2/compliance/policies_controller.rb:78
117
+ #: ../app/controllers/api/v2/compliance/policies_controller.rb:79
110
118
  msgid "Show a policy's SCAP content"
111
119
  msgstr ""
112
120
 
113
- #: ../app/controllers/api/v2/compliance/policies_controller.rb:88
121
+ #: ../app/controllers/api/v2/compliance/policies_controller.rb:89
114
122
  msgid "Show a policy's Tailoring file"
115
123
  msgstr ""
116
124
 
125
+ #: ../app/controllers/api/v2/compliance/policies_controller.rb:99
126
+ msgid "No Tailoring file assigned for policy with id %s"
127
+ msgstr ""
128
+
117
129
  #: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:15
118
130
  msgid "List SCAP contents"
119
131
  msgstr ""
@@ -235,46 +247,46 @@ msgstr ""
235
247
  msgid "No valid policy ID provided"
236
248
  msgstr ""
237
249
 
238
- #: ../app/controllers/policies_controller.rb:120
250
+ #: ../app/controllers/policies_controller.rb:121
239
251
  msgid "No hosts were found."
240
252
  msgstr ""
241
253
 
242
- #: ../app/controllers/policies_controller.rb:124
254
+ #: ../app/controllers/policies_controller.rb:125
243
255
  msgid "No hosts selected"
244
256
  msgstr ""
245
257
 
246
- #: ../app/controllers/policies_controller.rb:129
258
+ #: ../app/controllers/policies_controller.rb:130
247
259
  msgid "Something went wrong while selecting hosts - %s"
248
260
  msgstr ""
249
261
 
250
262
  #: ../app/helpers/arf_report_dashboard_helper.rb:10
251
- #: ../app/helpers/compliance_dashboard_helper.rb:9
252
- #: ../app/helpers/compliance_hosts_helper.rb:6
253
- #: ../app/helpers/compliance_hosts_helper.rb:23
254
- #: ../app/views/arf_reports/_list.html.erb:9
263
+ #: ../app/helpers/compliance_dashboard_helper.rb:8
264
+ #: ../app/helpers/compliance_hosts_helper.rb:5
265
+ #: ../app/helpers/compliance_hosts_helper.rb:22
266
+ #: ../app/views/arf_reports/_list.html.erb:11
255
267
  #: ../app/views/foreman_openscap/policy_mailer/_hosts.erb:11
256
268
  #: ../app/views/policy_dashboard/_policy_reports.html.erb:6
257
269
  msgid "Failed"
258
270
  msgstr ""
259
271
 
260
272
  #: ../app/helpers/arf_report_dashboard_helper.rb:11
261
- #: ../app/helpers/compliance_dashboard_helper.rb:7
262
- #: ../app/helpers/compliance_hosts_helper.rb:5
263
- #: ../app/helpers/compliance_hosts_helper.rb:22
264
- #: ../app/views/arf_reports/_list.html.erb:8
273
+ #: ../app/helpers/compliance_dashboard_helper.rb:6
274
+ #: ../app/helpers/compliance_hosts_helper.rb:4
275
+ #: ../app/helpers/compliance_hosts_helper.rb:21
276
+ #: ../app/views/arf_reports/_list.html.erb:10
265
277
  #: ../app/views/foreman_openscap/policy_mailer/_hosts.erb:8
266
278
  #: ../app/views/policy_dashboard/_policy_reports.html.erb:5
267
279
  msgid "Passed"
268
280
  msgstr ""
269
281
 
270
282
  #: ../app/helpers/arf_report_dashboard_helper.rb:12
271
- #: ../app/helpers/compliance_dashboard_helper.rb:11
272
- #: ../app/helpers/compliance_hosts_helper.rb:24
283
+ #: ../app/helpers/compliance_dashboard_helper.rb:10
284
+ #: ../app/helpers/compliance_hosts_helper.rb:23
273
285
  msgid "Othered"
274
286
  msgstr ""
275
287
 
276
288
  #: ../app/helpers/arf_report_dashboard_helper.rb:15
277
- #: ../app/helpers/compliance_hosts_helper.rb:10
289
+ #: ../app/helpers/compliance_hosts_helper.rb:9
278
290
  msgid "Compliance reports breakdown"
279
291
  msgstr ""
280
292
 
@@ -306,23 +318,39 @@ msgstr ""
306
318
  msgid "%s - The following compliance reports are about to be changed"
307
319
  msgstr ""
308
320
 
321
+ #: ../app/helpers/arf_reports_helper.rb:57
322
+ msgid "No proxy found!"
323
+ msgstr ""
324
+
325
+ #: ../app/helpers/arf_reports_helper.rb:62
326
+ msgid "Reported at %s"
327
+ msgstr ""
328
+
329
+ #: ../app/helpers/arf_reports_helper.rb:63
330
+ msgid " for policy %s"
331
+ msgstr ""
332
+
333
+ #: ../app/helpers/arf_reports_helper.rb:65
334
+ msgid " through %s"
335
+ msgstr ""
336
+
309
337
  #. TRANSLATORS: initial character of Passed
310
- #: ../app/helpers/compliance_dashboard_helper.rb:7
338
+ #: ../app/helpers/compliance_dashboard_helper.rb:6
311
339
  msgid "Passed|P"
312
340
  msgstr ""
313
341
 
314
342
  #. TRANSLATORS: initial character of Failed
315
- #: ../app/helpers/compliance_dashboard_helper.rb:9
343
+ #: ../app/helpers/compliance_dashboard_helper.rb:8
316
344
  msgid "Failed|F"
317
345
  msgstr ""
318
346
 
319
347
  #. TRANSLATORS: initial character of Othered which is an SCAP term
320
- #: ../app/helpers/compliance_dashboard_helper.rb:11
348
+ #: ../app/helpers/compliance_dashboard_helper.rb:10
321
349
  msgid "Othered|O"
322
350
  msgstr ""
323
351
 
324
- #: ../app/helpers/compliance_hosts_helper.rb:7
325
- #: ../app/views/arf_reports/_list.html.erb:10
352
+ #: ../app/helpers/compliance_hosts_helper.rb:6
353
+ #: ../app/views/arf_reports/_list.html.erb:12
326
354
  #: ../app/views/foreman_openscap/policy_mailer/_hosts.erb:14
327
355
  #: ../app/views/policy_dashboard/_policy_reports.html.erb:7
328
356
  msgid "Other"
@@ -377,12 +405,12 @@ msgid "This profile will be used to override the one from scap content"
377
405
  msgstr ""
378
406
 
379
407
  #: ../app/helpers/policies_helper.rb:73
380
- #: ../app/views/arf_reports/_list.html.erb:49
408
+ #: ../app/views/arf_reports/_list.html.erb:53
381
409
  msgid "Submit"
382
410
  msgstr ""
383
411
 
384
412
  #: ../app/helpers/policies_helper.rb:78
385
- #: ../app/views/arf_reports/_list.html.erb:48
413
+ #: ../app/views/arf_reports/_list.html.erb:52
386
414
  msgid "Cancel"
387
415
  msgstr ""
388
416
 
@@ -425,7 +453,7 @@ msgstr ""
425
453
  msgid "Unable to get XML version of requested report from Smart Proxy"
426
454
  msgstr ""
427
455
 
428
- #: ../app/mailers/foreman_openscap/policy_mailer.rb:18
456
+ #: ../app/mailers/foreman_openscap/policy_mailer.rb:17
429
457
  msgid "SCAP policies summary"
430
458
  msgstr ""
431
459
 
@@ -443,12 +471,8 @@ msgid ""
443
471
  "ppet master"
444
472
  msgstr ""
445
473
 
446
- #: ../app/models/concerns/foreman_openscap/openscap_proxy_extensions.rb:12
447
- msgid "No OpenSCAP proxy found for %{class} with %{id}"
448
- msgstr ""
449
-
450
- #: ../app/models/foreman_openscap/arf_report.rb:72
451
- msgid "Unsupported report status format"
474
+ #: ../app/models/concerns/foreman_openscap/openscap_proxy_extensions.rb:8
475
+ msgid "No OpenSCAP proxy found for %{class} with id %{id}"
452
476
  msgstr ""
453
477
 
454
478
  #: ../app/models/foreman_openscap/compliance_status.rb:8
@@ -471,17 +495,17 @@ msgstr ""
471
495
  msgid "Unknown Compliance status"
472
496
  msgstr ""
473
497
 
474
- #: ../app/models/foreman_openscap/policy.rb:27
475
- #: ../app/models/foreman_openscap/policy.rb:276
498
+ #: ../app/models/foreman_openscap/policy.rb:29
499
+ #: ../app/models/foreman_openscap/policy.rb:283
476
500
  msgid "is not a valid value"
477
501
  msgstr ""
478
502
 
479
- #: ../app/models/foreman_openscap/policy.rb:50
480
- msgid "Cannot generate HTML guide for %{scap_content}/%{profile}"
503
+ #: ../app/models/foreman_openscap/policy.rb:51
504
+ msgid "Cannot generate HTML guide, scap content is missing."
481
505
  msgstr ""
482
506
 
483
507
  #: ../app/models/foreman_openscap/policy.rb:57
484
- msgid "No valid OpenSCAP proxy server found."
508
+ msgid "Cannot generate HTML guide, no valid OpenSCAP proxy server found."
485
509
  msgstr ""
486
510
 
487
511
  #: ../app/models/foreman_openscap/policy.rb:101
@@ -511,51 +535,55 @@ msgstr ""
511
535
  msgid "Hostgroups"
512
536
  msgstr ""
513
537
 
514
- #: ../app/models/foreman_openscap/policy.rb:245
538
+ #: ../app/models/foreman_openscap/policy.rb:252
515
539
  msgid "Required Puppet class %{class} is not found, please ensure it imported first."
516
540
  msgstr ""
517
541
 
518
- #: ../app/models/foreman_openscap/policy.rb:250
542
+ #: ../app/models/foreman_openscap/policy.rb:257
519
543
  msgid "Puppet class %{class} does not have %{parameter} class parameter."
520
544
  msgstr ""
521
545
 
522
- #: ../app/models/foreman_openscap/policy.rb:259
546
+ #: ../app/models/foreman_openscap/policy.rb:266
523
547
  msgid "%{parameter} class parameter for class %{class} could not be configured."
524
548
  msgstr ""
525
549
 
526
- #: ../app/models/foreman_openscap/policy.rb:270
550
+ #: ../app/models/foreman_openscap/policy.rb:277
527
551
  msgid "does not consist of 5 parts separated by space"
528
552
  msgstr ""
529
553
 
530
- #: ../app/models/foreman_openscap/policy.rb:282
554
+ #: ../app/models/foreman_openscap/policy.rb:289
531
555
  msgid "must be between 1 and 31"
532
556
  msgstr ""
533
557
 
534
- #: ../app/models/foreman_openscap/policy.rb:287
558
+ #: ../app/models/foreman_openscap/policy.rb:294
535
559
  msgid "must be present when tailoring file profile present"
536
560
  msgstr ""
537
561
 
538
- #: ../app/models/foreman_openscap/policy.rb:288
562
+ #: ../app/models/foreman_openscap/policy.rb:295
539
563
  msgid "must be present when tailoring file present"
540
564
  msgstr ""
541
565
 
542
- #: ../app/models/foreman_openscap/policy.rb:293
566
+ #: ../app/models/foreman_openscap/policy.rb:300
543
567
  msgid "does not come from selected tailoring file"
544
568
  msgstr ""
545
569
 
546
- #: ../app/services/foreman_openscap/arf_report_status_calculator.rb:31
570
+ #: ../app/models/foreman_openscap/policy.rb:306
571
+ msgid "does not have the selected SCAP content profile"
572
+ msgstr ""
573
+
574
+ #: ../app/services/foreman_openscap/arf_report_status_calculator.rb:30
547
575
  msgid "invalid type %s"
548
576
  msgstr ""
549
577
 
550
- #: ../app/services/foreman_openscap/openscap_proxy_version_check.rb:40
578
+ #: ../app/services/foreman_openscap/openscap_proxy_version_check.rb:39
551
579
  msgid "This feature is temporarily disabled. "
552
580
  msgstr ""
553
581
 
554
- #: ../app/services/foreman_openscap/openscap_proxy_version_check.rb:41
582
+ #: ../app/services/foreman_openscap/openscap_proxy_version_check.rb:40
555
583
  msgid "The following Smart Proxies need to be updated to unlock the feature: %s. "
556
584
  msgstr ""
557
585
 
558
- #: ../app/services/foreman_openscap/openscap_proxy_version_check.rb:42
586
+ #: ../app/services/foreman_openscap/openscap_proxy_version_check.rb:41
559
587
  msgid ""
560
588
  "The following proxies could not be reached: %s. Please make sure they are avai"
561
589
  "lable so Foreman can check their versions."
@@ -606,23 +634,27 @@ msgstr ""
606
634
  msgid "Reported At"
607
635
  msgstr ""
608
636
 
609
- #: ../app/views/arf_reports/_list.html.erb:25
610
- #: ../app/views/policy_dashboard/_policy_reports.html.erb:13
611
- #: ../app/views/scap_contents/_list.html.erb:13
612
- #: ../app/views/smart_proxies/_openscap_spool.html.erb:4
613
- #: ../app/views/tailoring_files/_list.html.erb:17
614
- msgid "%s ago"
637
+ #: ../app/views/arf_reports/_list.html.erb:8
638
+ msgid "Policy"
615
639
  msgstr ""
616
640
 
617
- #: ../app/views/arf_reports/_list.html.erb:31
641
+ #: ../app/views/arf_reports/_list.html.erb:9
642
+ msgid "Openscap Proxy"
643
+ msgstr ""
644
+
645
+ #: ../app/views/arf_reports/_list.html.erb:28
646
+ msgid "Deleted policy"
647
+ msgstr ""
648
+
649
+ #: ../app/views/arf_reports/_list.html.erb:35
618
650
  msgid "Delete compliance report for %s?"
619
651
  msgstr ""
620
652
 
621
- #: ../app/views/arf_reports/_list.html.erb:32
653
+ #: ../app/views/arf_reports/_list.html.erb:36
622
654
  msgid "Full Report"
623
655
  msgstr ""
624
656
 
625
- #: ../app/views/arf_reports/_list.html.erb:43
657
+ #: ../app/views/arf_reports/_list.html.erb:47
626
658
  msgid "Please Confirm"
627
659
  msgstr ""
628
660
 
@@ -672,34 +704,31 @@ msgid "Delete"
672
704
  msgstr ""
673
705
 
674
706
  #: ../app/views/arf_reports/delete_multiple.html.erb:28
675
- msgid "these Complianace reports"
707
+ msgid "these Compliance reports"
676
708
  msgstr ""
677
709
 
678
710
  #: ../app/views/arf_reports/index.html.erb:1
711
+ #: ../app/views/arf_reports/welcome.html.erb:5
679
712
  msgid "Compliance Reports"
680
713
  msgstr ""
681
714
 
682
- #: ../app/views/arf_reports/show.html.erb:4
683
- msgid "Reported at %s"
684
- msgstr ""
685
-
686
- #: ../app/views/arf_reports/show.html.erb:11
715
+ #: ../app/views/arf_reports/show.html.erb:14
687
716
  msgid "Back"
688
717
  msgstr ""
689
718
 
690
- #: ../app/views/arf_reports/show.html.erb:13
719
+ #: ../app/views/arf_reports/show.html.erb:16
691
720
  msgid "Host details"
692
721
  msgstr ""
693
722
 
694
- #: ../app/views/arf_reports/show.html.erb:14
723
+ #: ../app/views/arf_reports/show.html.erb:17
695
724
  msgid "View full report"
696
725
  msgstr ""
697
726
 
698
- #: ../app/views/arf_reports/show.html.erb:15
727
+ #: ../app/views/arf_reports/show.html.erb:18
699
728
  msgid "Download XML in bzip"
700
729
  msgstr ""
701
730
 
702
- #: ../app/views/arf_reports/show.html.erb:16
731
+ #: ../app/views/arf_reports/show.html.erb:19
703
732
  msgid "Download HTML"
704
733
  msgstr ""
705
734
 
@@ -707,12 +736,18 @@ msgstr ""
707
736
  msgid "Loading..."
708
737
  msgstr ""
709
738
 
710
- #: ../app/views/compliance_hosts/_compliance_status.erb:4
711
- msgid "Host compliance details"
739
+ #: ../app/views/arf_reports/welcome.html.erb:7
740
+ msgid ""
741
+ "You don't seem to have any ARF report. ARF report is a summary of a single sca"
742
+ "n occurrence on a particular host for a given Compliance Policy."
712
743
  msgstr ""
713
744
 
714
- #: ../app/views/compliance_hosts/_openscap_proxy.html.erb:3
715
- msgid "Openscap Proxy"
745
+ #: ../app/views/arf_reports/welcome.html.erb:10
746
+ msgid "Documentation"
747
+ msgstr ""
748
+
749
+ #: ../app/views/compliance_hosts/_compliance_status.erb:4
750
+ msgid "Host compliance details"
716
751
  msgstr ""
717
752
 
718
753
  #: ../app/views/compliance_hosts/show.html.erb:3
@@ -729,16 +764,16 @@ msgstr ""
729
764
  msgid "%s latest report"
730
765
  msgstr ""
731
766
 
732
- #: ../app/views/compliance_hosts/show.html.erb:19
767
+ #: ../app/views/compliance_hosts/show.html.erb:21
733
768
  msgid "%s reports over time"
734
769
  msgstr ""
735
770
 
736
- #: ../app/views/compliance_hosts/show.html.erb:25
771
+ #: ../app/views/compliance_hosts/show.html.erb:27
737
772
  msgid "No report for this policy"
738
773
  msgstr ""
739
774
 
740
775
  #: ../app/views/dashboard/_compliance_host_reports_widget.html.erb:1
741
- #: ../lib/foreman_openscap/engine.rb:143
776
+ #: ../lib/foreman_openscap/engine.rb:142
742
777
  msgid "Latest Compliance Reports"
743
778
  msgstr ""
744
779
 
@@ -755,7 +790,7 @@ msgid "Policy is missing"
755
790
  msgstr ""
756
791
 
757
792
  #: ../app/views/dashboard/_compliance_reports_breakdown_widget.html.erb:1
758
- #: ../lib/foreman_openscap/engine.rb:145
793
+ #: ../lib/foreman_openscap/engine.rb:144
759
794
  msgid "Compliance Reports Breakdown"
760
795
  msgstr ""
761
796
 
@@ -871,8 +906,7 @@ msgid "Edit"
871
906
  msgstr ""
872
907
 
873
908
  #: ../app/views/policies/_list.html.erb:39
874
- #: ../app/views/scap_contents/_list.html.erb:20
875
- msgid "Delete compliance policy %s with all the reports?"
909
+ msgid "Delete compliance policy %s with all of its reports?"
876
910
  msgstr ""
877
911
 
878
912
  #: ../app/views/policies/create.html.erb:1
@@ -992,6 +1026,10 @@ msgstr ""
992
1026
  msgid "Download"
993
1027
  msgstr ""
994
1028
 
1029
+ #: ../app/views/scap_contents/_list.html.erb:20
1030
+ msgid "Delete compliance policy %s with all the reports?"
1031
+ msgstr ""
1032
+
995
1033
  #: ../app/views/scap_contents/edit.html.erb:1
996
1034
  msgid "Edit SCAP Content"
997
1035
  msgstr ""
@@ -1098,7 +1136,7 @@ msgid "New Tailoring File"
1098
1136
  msgstr ""
1099
1137
 
1100
1138
  #: ../db/seeds.d/openscap_policy_notification.rb:1
1101
- msgid "Openscap policy summary"
1139
+ msgid "Compliance policy summary"
1102
1140
  msgstr ""
1103
1141
 
1104
1142
  #: ../db/seeds.d/openscap_policy_notification.rb:5
@@ -1117,6 +1155,18 @@ msgstr ""
1117
1155
  msgid "Reports"
1118
1156
  msgstr ""
1119
1157
 
1120
- #: ../lib/foreman_openscap/engine.rb:161 ../lib/foreman_openscap/engine.rb:169
1158
+ #: ../lib/foreman_openscap/engine.rb:160 ../lib/foreman_openscap/engine.rb:165
1159
+ msgid "OpenSCAP Proxy"
1160
+ msgstr ""
1161
+
1162
+ #: ../lib/foreman_openscap/engine.rb:161 ../lib/foreman_openscap/engine.rb:166
1163
+ msgid "OpenSCAP Proxy to use for fetching SCAP content and uploading ARF reports"
1164
+ msgstr ""
1165
+
1166
+ #: ../lib/foreman_openscap/engine.rb:162 ../lib/foreman_openscap/engine.rb:167
1167
+ msgid "ID of OpenSCAP Proxy"
1168
+ msgstr ""
1169
+
1170
+ #: ../lib/foreman_openscap/engine.rb:171 ../lib/foreman_openscap/engine.rb:179
1121
1171
  msgid "Run OpenSCAP scan"
1122
1172
  msgstr ""