foreman_openscap 1.0.10 → 3.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. checksums.yaml +5 -5
  2. data/app/controllers/api/v2/compliance/arf_reports_controller.rb +11 -3
  3. data/app/controllers/api/v2/compliance/policies_controller.rb +2 -9
  4. data/app/controllers/api/v2/compliance/scap_content_profiles_controller.rb +15 -0
  5. data/app/controllers/api/v2/compliance/scap_contents_controller.rb +2 -8
  6. data/app/controllers/api/v2/compliance/tailoring_files_controller.rb +2 -8
  7. data/app/controllers/concerns/foreman_openscap/api/v2/scap_api_controller_extensions.rb +9 -0
  8. data/app/controllers/policies_controller.rb +1 -1
  9. data/app/helpers/compliance_hosts_helper.rb +23 -0
  10. data/app/helpers/concerns/foreman_openscap/hosts_helper_extensions.rb +0 -6
  11. data/app/models/concerns/foreman_openscap/host_extensions.rb +1 -1
  12. data/app/models/concerns/foreman_openscap/smart_proxy_extensions.rb +1 -1
  13. data/app/models/foreman_openscap/policy.rb +12 -0
  14. data/app/models/foreman_openscap/scap_content_profile.rb +3 -0
  15. data/app/services/foreman_openscap/lookup_key_overrider.rb +3 -2
  16. data/app/views/api/v2/compliance/scap_content_profiles/base.json.rabl +3 -0
  17. data/app/views/api/v2/compliance/scap_content_profiles/index.json.rabl +3 -0
  18. data/app/views/api/v2/compliance/scap_content_profiles/main.json.rabl +9 -0
  19. data/app/views/arf_reports/_list.html.erb +1 -1
  20. data/app/views/arf_reports/welcome.html.erb +2 -0
  21. data/app/views/hosts/select_multiple_openscap_proxy.html.erb +1 -1
  22. data/app/views/policies/disassociate_multiple_hosts.html.erb +1 -1
  23. data/app/views/policies/select_multiple_hosts.html.erb +1 -1
  24. data/config/routes.rb +2 -0
  25. data/db/migrate/20150929152345_move_arf_reports_to_reports_table.rb +0 -2
  26. data/db/migrate/20200117135424_migrate_port_overrides_to_int.rb +24 -0
  27. data/lib/foreman_openscap/engine.rb +15 -10
  28. data/lib/foreman_openscap/helper.rb +1 -1
  29. data/lib/foreman_openscap/version.rb +1 -1
  30. data/locale/action_names.rb +1 -1
  31. data/locale/de/LC_MESSAGES/foreman_openscap.mo +0 -0
  32. data/locale/de/foreman_openscap.po +244 -241
  33. data/locale/en_GB/LC_MESSAGES/foreman_openscap.mo +0 -0
  34. data/locale/en_GB/foreman_openscap.po +38 -38
  35. data/locale/es/LC_MESSAGES/foreman_openscap.mo +0 -0
  36. data/locale/es/foreman_openscap.po +285 -283
  37. data/locale/foreman_openscap.pot +119 -120
  38. data/locale/fr/LC_MESSAGES/foreman_openscap.mo +0 -0
  39. data/locale/fr/foreman_openscap.po +292 -284
  40. data/locale/gl/LC_MESSAGES/foreman_openscap.mo +0 -0
  41. data/locale/gl/foreman_openscap.po +49 -49
  42. data/locale/it/LC_MESSAGES/foreman_openscap.mo +0 -0
  43. data/locale/it/foreman_openscap.po +74 -73
  44. data/locale/ja/LC_MESSAGES/foreman_openscap.mo +0 -0
  45. data/locale/ja/foreman_openscap.po +284 -282
  46. data/locale/ko/LC_MESSAGES/foreman_openscap.mo +0 -0
  47. data/locale/ko/foreman_openscap.po +155 -155
  48. data/locale/pt_BR/LC_MESSAGES/foreman_openscap.mo +0 -0
  49. data/locale/pt_BR/foreman_openscap.po +287 -280
  50. data/locale/ru/LC_MESSAGES/foreman_openscap.mo +0 -0
  51. data/locale/ru/foreman_openscap.po +163 -160
  52. data/locale/sv_SE/LC_MESSAGES/foreman_openscap.mo +0 -0
  53. data/locale/sv_SE/foreman_openscap.po +49 -49
  54. data/locale/zh_CN/LC_MESSAGES/foreman_openscap.mo +0 -0
  55. data/locale/zh_CN/foreman_openscap.po +284 -281
  56. data/locale/zh_TW/LC_MESSAGES/foreman_openscap.mo +0 -0
  57. data/locale/zh_TW/foreman_openscap.po +151 -150
  58. data/test/functional/api/v2/compliance/arf_reports_controller_test.rb +0 -3
  59. data/test/functional/api/v2/compliance/scap_content_profiles_controller_test.rb +15 -0
  60. data/test/test_plugin_helper.rb +2 -2
  61. data/test/unit/concerns/host_extensions_test.rb +7 -0
  62. data/test/unit/policy_test.rb +19 -0
  63. metadata +24 -32
  64. data/app/overrides/hosts/overview/host_compliance_status.rb +0 -4
  65. data/app/views/compliance_hosts/_compliance_status.erb +0 -6
  66. data/locale/de/foreman_openscap.edit.po +0 -0
  67. data/locale/en_GB/foreman_openscap.edit.po +0 -0
  68. data/locale/es/foreman_openscap.edit.po +0 -0
  69. data/locale/fr/foreman_openscap.edit.po +0 -0
  70. data/locale/gl/foreman_openscap.edit.po +0 -0
  71. data/locale/it/foreman_openscap.edit.po +0 -0
  72. data/locale/ja/foreman_openscap.edit.po +0 -0
  73. data/locale/ko/foreman_openscap.edit.po +0 -0
  74. data/locale/pt_BR/foreman_openscap.edit.po +0 -0
  75. data/locale/ru/foreman_openscap.edit.po +0 -0
  76. data/locale/sv_SE/foreman_openscap.edit.po +0 -0
  77. data/locale/zh_CN/foreman_openscap.edit.po +0 -0
  78. data/locale/zh_TW/foreman_openscap.edit.po +0 -0
@@ -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: 2019-09-05 16:51+0200\n"
12
- "PO-Revision-Date: 2019-09-05 16:51+0200\n"
11
+ "POT-Creation-Date: 2020-03-02 13:32+0000\n"
12
+ "PO-Revision-Date: 2020-03-02 13:32+0000\n"
13
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
15
  "Language: \n"
@@ -60,156 +60,160 @@ msgstr ""
60
60
  msgid "No proxy found for %{name} or %{url}"
61
61
  msgstr ""
62
62
 
63
- #: ../app/controllers/api/v2/compliance/policies_controller.rb:25
63
+ #: ../app/controllers/api/v2/compliance/policies_controller.rb:18
64
64
  msgid "List Policies"
65
65
  msgstr ""
66
66
 
67
- #: ../app/controllers/api/v2/compliance/policies_controller.rb:33
67
+ #: ../app/controllers/api/v2/compliance/policies_controller.rb:26
68
68
  msgid "Show a Policy"
69
69
  msgstr ""
70
70
 
71
- #: ../app/controllers/api/v2/compliance/policies_controller.rb:41
71
+ #: ../app/controllers/api/v2/compliance/policies_controller.rb:34
72
72
  msgid "Policy name"
73
73
  msgstr ""
74
74
 
75
- #: ../app/controllers/api/v2/compliance/policies_controller.rb:42
75
+ #: ../app/controllers/api/v2/compliance/policies_controller.rb:35
76
76
  msgid "Policy description"
77
77
  msgstr ""
78
78
 
79
- #: ../app/controllers/api/v2/compliance/policies_controller.rb:43
79
+ #: ../app/controllers/api/v2/compliance/policies_controller.rb:36
80
80
  msgid "Policy SCAP content ID"
81
81
  msgstr ""
82
82
 
83
- #: ../app/controllers/api/v2/compliance/policies_controller.rb:44
83
+ #: ../app/controllers/api/v2/compliance/policies_controller.rb:37
84
84
  msgid "Policy SCAP content profile ID"
85
85
  msgstr ""
86
86
 
87
- #: ../app/controllers/api/v2/compliance/policies_controller.rb:45
87
+ #: ../app/controllers/api/v2/compliance/policies_controller.rb:38
88
88
  msgid "Policy schedule period (weekly, monthly, custom)"
89
89
  msgstr ""
90
90
 
91
- #: ../app/controllers/api/v2/compliance/policies_controller.rb:46
91
+ #: ../app/controllers/api/v2/compliance/policies_controller.rb:39
92
92
  msgid "Policy schedule weekday (only if period == \"weekly\")"
93
93
  msgstr ""
94
94
 
95
- #: ../app/controllers/api/v2/compliance/policies_controller.rb:47
95
+ #: ../app/controllers/api/v2/compliance/policies_controller.rb:40
96
96
  msgid "Policy schedule day of month (only if period == \"monthly\")"
97
97
  msgstr ""
98
98
 
99
- #: ../app/controllers/api/v2/compliance/policies_controller.rb:48
99
+ #: ../app/controllers/api/v2/compliance/policies_controller.rb:41
100
100
  msgid "Policy schedule cron line (only if period == \"custom\")"
101
101
  msgstr ""
102
102
 
103
- #: ../app/controllers/api/v2/compliance/policies_controller.rb:49
103
+ #: ../app/controllers/api/v2/compliance/policies_controller.rb:42
104
104
  msgid "Apply policy to host groups"
105
105
  msgstr ""
106
106
 
107
- #: ../app/controllers/api/v2/compliance/policies_controller.rb:50
107
+ #: ../app/controllers/api/v2/compliance/policies_controller.rb:43
108
108
  msgid "Apply policy to hosts"
109
109
  msgstr ""
110
110
 
111
- #: ../app/controllers/api/v2/compliance/policies_controller.rb:51
111
+ #: ../app/controllers/api/v2/compliance/policies_controller.rb:44
112
112
  msgid "Tailoring file ID"
113
113
  msgstr ""
114
114
 
115
- #: ../app/controllers/api/v2/compliance/policies_controller.rb:52
115
+ #: ../app/controllers/api/v2/compliance/policies_controller.rb:45
116
116
  msgid "Tailoring file profile ID"
117
117
  msgstr ""
118
118
 
119
- #: ../app/controllers/api/v2/compliance/policies_controller.rb:53
119
+ #: ../app/controllers/api/v2/compliance/policies_controller.rb:46
120
120
  msgid "How the policy should be deployed"
121
121
  msgstr ""
122
122
 
123
- #: ../app/controllers/api/v2/compliance/policies_controller.rb:58
123
+ #: ../app/controllers/api/v2/compliance/policies_controller.rb:51
124
124
  msgid "Create a Policy"
125
125
  msgstr ""
126
126
 
127
- #: ../app/controllers/api/v2/compliance/policies_controller.rb:67
127
+ #: ../app/controllers/api/v2/compliance/policies_controller.rb:60
128
128
  msgid "Update a Policy"
129
129
  msgstr ""
130
130
 
131
- #: ../app/controllers/api/v2/compliance/policies_controller.rb:75
131
+ #: ../app/controllers/api/v2/compliance/policies_controller.rb:68
132
132
  msgid "Delete a Policy"
133
133
  msgstr ""
134
134
 
135
- #: ../app/controllers/api/v2/compliance/policies_controller.rb:82
135
+ #: ../app/controllers/api/v2/compliance/policies_controller.rb:75
136
136
  msgid "Show a policy's SCAP content"
137
137
  msgstr ""
138
138
 
139
- #: ../app/controllers/api/v2/compliance/policies_controller.rb:92
139
+ #: ../app/controllers/api/v2/compliance/policies_controller.rb:85
140
140
  msgid "Show a policy's Tailoring file"
141
141
  msgstr ""
142
142
 
143
- #: ../app/controllers/api/v2/compliance/policies_controller.rb:102
143
+ #: ../app/controllers/api/v2/compliance/policies_controller.rb:95
144
144
  msgid "No Tailoring file assigned for policy with id %s"
145
145
  msgstr ""
146
146
 
147
- #: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:16
147
+ #: ../app/controllers/api/v2/compliance/scap_content_profiles_controller.rb:6
148
+ msgid "List SCAP content profiles"
149
+ msgstr ""
150
+
151
+ #: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:10
148
152
  msgid "List SCAP contents"
149
153
  msgstr ""
150
154
 
151
- #: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:24
155
+ #: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:18
152
156
  msgid "Download an SCAP content as XML"
153
157
  msgstr ""
154
158
 
155
- #: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:33
159
+ #: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:27
156
160
  msgid "Show an SCAP content"
157
161
  msgstr ""
158
162
 
159
- #: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:40
163
+ #: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:34
160
164
  msgid "SCAP content name"
161
165
  msgstr ""
162
166
 
163
- #: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:41
167
+ #: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:35
164
168
  msgid "XML containing SCAP content"
165
169
  msgstr ""
166
170
 
167
- #: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:42
168
- #: ../app/controllers/api/v2/compliance/tailoring_files_controller.rb:43
171
+ #: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:36
172
+ #: ../app/controllers/api/v2/compliance/tailoring_files_controller.rb:37
169
173
  msgid "Original file name of the XML file"
170
174
  msgstr ""
171
175
 
172
- #: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:47
176
+ #: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:41
173
177
  msgid "Create SCAP content"
174
178
  msgstr ""
175
179
 
176
- #: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:55
180
+ #: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:49
177
181
  msgid "Update an SCAP content"
178
182
  msgstr ""
179
183
 
180
- #: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:63
184
+ #: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:57
181
185
  msgid "Deletes an SCAP content"
182
186
  msgstr ""
183
187
 
184
- #: ../app/controllers/api/v2/compliance/tailoring_files_controller.rb:17
188
+ #: ../app/controllers/api/v2/compliance/tailoring_files_controller.rb:11
185
189
  msgid "List Tailoring files"
186
190
  msgstr ""
187
191
 
188
- #: ../app/controllers/api/v2/compliance/tailoring_files_controller.rb:25
192
+ #: ../app/controllers/api/v2/compliance/tailoring_files_controller.rb:19
189
193
  msgid "Download a Tailoring file as XML"
190
194
  msgstr ""
191
195
 
192
- #: ../app/controllers/api/v2/compliance/tailoring_files_controller.rb:34
196
+ #: ../app/controllers/api/v2/compliance/tailoring_files_controller.rb:28
193
197
  msgid "Show a Tailoring file"
194
198
  msgstr ""
195
199
 
196
- #: ../app/controllers/api/v2/compliance/tailoring_files_controller.rb:41
200
+ #: ../app/controllers/api/v2/compliance/tailoring_files_controller.rb:35
197
201
  msgid "Tailoring file name"
198
202
  msgstr ""
199
203
 
200
- #: ../app/controllers/api/v2/compliance/tailoring_files_controller.rb:42
204
+ #: ../app/controllers/api/v2/compliance/tailoring_files_controller.rb:36
201
205
  msgid "XML containing tailoring file"
202
206
  msgstr ""
203
207
 
204
- #: ../app/controllers/api/v2/compliance/tailoring_files_controller.rb:48
208
+ #: ../app/controllers/api/v2/compliance/tailoring_files_controller.rb:42
205
209
  msgid "Create a Tailoring file"
206
210
  msgstr ""
207
211
 
208
- #: ../app/controllers/api/v2/compliance/tailoring_files_controller.rb:56
212
+ #: ../app/controllers/api/v2/compliance/tailoring_files_controller.rb:50
209
213
  msgid "Update a Tailoring file"
210
214
  msgstr ""
211
215
 
212
- #: ../app/controllers/api/v2/compliance/tailoring_files_controller.rb:64
216
+ #: ../app/controllers/api/v2/compliance/tailoring_files_controller.rb:58
213
217
  msgid "Deletes a Tailoring file"
214
218
  msgstr ""
215
219
 
@@ -297,35 +301,37 @@ msgstr ""
297
301
  msgid "Something went wrong while selecting hosts - %s"
298
302
  msgstr ""
299
303
 
300
- #: ../app/helpers/arf_report_dashboard_helper.rb:10
304
+ #: ../app/helpers/arf_report_dashboard_helper.rb:18
301
305
  #: ../app/helpers/compliance_dashboard_helper.rb:8
302
- #: ../app/helpers/compliance_hosts_helper.rb:5
303
- #: ../app/helpers/compliance_hosts_helper.rb:22
306
+ #: ../app/helpers/compliance_hosts_helper.rb:15
304
307
  #: ../app/views/arf_reports/_list.html.erb:11
305
308
  #: ../app/views/foreman_openscap/policy_mailer/_hosts.erb:11
306
309
  #: ../app/views/policy_dashboard/_policy_reports.html.erb:10
307
310
  msgid "Failed"
308
311
  msgstr ""
309
312
 
310
- #: ../app/helpers/arf_report_dashboard_helper.rb:11
313
+ #: ../app/helpers/arf_report_dashboard_helper.rb:19
311
314
  #: ../app/helpers/compliance_dashboard_helper.rb:6
312
- #: ../app/helpers/compliance_hosts_helper.rb:4
313
- #: ../app/helpers/compliance_hosts_helper.rb:21
315
+ #: ../app/helpers/compliance_hosts_helper.rb:14
314
316
  #: ../app/views/arf_reports/_list.html.erb:10
315
317
  #: ../app/views/foreman_openscap/policy_mailer/_hosts.erb:8
316
318
  #: ../app/views/policy_dashboard/_policy_reports.html.erb:9
317
319
  msgid "Passed"
318
320
  msgstr ""
319
321
 
320
- #: ../app/helpers/arf_report_dashboard_helper.rb:12
321
- #: ../app/helpers/compliance_dashboard_helper.rb:10
322
- #: ../app/helpers/compliance_hosts_helper.rb:23
323
- msgid "Othered"
322
+ #: ../app/helpers/arf_report_dashboard_helper.rb:20
323
+ #: ../app/views/arf_reports/_list.html.erb:12
324
+ #: ../app/views/foreman_openscap/policy_mailer/_hosts.erb:14
325
+ #: ../app/views/policy_dashboard/_policy_reports.html.erb:11
326
+ msgid "Other"
324
327
  msgstr ""
325
328
 
326
- #: ../app/helpers/arf_report_dashboard_helper.rb:15
327
- #: ../app/helpers/compliance_hosts_helper.rb:9
328
- msgid "Compliance reports breakdown"
329
+ #: ../app/helpers/arf_report_dashboard_helper.rb:28
330
+ msgid "Number of Events"
331
+ msgstr ""
332
+
333
+ #: ../app/helpers/arf_report_dashboard_helper.rb:29
334
+ msgid "Rule Results"
329
335
  msgstr ""
330
336
 
331
337
  #: ../app/helpers/arf_reports_helper.rb:10
@@ -346,7 +352,8 @@ msgstr ""
346
352
 
347
353
  #: ../app/helpers/arf_reports_helper.rb:21
348
354
  #: ../app/views/arf_reports/index.html.erb:1
349
- #: ../app/views/arf_reports/welcome.html.erb:5
355
+ #: ../app/views/arf_reports/welcome.html.erb:1
356
+ #: ../app/views/arf_reports/welcome.html.erb:7
350
357
  msgid "Compliance Reports"
351
358
  msgstr ""
352
359
 
@@ -390,6 +397,17 @@ msgstr ""
390
397
  msgid "Hosts othering this rule"
391
398
  msgstr ""
392
399
 
400
+ #: ../app/helpers/compliance_dashboard_helper.rb:3
401
+ #: ../app/views/arf_reports/delete_multiple.html.erb:7
402
+ #: ../app/views/policy_dashboard/_policy_reports.html.erb:6
403
+ msgid "Host"
404
+ msgstr ""
405
+
406
+ #: ../app/helpers/compliance_dashboard_helper.rb:4
407
+ #: ../app/views/arf_reports/_list.html.erb:8
408
+ msgid "Policy"
409
+ msgstr ""
410
+
393
411
  #. TRANSLATORS: initial character of Passed
394
412
  #: ../app/helpers/compliance_dashboard_helper.rb:6
395
413
  msgid "Passed|P"
@@ -405,26 +423,34 @@ msgstr ""
405
423
  msgid "Othered|O"
406
424
  msgstr ""
407
425
 
408
- #: ../app/helpers/compliance_hosts_helper.rb:6
409
- #: ../app/views/arf_reports/_list.html.erb:12
410
- #: ../app/views/foreman_openscap/policy_mailer/_hosts.erb:14
411
- #: ../app/views/policy_dashboard/_policy_reports.html.erb:11
412
- msgid "Other"
426
+ #: ../app/helpers/compliance_dashboard_helper.rb:10
427
+ #: ../app/helpers/compliance_hosts_helper.rb:16
428
+ msgid "Othered"
413
429
  msgstr ""
414
430
 
415
- #: ../app/helpers/concerns/foreman_openscap/hosts_helper_extensions.rb:4
431
+ #: ../app/helpers/compliance_hosts_helper.rb:24
416
432
  msgid "Assign Compliance Policy"
417
433
  msgstr ""
418
434
 
419
- #: ../app/helpers/concerns/foreman_openscap/hosts_helper_extensions.rb:5
435
+ #: ../app/helpers/compliance_hosts_helper.rb:25
420
436
  msgid "Unassign Compliance Policy"
421
437
  msgstr ""
422
438
 
423
- #: ../app/helpers/concerns/foreman_openscap/hosts_helper_extensions.rb:6
439
+ #: ../app/helpers/compliance_hosts_helper.rb:26
424
440
  msgid "Change OpenSCAP Proxy"
425
441
  msgstr ""
426
442
 
427
- #: ../app/helpers/concerns/foreman_openscap/hosts_helper_extensions.rb:10
443
+ #: ../app/helpers/compliance_hosts_helper.rb:35
444
+ #: ../app/models/foreman_openscap/compliance_status.rb:8
445
+ #: ../lib/foreman_openscap/engine.rb:138
446
+ msgid "Compliance"
447
+ msgstr ""
448
+
449
+ #: ../app/helpers/compliance_hosts_helper.rb:37
450
+ msgid "Host compliance details"
451
+ msgstr ""
452
+
453
+ #: ../app/helpers/concerns/foreman_openscap/hosts_helper_extensions.rb:4
428
454
  msgid "Host is deleted"
429
455
  msgstr ""
430
456
 
@@ -437,7 +463,7 @@ msgid "Choose existing SCAP Content"
437
463
  msgstr ""
438
464
 
439
465
  #: ../app/helpers/policies_helper.rb:57 ../app/helpers/policies_helper.rb:62
440
- #: ../app/models/foreman_openscap/policy.rb:100
466
+ #: ../app/models/foreman_openscap/policy.rb:111
441
467
  #: ../app/views/policies/_form.html.erb:10
442
468
  #: ../app/views/scap_contents/welcome.html.erb:1
443
469
  #: ../app/views/scap_contents/welcome.html.erb:6
@@ -499,10 +525,6 @@ msgstr ""
499
525
  msgid "Not audited"
500
526
  msgstr ""
501
527
 
502
- #: ../app/helpers/policy_dashboard_helper.rb:17
503
- msgid "Compliance Status"
504
- msgstr ""
505
-
506
528
  #: ../app/helpers/policy_dashboard_helper.rb:41
507
529
  msgid "Host is assigned to policy"
508
530
  msgstr ""
@@ -559,12 +581,6 @@ msgstr ""
559
581
  msgid "No OpenSCAP proxy found for %{class} with id %{id}"
560
582
  msgstr ""
561
583
 
562
- #: ../app/models/foreman_openscap/compliance_status.rb:8
563
- #: ../app/views/compliance_hosts/_compliance_status.erb:2
564
- #: ../lib/foreman_openscap/engine.rb:138
565
- msgid "Compliance"
566
- msgstr ""
567
-
568
584
  #: ../app/models/foreman_openscap/compliance_status.rb:18
569
585
  #: ../app/views/foreman_openscap/policy_mailer/_dashboard.erb:13
570
586
  msgid "Compliant"
@@ -580,7 +596,7 @@ msgid "Unknown Compliance status"
580
596
  msgstr ""
581
597
 
582
598
  #: ../app/models/foreman_openscap/policy.rb:31
583
- #: ../app/models/foreman_openscap/policy.rb:262
599
+ #: ../app/models/foreman_openscap/policy.rb:273
584
600
  msgid "is not a valid value"
585
601
  msgstr ""
586
602
 
@@ -592,63 +608,63 @@ msgstr ""
592
608
  msgid "Cannot generate HTML guide, no valid OpenSCAP proxy server found."
593
609
  msgstr ""
594
610
 
595
- #: ../app/models/foreman_openscap/policy.rb:100
611
+ #: ../app/models/foreman_openscap/policy.rb:111
596
612
  #: ../app/views/policies/_form.html.erb:8
597
613
  msgid "Deployment Options"
598
614
  msgstr ""
599
615
 
600
- #: ../app/models/foreman_openscap/policy.rb:100
616
+ #: ../app/models/foreman_openscap/policy.rb:111
601
617
  msgid "Policy Attributes"
602
618
  msgstr ""
603
619
 
604
- #: ../app/models/foreman_openscap/policy.rb:100
620
+ #: ../app/models/foreman_openscap/policy.rb:111
605
621
  #: ../app/views/policies/_form.html.erb:11
606
622
  msgid "Schedule"
607
623
  msgstr ""
608
624
 
609
- #: ../app/models/foreman_openscap/policy.rb:101
625
+ #: ../app/models/foreman_openscap/policy.rb:112
610
626
  #: ../app/views/policies/_form.html.erb:13
611
627
  #: ../app/views/scap_contents/_form.html.erb:11
612
628
  #: ../app/views/tailoring_files/_form.html.erb:11
613
629
  msgid "Locations"
614
630
  msgstr ""
615
631
 
616
- #: ../app/models/foreman_openscap/policy.rb:102
632
+ #: ../app/models/foreman_openscap/policy.rb:113
617
633
  #: ../app/views/policies/_form.html.erb:16
618
634
  #: ../app/views/scap_contents/_form.html.erb:14
619
635
  #: ../app/views/tailoring_files/_form.html.erb:14
620
636
  msgid "Organizations"
621
637
  msgstr ""
622
638
 
623
- #: ../app/models/foreman_openscap/policy.rb:103
639
+ #: ../app/models/foreman_openscap/policy.rb:114
624
640
  msgid "Hostgroups"
625
641
  msgstr ""
626
642
 
627
- #: ../app/models/foreman_openscap/policy.rb:256
643
+ #: ../app/models/foreman_openscap/policy.rb:267
628
644
  msgid "does not consist of 5 parts separated by space"
629
645
  msgstr ""
630
646
 
631
- #: ../app/models/foreman_openscap/policy.rb:268
647
+ #: ../app/models/foreman_openscap/policy.rb:279
632
648
  msgid "must be between 1 and 31"
633
649
  msgstr ""
634
650
 
635
- #: ../app/models/foreman_openscap/policy.rb:273
651
+ #: ../app/models/foreman_openscap/policy.rb:284
636
652
  msgid "must be present when tailoring file profile present"
637
653
  msgstr ""
638
654
 
639
- #: ../app/models/foreman_openscap/policy.rb:274
655
+ #: ../app/models/foreman_openscap/policy.rb:285
640
656
  msgid "must be present when tailoring file present"
641
657
  msgstr ""
642
658
 
643
- #: ../app/models/foreman_openscap/policy.rb:279
659
+ #: ../app/models/foreman_openscap/policy.rb:290
644
660
  msgid "does not come from selected tailoring file"
645
661
  msgstr ""
646
662
 
647
- #: ../app/models/foreman_openscap/policy.rb:285
663
+ #: ../app/models/foreman_openscap/policy.rb:296
648
664
  msgid "does not have the selected SCAP content profile"
649
665
  msgstr ""
650
666
 
651
- #: ../app/models/foreman_openscap/policy.rb:316
667
+ #: ../app/models/foreman_openscap/policy.rb:328
652
668
  msgid ""
653
669
  "cannot assign to %s, all assigned policies must be deployed in the same way, c"
654
670
  "heck 'deploy by' for each assigned policy"
@@ -692,7 +708,7 @@ msgid ""
692
708
  "re they are imported before proceeding."
693
709
  msgstr ""
694
710
 
695
- #: ../app/services/foreman_openscap/lookup_key_overrider.rb:89
711
+ #: ../app/services/foreman_openscap/lookup_key_overrider.rb:90
696
712
  msgid "Failed to save when overriding parameters for %{config_tool}, cause: %{errors}"
697
713
  msgstr ""
698
714
 
@@ -755,10 +771,6 @@ msgstr ""
755
771
  msgid "Reported At"
756
772
  msgstr ""
757
773
 
758
- #: ../app/views/arf_reports/_list.html.erb:8
759
- msgid "Policy"
760
- msgstr ""
761
-
762
774
  #: ../app/views/arf_reports/_list.html.erb:9
763
775
  msgid "Openscap Proxy"
764
776
  msgstr ""
@@ -788,19 +800,15 @@ msgstr ""
788
800
  msgid "Please Confirm"
789
801
  msgstr ""
790
802
 
791
- #: ../app/views/arf_reports/_metrics.html.erb:4
803
+ #: ../app/views/arf_reports/_metrics.html.erb:6
792
804
  msgid "Report Metrics"
793
805
  msgstr ""
794
806
 
795
- #: ../app/views/arf_reports/_metrics.html.erb:12
796
- msgid "Report Status"
797
- msgstr ""
798
-
799
807
  #: ../app/views/arf_reports/_metrics.html.erb:13
800
- msgid "Number of Events"
808
+ msgid "Report Status"
801
809
  msgstr ""
802
810
 
803
- #: ../app/views/arf_reports/_metrics.html.erb:32
811
+ #: ../app/views/arf_reports/_metrics.html.erb:34
804
812
  msgid "Total"
805
813
  msgstr ""
806
814
 
@@ -824,11 +832,6 @@ msgstr ""
824
832
  msgid "Nothing to show"
825
833
  msgstr ""
826
834
 
827
- #: ../app/views/arf_reports/delete_multiple.html.erb:7
828
- #: ../app/views/policy_dashboard/_policy_reports.html.erb:6
829
- msgid "Host"
830
- msgstr ""
831
-
832
835
  #: ../app/views/arf_reports/delete_multiple.html.erb:27
833
836
  msgid "Delete"
834
837
  msgstr ""
@@ -861,47 +864,43 @@ msgstr ""
861
864
  msgid "Loading..."
862
865
  msgstr ""
863
866
 
864
- #: ../app/views/arf_reports/welcome.html.erb:7
867
+ #: ../app/views/arf_reports/welcome.html.erb:9
865
868
  msgid ""
866
869
  "You don't seem to have any ARF report. ARF report is a summary of a single sca"
867
870
  "n occurrence on a particular host for a given Compliance Policy."
868
871
  msgstr ""
869
872
 
870
- #: ../app/views/arf_reports/welcome.html.erb:10
873
+ #: ../app/views/arf_reports/welcome.html.erb:12
871
874
  msgid "Documentation"
872
875
  msgstr ""
873
876
 
874
- #: ../app/views/compliance_hosts/_compliance_status.erb:4
875
- msgid "Host compliance details"
876
- msgstr ""
877
-
878
- #: ../app/views/compliance_hosts/show.html.erb:8
877
+ #: ../app/views/compliance_hosts/show.html.erb:9
879
878
  msgid "Compliance Hosts"
880
879
  msgstr ""
881
880
 
882
- #: ../app/views/compliance_hosts/show.html.erb:10
881
+ #: ../app/views/compliance_hosts/show.html.erb:11
883
882
  msgid "%s compliance reports by policy"
884
883
  msgstr ""
885
884
 
886
- #: ../app/views/compliance_hosts/show.html.erb:14
885
+ #: ../app/views/compliance_hosts/show.html.erb:15
887
886
  msgid "%s compliance report by policy"
888
887
  msgid_plural "%s compliance reports by policy"
889
888
  msgstr[0] ""
890
889
  msgstr[1] ""
891
890
 
892
- #: ../app/views/compliance_hosts/show.html.erb:16
891
+ #: ../app/views/compliance_hosts/show.html.erb:17
893
892
  msgid "Policy %s"
894
893
  msgstr ""
895
894
 
896
- #: ../app/views/compliance_hosts/show.html.erb:22
895
+ #: ../app/views/compliance_hosts/show.html.erb:23
897
896
  msgid "%s latest report"
898
897
  msgstr ""
899
898
 
900
- #: ../app/views/compliance_hosts/show.html.erb:32
899
+ #: ../app/views/compliance_hosts/show.html.erb:35
901
900
  msgid "%s reports over time"
902
901
  msgstr ""
903
902
 
904
- #: ../app/views/compliance_hosts/show.html.erb:38
903
+ #: ../app/views/compliance_hosts/show.html.erb:43
905
904
  msgid "No report for this policy"
906
905
  msgstr ""
907
906
 
@@ -1081,7 +1080,7 @@ msgstr ""
1081
1080
  msgid "New Policy"
1082
1081
  msgstr ""
1083
1082
 
1084
- #: ../app/views/policy_dashboard/_policy_chart_widget.html.erb:2
1083
+ #: ../app/views/policy_dashboard/_policy_chart_widget.html.erb:4
1085
1084
  msgid "Host Breakdown Chart"
1086
1085
  msgstr ""
1087
1086