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
@@ -41,8 +41,8 @@ namespace :foreman_openscap do
41
41
  require 'rubocop/rake_task'
42
42
  RuboCop::RakeTask.new(:rubocop_foreman_openscap) do |task|
43
43
  task.patterns = ["#{ForemanOpenscap::Engine.root}/app/**/*.rb",
44
- "#{ForemanOpenscap::Engine.root}/lib/**/*.rb",
45
- "#{ForemanOpenscap::Engine.root}/test/**/*.rb"]
44
+ "#{ForemanOpenscap::Engine.root}/lib/**/*.rb",
45
+ "#{ForemanOpenscap::Engine.root}/test/**/*.rb"]
46
46
  end
47
47
  rescue
48
48
  puts 'Rubocop not loaded.'
@@ -56,6 +56,15 @@ namespace :foreman_openscap do
56
56
  ForemanOpenscap::MessageCleaner.new.clean
57
57
  puts 'Done'
58
58
  end
59
+
60
+ desc "Delete ArfReports without OpenSCAP proxy"
61
+ task :clean_reports_without_proxy => :environment do
62
+ User.as_anonymous_admin do
63
+ report_ids_without_proxy = ForemanOpenscap::ArfReport.unscoped.where(:openscap_proxy => nil).pluck(:id)
64
+ total = ForemanOpenscap::ArfReport.delete report_ids_without_proxy
65
+ puts "Done cleaning #{total} reports"
66
+ end
67
+ end
59
68
  end
60
69
 
61
70
  # Tests
@@ -17,10 +17,13 @@ msgstr ""
17
17
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
18
18
  "\n"
19
19
 
20
- msgid "%s - The following compliance reports are about to be changed"
20
+ msgid " for policy %s"
21
21
  msgstr ""
22
22
 
23
- msgid "%s ago"
23
+ msgid " through %s"
24
+ msgstr ""
25
+
26
+ msgid "%s - The following compliance reports are about to be changed"
24
27
  msgstr ""
25
28
 
26
29
  msgid "%s compliance report by policy"
@@ -49,6 +52,9 @@ msgstr ""
49
52
  msgid "Apply policy to host groups"
50
53
  msgstr ""
51
54
 
55
+ msgid "Apply policy to hosts"
56
+ msgstr ""
57
+
52
58
  msgid "Assign Compliance Policy"
53
59
  msgstr ""
54
60
 
@@ -58,7 +64,10 @@ msgstr ""
58
64
  msgid "Cancel"
59
65
  msgstr ""
60
66
 
61
- msgid "Cannot generate HTML guide for %{scap_content}/%{profile}"
67
+ msgid "Cannot generate HTML guide, no valid OpenSCAP proxy server found."
68
+ msgstr ""
69
+
70
+ msgid "Cannot generate HTML guide, scap content is missing."
62
71
  msgstr ""
63
72
 
64
73
  msgid "Changed"
@@ -100,6 +109,9 @@ msgstr ""
100
109
  msgid "Compliance Status"
101
110
  msgstr ""
102
111
 
112
+ msgid "Compliance policy summary"
113
+ msgstr ""
114
+
103
115
  msgid "Compliance policy: %s"
104
116
  msgstr ""
105
117
 
@@ -151,6 +163,9 @@ msgstr ""
151
163
  msgid "Delete an ARF Report"
152
164
  msgstr ""
153
165
 
166
+ msgid "Delete compliance policy %s with all of its reports?"
167
+ msgstr ""
168
+
154
169
  msgid "Delete compliance policy %s with all the reports?"
155
170
  msgstr ""
156
171
 
@@ -163,6 +178,9 @@ msgstr ""
163
178
  msgid "Delete tailoring file %s?"
164
179
  msgstr ""
165
180
 
181
+ msgid "Deleted policy"
182
+ msgstr ""
183
+
166
184
  msgid "Deletes a Tailoring file"
167
185
  msgstr ""
168
186
 
@@ -172,6 +190,9 @@ msgstr ""
172
190
  msgid "Description"
173
191
  msgstr ""
174
192
 
193
+ msgid "Documentation"
194
+ msgstr ""
195
+
175
196
  msgid "Download"
176
197
  msgstr ""
177
198
 
@@ -226,6 +247,9 @@ msgstr ""
226
247
  msgid "Failed to downloaded ARF report in HTML: %s"
227
248
  msgstr ""
228
249
 
250
+ msgid "Failed to upload Arf Report, no OpenSCAP proxy set for host %s"
251
+ msgstr ""
252
+
229
253
  #. TRANSLATORS: initial character of Failed
230
254
  msgid "Failed|F"
231
255
  msgstr ""
@@ -275,6 +299,9 @@ msgstr ""
275
299
  msgid "Hosts Breakdown"
276
300
  msgstr ""
277
301
 
302
+ msgid "ID of OpenSCAP Proxy"
303
+ msgstr ""
304
+
278
305
  msgid "In Foreman, a compliance policy checklist is defined via %s."
279
306
  msgstr ""
280
307
 
@@ -363,7 +390,10 @@ msgstr ""
363
390
  msgid "No ARF reports for this policy"
364
391
  msgstr ""
365
392
 
366
- msgid "No OpenSCAP proxy found for %{class} with %{id}"
393
+ msgid "No OpenSCAP proxy found for %{class} with id %{id}"
394
+ msgstr ""
395
+
396
+ msgid "No Tailoring file assigned for policy with id %s"
367
397
  msgstr ""
368
398
 
369
399
  msgid "No available proxy to validate. Returned with error: %s"
@@ -384,6 +414,9 @@ msgstr ""
384
414
  msgid "No hosts were found."
385
415
  msgstr ""
386
416
 
417
+ msgid "No proxy found!"
418
+ msgstr ""
419
+
387
420
  msgid "No proxy with OpenSCAP feature is running."
388
421
  msgstr ""
389
422
 
@@ -396,9 +429,6 @@ msgstr ""
396
429
  msgid "No reports available"
397
430
  msgstr ""
398
431
 
399
- msgid "No valid OpenSCAP proxy server found."
400
- msgstr ""
401
-
402
432
  msgid "No valid policy ID provided"
403
433
  msgstr ""
404
434
 
@@ -429,10 +459,13 @@ msgstr ""
429
459
  msgid "Once SCAP content is present, you can create a policy, assign select host groups and schedule to run."
430
460
  msgstr ""
431
461
 
432
- msgid "Openscap Proxy"
462
+ msgid "OpenSCAP Proxy"
433
463
  msgstr ""
434
464
 
435
- msgid "Openscap policy summary"
465
+ msgid "OpenSCAP Proxy to use for fetching SCAP content and uploading ARF reports"
466
+ msgstr ""
467
+
468
+ msgid "Openscap Proxy"
436
469
  msgstr ""
437
470
 
438
471
  msgid "Organizations"
@@ -467,6 +500,9 @@ msgstr ""
467
500
  msgid "Policies with hosts:"
468
501
  msgstr ""
469
502
 
503
+ msgid "Policy"
504
+ msgstr ""
505
+
470
506
  msgid "Policy %s"
471
507
  msgstr ""
472
508
 
@@ -690,9 +726,6 @@ msgstr ""
690
726
  msgid "Unknown Compliance status"
691
727
  msgstr ""
692
728
 
693
- msgid "Unsupported report status format"
694
- msgstr ""
695
-
696
729
  msgid "Update a Policy"
697
730
  msgstr ""
698
731
 
@@ -753,12 +786,18 @@ msgstr ""
753
786
  msgid "You can specify custom cron line, e.g. \"0 3 * * *\", separate each of 5 values by space"
754
787
  msgstr ""
755
788
 
789
+ 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."
790
+ msgstr ""
791
+
756
792
  msgid "does not come from selected tailoring file"
757
793
  msgstr ""
758
794
 
759
795
  msgid "does not consist of 5 parts separated by space"
760
796
  msgstr ""
761
797
 
798
+ msgid "does not have the selected SCAP content profile"
799
+ msgstr ""
800
+
762
801
  msgid "invalid type %s"
763
802
  msgstr ""
764
803
 
@@ -783,5 +822,5 @@ msgstr ""
783
822
  msgid "must have Openscap feature"
784
823
  msgstr ""
785
824
 
786
- msgid "these Complianace reports"
825
+ msgid "these Compliance reports"
787
826
  msgstr ""
@@ -17,10 +17,13 @@ msgstr ""
17
17
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
18
18
  "\n"
19
19
 
20
- msgid "%s - The following compliance reports are about to be changed"
20
+ msgid " for policy %s"
21
21
  msgstr ""
22
22
 
23
- msgid "%s ago"
23
+ msgid " through %s"
24
+ msgstr ""
25
+
26
+ msgid "%s - The following compliance reports are about to be changed"
24
27
  msgstr ""
25
28
 
26
29
  msgid "%s compliance report by policy"
@@ -49,6 +52,9 @@ msgstr ""
49
52
  msgid "Apply policy to host groups"
50
53
  msgstr ""
51
54
 
55
+ msgid "Apply policy to hosts"
56
+ msgstr ""
57
+
52
58
  msgid "Assign Compliance Policy"
53
59
  msgstr ""
54
60
 
@@ -58,7 +64,10 @@ msgstr ""
58
64
  msgid "Cancel"
59
65
  msgstr ""
60
66
 
61
- msgid "Cannot generate HTML guide for %{scap_content}/%{profile}"
67
+ msgid "Cannot generate HTML guide, no valid OpenSCAP proxy server found."
68
+ msgstr ""
69
+
70
+ msgid "Cannot generate HTML guide, scap content is missing."
62
71
  msgstr ""
63
72
 
64
73
  msgid "Changed"
@@ -100,6 +109,9 @@ msgstr ""
100
109
  msgid "Compliance Status"
101
110
  msgstr ""
102
111
 
112
+ msgid "Compliance policy summary"
113
+ msgstr ""
114
+
103
115
  msgid "Compliance policy: %s"
104
116
  msgstr ""
105
117
 
@@ -151,6 +163,9 @@ msgstr ""
151
163
  msgid "Delete an ARF Report"
152
164
  msgstr ""
153
165
 
166
+ msgid "Delete compliance policy %s with all of its reports?"
167
+ msgstr ""
168
+
154
169
  msgid "Delete compliance policy %s with all the reports?"
155
170
  msgstr ""
156
171
 
@@ -163,6 +178,9 @@ msgstr ""
163
178
  msgid "Delete tailoring file %s?"
164
179
  msgstr ""
165
180
 
181
+ msgid "Deleted policy"
182
+ msgstr ""
183
+
166
184
  msgid "Deletes a Tailoring file"
167
185
  msgstr ""
168
186
 
@@ -172,6 +190,9 @@ msgstr ""
172
190
  msgid "Description"
173
191
  msgstr ""
174
192
 
193
+ msgid "Documentation"
194
+ msgstr ""
195
+
175
196
  msgid "Download"
176
197
  msgstr ""
177
198
 
@@ -226,6 +247,9 @@ msgstr ""
226
247
  msgid "Failed to downloaded ARF report in HTML: %s"
227
248
  msgstr ""
228
249
 
250
+ msgid "Failed to upload Arf Report, no OpenSCAP proxy set for host %s"
251
+ msgstr ""
252
+
229
253
  #. TRANSLATORS: initial character of Failed
230
254
  msgid "Failed|F"
231
255
  msgstr ""
@@ -275,6 +299,9 @@ msgstr ""
275
299
  msgid "Hosts Breakdown"
276
300
  msgstr ""
277
301
 
302
+ msgid "ID of OpenSCAP Proxy"
303
+ msgstr ""
304
+
278
305
  msgid "In Foreman, a compliance policy checklist is defined via %s."
279
306
  msgstr ""
280
307
 
@@ -363,7 +390,10 @@ msgstr ""
363
390
  msgid "No ARF reports for this policy"
364
391
  msgstr ""
365
392
 
366
- msgid "No OpenSCAP proxy found for %{class} with %{id}"
393
+ msgid "No OpenSCAP proxy found for %{class} with id %{id}"
394
+ msgstr ""
395
+
396
+ msgid "No Tailoring file assigned for policy with id %s"
367
397
  msgstr ""
368
398
 
369
399
  msgid "No available proxy to validate. Returned with error: %s"
@@ -384,6 +414,9 @@ msgstr ""
384
414
  msgid "No hosts were found."
385
415
  msgstr ""
386
416
 
417
+ msgid "No proxy found!"
418
+ msgstr ""
419
+
387
420
  msgid "No proxy with OpenSCAP feature is running."
388
421
  msgstr ""
389
422
 
@@ -396,9 +429,6 @@ msgstr ""
396
429
  msgid "No reports available"
397
430
  msgstr ""
398
431
 
399
- msgid "No valid OpenSCAP proxy server found."
400
- msgstr ""
401
-
402
432
  msgid "No valid policy ID provided"
403
433
  msgstr ""
404
434
 
@@ -429,10 +459,13 @@ msgstr ""
429
459
  msgid "Once SCAP content is present, you can create a policy, assign select host groups and schedule to run."
430
460
  msgstr ""
431
461
 
432
- msgid "Openscap Proxy"
462
+ msgid "OpenSCAP Proxy"
433
463
  msgstr ""
434
464
 
435
- msgid "Openscap policy summary"
465
+ msgid "OpenSCAP Proxy to use for fetching SCAP content and uploading ARF reports"
466
+ msgstr ""
467
+
468
+ msgid "Openscap Proxy"
436
469
  msgstr ""
437
470
 
438
471
  msgid "Organizations"
@@ -467,6 +500,9 @@ msgstr ""
467
500
  msgid "Policies with hosts:"
468
501
  msgstr ""
469
502
 
503
+ msgid "Policy"
504
+ msgstr ""
505
+
470
506
  msgid "Policy %s"
471
507
  msgstr ""
472
508
 
@@ -690,9 +726,6 @@ msgstr ""
690
726
  msgid "Unknown Compliance status"
691
727
  msgstr ""
692
728
 
693
- msgid "Unsupported report status format"
694
- msgstr ""
695
-
696
729
  msgid "Update a Policy"
697
730
  msgstr ""
698
731
 
@@ -753,12 +786,18 @@ msgstr ""
753
786
  msgid "You can specify custom cron line, e.g. \"0 3 * * *\", separate each of 5 values by space"
754
787
  msgstr ""
755
788
 
789
+ 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."
790
+ msgstr ""
791
+
756
792
  msgid "does not come from selected tailoring file"
757
793
  msgstr ""
758
794
 
759
795
  msgid "does not consist of 5 parts separated by space"
760
796
  msgstr ""
761
797
 
798
+ msgid "does not have the selected SCAP content profile"
799
+ msgstr ""
800
+
762
801
  msgid "invalid type %s"
763
802
  msgstr ""
764
803
 
@@ -783,5 +822,5 @@ msgstr ""
783
822
  msgid "must have Openscap feature"
784
823
  msgstr ""
785
824
 
786
- msgid "these Complianace reports"
825
+ msgid "these Compliance reports"
787
826
  msgstr ""
@@ -17,10 +17,13 @@ msgstr ""
17
17
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
18
18
  "\n"
19
19
 
20
- msgid "%s - The following compliance reports are about to be changed"
20
+ msgid " for policy %s"
21
21
  msgstr ""
22
22
 
23
- msgid "%s ago"
23
+ msgid " through %s"
24
+ msgstr ""
25
+
26
+ msgid "%s - The following compliance reports are about to be changed"
24
27
  msgstr ""
25
28
 
26
29
  msgid "%s compliance report by policy"
@@ -49,6 +52,9 @@ msgstr ""
49
52
  msgid "Apply policy to host groups"
50
53
  msgstr ""
51
54
 
55
+ msgid "Apply policy to hosts"
56
+ msgstr ""
57
+
52
58
  msgid "Assign Compliance Policy"
53
59
  msgstr ""
54
60
 
@@ -58,7 +64,10 @@ msgstr ""
58
64
  msgid "Cancel"
59
65
  msgstr ""
60
66
 
61
- msgid "Cannot generate HTML guide for %{scap_content}/%{profile}"
67
+ msgid "Cannot generate HTML guide, no valid OpenSCAP proxy server found."
68
+ msgstr ""
69
+
70
+ msgid "Cannot generate HTML guide, scap content is missing."
62
71
  msgstr ""
63
72
 
64
73
  msgid "Changed"
@@ -100,6 +109,9 @@ msgstr ""
100
109
  msgid "Compliance Status"
101
110
  msgstr ""
102
111
 
112
+ msgid "Compliance policy summary"
113
+ msgstr ""
114
+
103
115
  msgid "Compliance policy: %s"
104
116
  msgstr ""
105
117
 
@@ -151,6 +163,9 @@ msgstr ""
151
163
  msgid "Delete an ARF Report"
152
164
  msgstr ""
153
165
 
166
+ msgid "Delete compliance policy %s with all of its reports?"
167
+ msgstr ""
168
+
154
169
  msgid "Delete compliance policy %s with all the reports?"
155
170
  msgstr ""
156
171
 
@@ -163,6 +178,9 @@ msgstr ""
163
178
  msgid "Delete tailoring file %s?"
164
179
  msgstr ""
165
180
 
181
+ msgid "Deleted policy"
182
+ msgstr ""
183
+
166
184
  msgid "Deletes a Tailoring file"
167
185
  msgstr ""
168
186
 
@@ -172,6 +190,9 @@ msgstr ""
172
190
  msgid "Description"
173
191
  msgstr ""
174
192
 
193
+ msgid "Documentation"
194
+ msgstr ""
195
+
175
196
  msgid "Download"
176
197
  msgstr ""
177
198
 
@@ -226,6 +247,9 @@ msgstr ""
226
247
  msgid "Failed to downloaded ARF report in HTML: %s"
227
248
  msgstr ""
228
249
 
250
+ msgid "Failed to upload Arf Report, no OpenSCAP proxy set for host %s"
251
+ msgstr ""
252
+
229
253
  #. TRANSLATORS: initial character of Failed
230
254
  msgid "Failed|F"
231
255
  msgstr ""
@@ -275,6 +299,9 @@ msgstr ""
275
299
  msgid "Hosts Breakdown"
276
300
  msgstr ""
277
301
 
302
+ msgid "ID of OpenSCAP Proxy"
303
+ msgstr ""
304
+
278
305
  msgid "In Foreman, a compliance policy checklist is defined via %s."
279
306
  msgstr ""
280
307
 
@@ -363,7 +390,10 @@ msgstr ""
363
390
  msgid "No ARF reports for this policy"
364
391
  msgstr ""
365
392
 
366
- msgid "No OpenSCAP proxy found for %{class} with %{id}"
393
+ msgid "No OpenSCAP proxy found for %{class} with id %{id}"
394
+ msgstr ""
395
+
396
+ msgid "No Tailoring file assigned for policy with id %s"
367
397
  msgstr ""
368
398
 
369
399
  msgid "No available proxy to validate. Returned with error: %s"
@@ -384,6 +414,9 @@ msgstr ""
384
414
  msgid "No hosts were found."
385
415
  msgstr ""
386
416
 
417
+ msgid "No proxy found!"
418
+ msgstr ""
419
+
387
420
  msgid "No proxy with OpenSCAP feature is running."
388
421
  msgstr ""
389
422
 
@@ -396,9 +429,6 @@ msgstr ""
396
429
  msgid "No reports available"
397
430
  msgstr ""
398
431
 
399
- msgid "No valid OpenSCAP proxy server found."
400
- msgstr ""
401
-
402
432
  msgid "No valid policy ID provided"
403
433
  msgstr ""
404
434
 
@@ -429,10 +459,13 @@ msgstr ""
429
459
  msgid "Once SCAP content is present, you can create a policy, assign select host groups and schedule to run."
430
460
  msgstr ""
431
461
 
432
- msgid "Openscap Proxy"
462
+ msgid "OpenSCAP Proxy"
433
463
  msgstr ""
434
464
 
435
- msgid "Openscap policy summary"
465
+ msgid "OpenSCAP Proxy to use for fetching SCAP content and uploading ARF reports"
466
+ msgstr ""
467
+
468
+ msgid "Openscap Proxy"
436
469
  msgstr ""
437
470
 
438
471
  msgid "Organizations"
@@ -467,6 +500,9 @@ msgstr ""
467
500
  msgid "Policies with hosts:"
468
501
  msgstr ""
469
502
 
503
+ msgid "Policy"
504
+ msgstr ""
505
+
470
506
  msgid "Policy %s"
471
507
  msgstr ""
472
508
 
@@ -690,9 +726,6 @@ msgstr ""
690
726
  msgid "Unknown Compliance status"
691
727
  msgstr ""
692
728
 
693
- msgid "Unsupported report status format"
694
- msgstr ""
695
-
696
729
  msgid "Update a Policy"
697
730
  msgstr ""
698
731
 
@@ -753,12 +786,18 @@ msgstr ""
753
786
  msgid "You can specify custom cron line, e.g. \"0 3 * * *\", separate each of 5 values by space"
754
787
  msgstr ""
755
788
 
789
+ 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."
790
+ msgstr ""
791
+
756
792
  msgid "does not come from selected tailoring file"
757
793
  msgstr ""
758
794
 
759
795
  msgid "does not consist of 5 parts separated by space"
760
796
  msgstr ""
761
797
 
798
+ msgid "does not have the selected SCAP content profile"
799
+ msgstr ""
800
+
762
801
  msgid "invalid type %s"
763
802
  msgstr ""
764
803
 
@@ -783,5 +822,5 @@ msgstr ""
783
822
  msgid "must have Openscap feature"
784
823
  msgstr ""
785
824
 
786
- msgid "these Complianace reports"
825
+ msgid "these Compliance reports"
787
826
  msgstr ""