foreman_openscap 0.12.1 → 0.12.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/api/v2/compliance/arf_reports_controller.rb +6 -3
  3. data/lib/foreman_openscap/version.rb +1 -1
  4. data/locale/action_names.rb +4 -63
  5. data/locale/de/foreman_openscap.edit.po +106 -302
  6. data/locale/de/foreman_openscap.po +29 -176
  7. data/locale/en_GB/foreman_openscap.edit.po +106 -302
  8. data/locale/en_GB/foreman_openscap.po +29 -176
  9. data/locale/es/foreman_openscap.edit.po +106 -302
  10. data/locale/es/foreman_openscap.po +29 -176
  11. data/locale/foreman_openscap.pot +117 -308
  12. data/locale/fr/foreman_openscap.edit.po +106 -302
  13. data/locale/fr/foreman_openscap.po +29 -176
  14. data/locale/gl/foreman_openscap.edit.po +106 -302
  15. data/locale/gl/foreman_openscap.po +29 -176
  16. data/locale/it/foreman_openscap.edit.po +106 -302
  17. data/locale/it/foreman_openscap.po +29 -176
  18. data/locale/ja/foreman_openscap.edit.po +106 -302
  19. data/locale/ja/foreman_openscap.po +29 -176
  20. data/locale/ko/foreman_openscap.edit.po +106 -302
  21. data/locale/ko/foreman_openscap.po +29 -176
  22. data/locale/pt_BR/foreman_openscap.edit.po +106 -302
  23. data/locale/pt_BR/foreman_openscap.po +29 -176
  24. data/locale/ru/foreman_openscap.edit.po +106 -302
  25. data/locale/ru/foreman_openscap.po +29 -176
  26. data/locale/sv_SE/foreman_openscap.edit.po +106 -302
  27. data/locale/sv_SE/foreman_openscap.po +29 -176
  28. data/locale/zh_CN/foreman_openscap.edit.po +106 -302
  29. data/locale/zh_CN/foreman_openscap.po +29 -176
  30. data/locale/zh_TW/foreman_openscap.edit.po +106 -302
  31. data/locale/zh_TW/foreman_openscap.po +29 -176
  32. data/test/functional/api/v2/compliance/arf_reports_controller_test.rb +3 -2
  33. metadata +2 -2
@@ -43,7 +43,7 @@ msgstr ""
43
43
  msgid "%s spool errors detected, inspect the appropriate file directly on proxy"
44
44
  msgstr ""
45
45
 
46
- msgid "%{parameter} class parameter for class %{class} could not be configured."
46
+ msgid "%{type} was selected to deploy policy to clients, but %{type} is not available. Are you missing a plugin?"
47
47
  msgstr ""
48
48
 
49
49
  msgid "<b>Foreman</b> OpenSCAP summary"
@@ -52,9 +52,6 @@ msgstr ""
52
52
  msgid "A summary of reports for OpenSCAP policies"
53
53
  msgstr ""
54
54
 
55
- msgid "Abstract async task"
56
- msgstr ""
57
-
58
55
  msgid "Action with sub plans"
59
56
  msgstr ""
60
57
 
@@ -64,22 +61,19 @@ msgstr ""
64
61
  msgid "All messages"
65
62
  msgstr ""
66
63
 
67
- msgid "Apply policy to host groups"
68
- msgstr ""
69
-
70
- msgid "Apply policy to hosts"
64
+ msgid "Ansible role"
71
65
  msgstr ""
72
66
 
73
- msgid "Assign Compliance Policy"
67
+ msgid "Ansible variables"
74
68
  msgstr ""
75
69
 
76
- msgid "Attach subscriptions"
70
+ msgid "Apply policy to host groups"
77
71
  msgstr ""
78
72
 
79
- msgid "Auto attach subscriptions"
73
+ msgid "Apply policy to hosts"
80
74
  msgstr ""
81
75
 
82
- msgid "Auto-attach subscriptions"
76
+ msgid "Assign Compliance Policy"
83
77
  msgstr ""
84
78
 
85
79
  msgid "Back"
@@ -157,10 +151,10 @@ msgstr ""
157
151
  msgid "Compliant with the policy"
158
152
  msgstr ""
159
153
 
160
- msgid "Configure capsule"
154
+ msgid "Content"
161
155
  msgstr ""
162
156
 
163
- msgid "Content"
157
+ msgid "Could not find host identified by: %s"
164
158
  msgstr ""
165
159
 
166
160
  msgid "Could not validate %s. Please make sure you have appropriate proxy version to use this functionality"
@@ -169,12 +163,6 @@ msgstr ""
169
163
  msgid "Could not validate %{file_type}. Error %{error}"
170
164
  msgstr ""
171
165
 
172
- msgid "Create"
173
- msgstr ""
174
-
175
- msgid "Create Package Group"
176
- msgstr ""
177
-
178
166
  msgid "Create SCAP content"
179
167
  msgstr ""
180
168
 
@@ -187,12 +175,6 @@ msgstr ""
187
175
  msgid "Create client"
188
176
  msgstr ""
189
177
 
190
- msgid "Create policy"
191
- msgstr ""
192
-
193
- msgid "Create repos"
194
- msgstr ""
195
-
196
178
  msgid "Created"
197
179
  msgstr ""
198
180
 
@@ -208,18 +190,6 @@ msgstr ""
208
190
  msgid "Delete"
209
191
  msgstr ""
210
192
 
211
- msgid "Delete Activation Key"
212
- msgstr ""
213
-
214
- msgid "Delete Lifecycle Environment"
215
- msgstr ""
216
-
217
- msgid "Delete Package Group"
218
- msgstr ""
219
-
220
- msgid "Delete Product"
221
- msgstr ""
222
-
223
193
  msgid "Delete a Policy"
224
194
  msgstr ""
225
195
 
@@ -256,16 +226,10 @@ msgstr ""
256
226
  msgid "Deletes an SCAP content"
257
227
  msgstr ""
258
228
 
259
- msgid "Description"
260
- msgstr ""
261
-
262
- msgid "Destroy"
263
- msgstr ""
264
-
265
- msgid "Destroy Content Host"
229
+ msgid "Deployment Options"
266
230
  msgstr ""
267
231
 
268
- msgid "Disable"
232
+ msgid "Description"
269
233
  msgstr ""
270
234
 
271
235
  msgid "Documentation"
@@ -307,15 +271,6 @@ msgstr ""
307
271
  msgid "Effective Profile"
308
272
  msgstr ""
309
273
 
310
- msgid "Enable"
311
- msgstr ""
312
-
313
- msgid "Errata mail"
314
- msgstr ""
315
-
316
- msgid "Export"
317
- msgstr ""
318
-
319
274
  msgid "Failed"
320
275
  msgstr ""
321
276
 
@@ -340,6 +295,9 @@ msgstr ""
340
295
  msgid "Failed to fetch spool status from proxy"
341
296
  msgstr ""
342
297
 
298
+ msgid "Failed to save when overriding parameters for %{config_tool}, cause: %{errors}"
299
+ msgstr ""
300
+
343
301
  msgid "Failed to upload Arf Report, OpenSCAP proxy name or url not found in params when uploading for %s and host is missing openscap_proxy"
344
302
  msgstr ""
345
303
 
@@ -347,18 +305,12 @@ msgstr ""
347
305
  msgid "Failed|F"
348
306
  msgstr ""
349
307
 
350
- msgid "Fetch pxe files"
351
- msgstr ""
352
-
353
308
  msgid "File Upload"
354
309
  msgstr ""
355
310
 
356
311
  msgid "Filename"
357
312
  msgstr ""
358
313
 
359
- msgid "Filtered index content"
360
- msgstr ""
361
-
362
314
  msgid "Full Report"
363
315
  msgstr ""
364
316
 
@@ -407,10 +359,7 @@ msgstr ""
407
359
  msgid "Hosts passing this rule"
408
360
  msgstr ""
409
361
 
410
- msgid "Hypervisors"
411
- msgstr ""
412
-
413
- msgid "Hypervisors update"
362
+ msgid "How the policy should be deployed"
414
363
  msgstr ""
415
364
 
416
365
  msgid "ID of OpenSCAP Proxy"
@@ -447,36 +396,6 @@ msgstr ""
447
396
  msgid "Inconclusive results"
448
397
  msgstr ""
449
398
 
450
- msgid "Incremental Update"
451
- msgstr ""
452
-
453
- msgid "Incremental Update of Content View Version(s) "
454
- msgstr ""
455
-
456
- msgid "Index content"
457
- msgstr ""
458
-
459
- msgid "Index errata"
460
- msgstr ""
461
-
462
- msgid "Index module streams"
463
- msgstr ""
464
-
465
- msgid "Index package groups"
466
- msgstr ""
467
-
468
- msgid "Install Applicable Errata"
469
- msgstr ""
470
-
471
- msgid "Install erratum"
472
- msgstr ""
473
-
474
- msgid "Install package"
475
- msgstr ""
476
-
477
- msgid "Install package group"
478
- msgstr ""
479
-
480
399
  msgid "It may sometimes be required to adjust the security policy to your specific needs. "
481
400
  msgstr ""
482
401
 
@@ -637,9 +556,6 @@ msgstr ""
637
556
  msgid "Othered|O"
638
557
  msgstr ""
639
558
 
640
- msgid "Package Profile Update"
641
- msgstr ""
642
-
643
559
  msgid "Passed"
644
560
  msgstr ""
645
561
 
@@ -662,6 +578,9 @@ msgstr ""
662
578
  msgid "Policy %s"
663
579
  msgstr ""
664
580
 
581
+ msgid "Policy Attributes"
582
+ msgstr ""
583
+
665
584
  msgid "Policy SCAP content ID"
666
585
  msgstr ""
667
586
 
@@ -689,31 +608,16 @@ msgstr ""
689
608
  msgid "Policy schedule weekday (only if period == \"weekly\")"
690
609
  msgstr ""
691
610
 
692
- msgid "Product Create"
611
+ msgid "Policy with id %s not found."
693
612
  msgstr ""
694
613
 
695
614
  msgid "Profile"
696
615
  msgstr ""
697
616
 
698
- msgid "Promote"
699
- msgstr ""
700
-
701
- msgid "Promotion to Environment"
702
- msgstr ""
703
-
704
617
  msgid "Proxy failed to send a report from spool to Foreman. This indicates a corrupted report format. Report has been moved to directory for storing corrupted files on proxy for later inspection."
705
618
  msgstr ""
706
619
 
707
- msgid "Publish"
708
- msgstr ""
709
-
710
- msgid "Publish Lifecycle Environment Repositories"
711
- msgstr ""
712
-
713
- msgid "Puppet class %{class} does not have %{parameter} class parameter."
714
- msgstr ""
715
-
716
- msgid "Puppet class 'foreman_scap_client' not found, make sure it is imported from Puppet master"
620
+ msgid "Puppet class"
717
621
  msgstr ""
718
622
 
719
623
  msgid "Rationale"
@@ -722,36 +626,9 @@ msgstr ""
722
626
  msgid "References"
723
627
  msgstr ""
724
628
 
725
- msgid "Reindex subscriptions"
726
- msgstr ""
727
-
728
629
  msgid "Remote action:"
729
630
  msgstr ""
730
631
 
731
- msgid "Remove Content"
732
- msgstr ""
733
-
734
- msgid "Remove Version"
735
- msgstr ""
736
-
737
- msgid "Remove Versions and Associations"
738
- msgstr ""
739
-
740
- msgid "Remove from Environment"
741
- msgstr ""
742
-
743
- msgid "Remove package"
744
- msgstr ""
745
-
746
- msgid "Remove package group"
747
- msgstr ""
748
-
749
- msgid "Remove subscriptions"
750
- msgstr ""
751
-
752
- msgid "Report"
753
- msgstr ""
754
-
755
632
  msgid "Report Metrics"
756
633
  msgstr ""
757
634
 
@@ -767,13 +644,10 @@ msgstr ""
767
644
  msgid "Reports"
768
645
  msgstr ""
769
646
 
770
- msgid "Republish Version Repositories"
771
- msgstr ""
772
-
773
647
  msgid "Request timed out. Please try increasing Settings -> proxy_request_timeout"
774
648
  msgstr ""
775
649
 
776
- msgid "Required Puppet class %{class} is not found, please ensure it imported first."
650
+ msgid "Required %{msg_name} %{class} was not found, please ensure it is imported first."
777
651
  msgstr ""
778
652
 
779
653
  msgid "Resource"
@@ -785,9 +659,6 @@ msgstr ""
785
659
  msgid "Run OpenSCAP scan"
786
660
  msgstr ""
787
661
 
788
- msgid "Run Sync Plan"
789
- msgstr ""
790
-
791
662
  msgid "SCAP Content"
792
663
  msgstr ""
793
664
 
@@ -854,6 +725,9 @@ msgstr ""
854
725
  msgid "Show log messages:"
855
726
  msgstr ""
856
727
 
728
+ msgid "Smart Class Parameters"
729
+ msgstr ""
730
+
857
731
  msgid "Something went wrong while selecting compliance reports - %s"
858
732
  msgstr ""
859
733
 
@@ -887,12 +761,6 @@ msgstr ""
887
761
  msgid "Summary report from Foreman server at %{foreman_url}"
888
762
  msgstr ""
889
763
 
890
- msgid "Synchronize"
891
- msgstr ""
892
-
893
- msgid "Synchronize smart proxy"
894
- msgstr ""
895
-
896
764
  msgid "Tailoring File"
897
765
  msgstr ""
898
766
 
@@ -913,6 +781,9 @@ msgid ""
913
781
  " configuration issues related to security. "
914
782
  msgstr ""
915
783
 
784
+ msgid "The following %{key_name} were missing for %{item_name}: %{key_names}. Make sure they are imported before proceeding."
785
+ msgstr ""
786
+
916
787
  msgid "The following Smart Proxies need to be updated to unlock the feature: %s. "
917
788
  msgstr ""
918
789
 
@@ -948,12 +819,6 @@ msgstr ""
948
819
  msgid "Unknown Compliance status"
949
820
  msgstr ""
950
821
 
951
- msgid "Update"
952
- msgstr ""
953
-
954
- msgid "Update Content Overrides"
955
- msgstr ""
956
-
957
822
  msgid "Update a Policy"
958
823
  msgstr ""
959
824
 
@@ -963,21 +828,12 @@ msgstr ""
963
828
  msgid "Update an SCAP content"
964
829
  msgstr ""
965
830
 
966
- msgid "Update for host"
967
- msgstr ""
968
-
969
831
  msgid "Update host"
970
832
  msgstr ""
971
833
 
972
834
  msgid "Update node"
973
835
  msgstr ""
974
836
 
975
- msgid "Update package"
976
- msgstr ""
977
-
978
- msgid "Update release version for host"
979
- msgstr ""
980
-
981
837
  msgid "Updated hosts: Assigned with OpenSCAP Proxy: %s"
982
838
  msgstr ""
983
839
 
@@ -996,12 +852,6 @@ msgstr ""
996
852
  msgid "Upload an ARF report"
997
853
  msgstr ""
998
854
 
999
- msgid "Upload errata into"
1000
- msgstr ""
1001
-
1002
- msgid "Upload into"
1003
- msgstr ""
1004
-
1005
855
  msgid "Upload new SCAP content file"
1006
856
  msgstr ""
1007
857
 
@@ -1035,6 +885,9 @@ msgstr ""
1035
885
  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."
1036
886
  msgstr ""
1037
887
 
888
+ msgid "documentation"
889
+ msgstr ""
890
+
1038
891
  msgid "does not come from selected tailoring file"
1039
892
  msgstr ""
1040
893
 
@@ -96,7 +96,8 @@ class Api::V2::Compliance::ArfReportsControllerTest < ActionController::TestCase
96
96
  test "should not create report when host is missing" do
97
97
  reports_cleanup
98
98
  date = Time.new(1984, 9, 16)
99
- ForemanOpenscap::Helper.stubs(:get_asset).returns(nil)
99
+ ForemanOpenscap::Helper.stubs(:find_host_by_name_or_uuid).returns(nil)
100
+
100
101
  cname = '9521a5c5-8f44-495f-b087-20e86b30bffg'
101
102
  post :create,
102
103
  :params => @from_json.merge(:cname => cname,
@@ -113,7 +114,7 @@ class Api::V2::Compliance::ArfReportsControllerTest < ActionController::TestCase
113
114
  test "should not create report when policy is missing" do
114
115
  reports_cleanup
115
116
  date = Time.new(1984, 9, 17)
116
- ForemanOpenscap::Helper.stubs(:get_asset).returns(@asset)
117
+ ForemanOpenscap::Helper.stubs(:find_host_by_name_or_uuid).returns(@host)
117
118
  policy_id = 0
118
119
  post :create,
119
120
  :params => @from_json.merge(:cname => @cname,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_openscap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.1
4
+ version: 0.12.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - slukasik@redhat.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-03-19 00:00:00.000000000 Z
11
+ date: 2019-03-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: deface