foreman_openscap 2.0.2 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/app/controllers/api/v2/compliance/scap_content_profiles_controller.rb +15 -0
- data/app/models/concerns/foreman_openscap/smart_proxy_extensions.rb +1 -1
- data/app/models/foreman_openscap/scap_content_profile.rb +3 -0
- data/app/services/foreman_openscap/lookup_key_overrider.rb +3 -2
- data/app/views/api/v2/compliance/scap_content_profiles/base.json.rabl +3 -0
- data/app/views/api/v2/compliance/scap_content_profiles/index.json.rabl +3 -0
- data/app/views/api/v2/compliance/scap_content_profiles/main.json.rabl +9 -0
- data/app/views/arf_reports/welcome.html.erb +2 -0
- data/config/routes.rb +2 -0
- data/db/migrate/20150929152345_move_arf_reports_to_reports_table.rb +0 -2
- data/db/migrate/20200117135424_migrate_port_overrides_to_int.rb +24 -0
- data/lib/foreman_openscap/engine.rb +9 -6
- data/lib/foreman_openscap/version.rb +1 -1
- data/locale/action_names.rb +1 -1
- data/locale/de/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/de/foreman_openscap.edit.po +1411 -0
- data/locale/de/foreman_openscap.po +20 -190
- data/locale/de/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 +1240 -0
- data/locale/en_GB/foreman_openscap.po +20 -191
- 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 +1462 -0
- data/locale/es/foreman_openscap.po +16 -187
- data/locale/es/foreman_openscap.po.time_stamp +0 -0
- data/locale/foreman_openscap.pot +101 -326
- data/locale/fr/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/fr/foreman_openscap.edit.po +1468 -0
- data/locale/fr/foreman_openscap.po +16 -187
- data/locale/fr/foreman_openscap.po.time_stamp +0 -0
- data/locale/gl/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/gl/foreman_openscap.edit.po +1240 -0
- data/locale/gl/foreman_openscap.po +16 -187
- 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 +1361 -0
- data/locale/it/foreman_openscap.po +16 -187
- 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 +1462 -0
- data/locale/ja/foreman_openscap.po +16 -187
- data/locale/ja/foreman_openscap.po.time_stamp +0 -0
- data/locale/ko/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/ko/foreman_openscap.edit.po +1408 -0
- data/locale/ko/foreman_openscap.po +16 -187
- 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 +1467 -0
- data/locale/pt_BR/foreman_openscap.po +16 -187
- 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 +1412 -0
- data/locale/ru/foreman_openscap.po +16 -187
- data/locale/ru/foreman_openscap.po.time_stamp +0 -0
- data/locale/sv_SE/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/sv_SE/foreman_openscap.edit.po +1240 -0
- data/locale/sv_SE/foreman_openscap.po +16 -187
- 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 +1463 -0
- data/locale/zh_CN/foreman_openscap.po +16 -187
- 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 +1409 -0
- data/locale/zh_TW/foreman_openscap.po +16 -187
- data/locale/zh_TW/foreman_openscap.po.time_stamp +0 -0
- data/test/functional/api/v2/compliance/arf_reports_controller_test.rb +0 -3
- data/test/functional/api/v2/compliance/scap_content_profiles_controller_test.rb +15 -0
- data/test/test_plugin_helper.rb +2 -2
- metadata +25 -5
@@ -8,8 +8,8 @@ msgid ""
|
|
8
8
|
msgstr ""
|
9
9
|
"Project-Id-Version: Foreman\n"
|
10
10
|
"Report-Msgid-Bugs-To: \n"
|
11
|
-
"PO-Revision-Date: 2019-
|
12
|
-
"Last-Translator:
|
11
|
+
"PO-Revision-Date: 2019-10-23 20:36+0000\n"
|
12
|
+
"Last-Translator: Bryan Kearney <bryan.kearney@gmail.com>\n"
|
13
13
|
"Language-Team: Chinese (Taiwan) (http://www.transifex.com/foreman/foreman/lang"
|
14
14
|
"uage/zh_TW/)\n"
|
15
15
|
"MIME-Version: 1.0\n"
|
@@ -53,9 +53,6 @@ msgstr ""
|
|
53
53
|
msgid "A summary of reports for OpenSCAP policies"
|
54
54
|
msgstr ""
|
55
55
|
|
56
|
-
msgid "Abstract async task"
|
57
|
-
msgstr ""
|
58
|
-
|
59
56
|
msgid "Action with sub plans"
|
60
57
|
msgstr ""
|
61
58
|
|
@@ -80,15 +77,6 @@ msgstr ""
|
|
80
77
|
msgid "Assign Compliance Policy"
|
81
78
|
msgstr "指定合規政策"
|
82
79
|
|
83
|
-
msgid "Attach subscriptions"
|
84
|
-
msgstr ""
|
85
|
-
|
86
|
-
msgid "Auto attach subscriptions"
|
87
|
-
msgstr ""
|
88
|
-
|
89
|
-
msgid "Auto-attach subscriptions"
|
90
|
-
msgstr ""
|
91
|
-
|
92
80
|
msgid "Back"
|
93
81
|
msgstr "上一頁"
|
94
82
|
|
@@ -128,9 +116,6 @@ msgstr "選擇期間"
|
|
128
116
|
msgid "Choose weekday"
|
129
117
|
msgstr "選擇星期幾"
|
130
118
|
|
131
|
-
msgid "Combined Profile Update"
|
132
|
-
msgstr ""
|
133
|
-
|
134
119
|
msgid "Compliance"
|
135
120
|
msgstr "合規"
|
136
121
|
|
@@ -170,12 +155,6 @@ msgstr ""
|
|
170
155
|
msgid "Could not validate %{file_type}. Error %{error}"
|
171
156
|
msgstr ""
|
172
157
|
|
173
|
-
msgid "Create"
|
174
|
-
msgstr ""
|
175
|
-
|
176
|
-
msgid "Create Package Group"
|
177
|
-
msgstr ""
|
178
|
-
|
179
158
|
msgid "Create SCAP content"
|
180
159
|
msgstr "建立 SCAP 內容"
|
181
160
|
|
@@ -185,6 +164,9 @@ msgstr ""
|
|
185
164
|
msgid "Create a Tailoring file"
|
186
165
|
msgstr ""
|
187
166
|
|
167
|
+
msgid "Create client"
|
168
|
+
msgstr ""
|
169
|
+
|
188
170
|
msgid "Dashboard"
|
189
171
|
msgstr "控制面板"
|
190
172
|
|
@@ -200,30 +182,24 @@ msgstr "預設 XCCDF 設定檔"
|
|
200
182
|
msgid "Delete"
|
201
183
|
msgstr "刪除"
|
202
184
|
|
203
|
-
msgid "Delete Activation Key"
|
204
|
-
msgstr ""
|
205
|
-
|
206
|
-
msgid "Delete Lifecycle Environment"
|
207
|
-
msgstr ""
|
208
|
-
|
209
|
-
msgid "Delete Package Group"
|
210
|
-
msgstr ""
|
211
|
-
|
212
|
-
msgid "Delete Product"
|
213
|
-
msgstr ""
|
214
|
-
|
215
185
|
msgid "Delete a Policy"
|
216
186
|
msgstr ""
|
217
187
|
|
218
188
|
msgid "Delete an ARF Report"
|
219
189
|
msgstr ""
|
220
190
|
|
191
|
+
msgid "Delete client"
|
192
|
+
msgstr ""
|
193
|
+
|
221
194
|
msgid "Delete compliance policy %s with all of its reports?"
|
222
195
|
msgstr ""
|
223
196
|
|
224
197
|
msgid "Delete compliance report for %s?"
|
225
198
|
msgstr "刪除 %s 的合規報告?"
|
226
199
|
|
200
|
+
msgid "Delete host"
|
201
|
+
msgstr ""
|
202
|
+
|
227
203
|
msgid "Delete reports"
|
228
204
|
msgstr "刪除報告"
|
229
205
|
|
@@ -248,18 +224,6 @@ msgstr ""
|
|
248
224
|
msgid "Description"
|
249
225
|
msgstr "說明"
|
250
226
|
|
251
|
-
msgid "Destroy"
|
252
|
-
msgstr ""
|
253
|
-
|
254
|
-
msgid "Destroy Content Host"
|
255
|
-
msgstr ""
|
256
|
-
|
257
|
-
msgid "Disable"
|
258
|
-
msgstr ""
|
259
|
-
|
260
|
-
msgid "Discover"
|
261
|
-
msgstr ""
|
262
|
-
|
263
227
|
msgid "Documentation"
|
264
228
|
msgstr ""
|
265
229
|
|
@@ -296,15 +260,6 @@ msgstr ""
|
|
296
260
|
msgid "Effective Profile"
|
297
261
|
msgstr ""
|
298
262
|
|
299
|
-
msgid "Enable"
|
300
|
-
msgstr ""
|
301
|
-
|
302
|
-
msgid "Errata mail"
|
303
|
-
msgstr ""
|
304
|
-
|
305
|
-
msgid "Export"
|
306
|
-
msgstr ""
|
307
|
-
|
308
263
|
msgid "Failed"
|
309
264
|
msgstr "已失敗"
|
310
265
|
|
@@ -339,15 +294,9 @@ msgstr ""
|
|
339
294
|
msgid "Failed|F"
|
340
295
|
msgstr "F"
|
341
296
|
|
342
|
-
msgid "Fetch pxe files"
|
343
|
-
msgstr ""
|
344
|
-
|
345
297
|
msgid "File Upload"
|
346
298
|
msgstr "檔案上傳"
|
347
299
|
|
348
|
-
msgid "Filtered index content"
|
349
|
-
msgstr ""
|
350
|
-
|
351
300
|
msgid "Full Report"
|
352
301
|
msgstr ""
|
353
302
|
|
@@ -405,12 +354,6 @@ msgstr ""
|
|
405
354
|
msgid "How the policy should be deployed"
|
406
355
|
msgstr ""
|
407
356
|
|
408
|
-
msgid "Hypervisors"
|
409
|
-
msgstr ""
|
410
|
-
|
411
|
-
msgid "Hypervisors update"
|
412
|
-
msgstr ""
|
413
|
-
|
414
357
|
msgid "ID of OpenSCAP Proxy"
|
415
358
|
msgstr ""
|
416
359
|
|
@@ -445,39 +388,6 @@ msgstr "非決定性"
|
|
445
388
|
msgid "Inconclusive results"
|
446
389
|
msgstr "非決定性結果"
|
447
390
|
|
448
|
-
msgid "Incremental Update"
|
449
|
-
msgstr ""
|
450
|
-
|
451
|
-
msgid "Incremental Update of Content View Version(s) "
|
452
|
-
msgstr ""
|
453
|
-
|
454
|
-
msgid "Index content"
|
455
|
-
msgstr ""
|
456
|
-
|
457
|
-
msgid "Index errata"
|
458
|
-
msgstr ""
|
459
|
-
|
460
|
-
msgid "Index module streams"
|
461
|
-
msgstr ""
|
462
|
-
|
463
|
-
msgid "Index package groups"
|
464
|
-
msgstr ""
|
465
|
-
|
466
|
-
msgid "Install Applicable Errata"
|
467
|
-
msgstr ""
|
468
|
-
|
469
|
-
msgid "Install erratum"
|
470
|
-
msgstr ""
|
471
|
-
|
472
|
-
msgid "Install package"
|
473
|
-
msgstr ""
|
474
|
-
|
475
|
-
msgid "Install package group"
|
476
|
-
msgstr ""
|
477
|
-
|
478
|
-
msgid "Instance update"
|
479
|
-
msgstr ""
|
480
|
-
|
481
391
|
msgid "It may sometimes be required to adjust the security policy to your specific needs. "
|
482
392
|
msgstr ""
|
483
393
|
|
@@ -493,6 +403,9 @@ msgstr ""
|
|
493
403
|
msgid "List Policies"
|
494
404
|
msgstr ""
|
495
405
|
|
406
|
+
msgid "List SCAP content profiles"
|
407
|
+
msgstr ""
|
408
|
+
|
496
409
|
msgid "List SCAP contents"
|
497
410
|
msgstr "列出 SCAP 內容"
|
498
411
|
|
@@ -635,9 +548,6 @@ msgstr "其它"
|
|
635
548
|
msgid "Othered|O"
|
636
549
|
msgstr "Othered|O"
|
637
550
|
|
638
|
-
msgid "Package Profile Update"
|
639
|
-
msgstr ""
|
640
|
-
|
641
551
|
msgid "Passed"
|
642
552
|
msgstr "已通過"
|
643
553
|
|
@@ -696,24 +606,9 @@ msgstr ""
|
|
696
606
|
msgid "Policy with id %s not found."
|
697
607
|
msgstr ""
|
698
608
|
|
699
|
-
msgid "Product Create"
|
700
|
-
msgstr ""
|
701
|
-
|
702
|
-
msgid "Promote"
|
703
|
-
msgstr ""
|
704
|
-
|
705
|
-
msgid "Promotion to Environment"
|
706
|
-
msgstr ""
|
707
|
-
|
708
609
|
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."
|
709
610
|
msgstr ""
|
710
611
|
|
711
|
-
msgid "Publish"
|
712
|
-
msgstr ""
|
713
|
-
|
714
|
-
msgid "Publish Lifecycle Environment Repositories"
|
715
|
-
msgstr ""
|
716
|
-
|
717
612
|
msgid "Puppet class"
|
718
613
|
msgstr "Puppet 類別"
|
719
614
|
|
@@ -723,33 +618,9 @@ msgstr "理由"
|
|
723
618
|
msgid "References"
|
724
619
|
msgstr "參照"
|
725
620
|
|
726
|
-
msgid "Reindex subscriptions"
|
727
|
-
msgstr ""
|
728
|
-
|
729
621
|
msgid "Remote action:"
|
730
622
|
msgstr ""
|
731
623
|
|
732
|
-
msgid "Remove Content"
|
733
|
-
msgstr ""
|
734
|
-
|
735
|
-
msgid "Remove Version"
|
736
|
-
msgstr ""
|
737
|
-
|
738
|
-
msgid "Remove Versions and Associations"
|
739
|
-
msgstr ""
|
740
|
-
|
741
|
-
msgid "Remove from Environment"
|
742
|
-
msgstr ""
|
743
|
-
|
744
|
-
msgid "Remove package"
|
745
|
-
msgstr ""
|
746
|
-
|
747
|
-
msgid "Remove package group"
|
748
|
-
msgstr ""
|
749
|
-
|
750
|
-
msgid "Remove subscriptions"
|
751
|
-
msgstr ""
|
752
|
-
|
753
624
|
msgid "Report Metrics"
|
754
625
|
msgstr "報告計量"
|
755
626
|
|
@@ -765,9 +636,6 @@ msgstr ""
|
|
765
636
|
msgid "Reports"
|
766
637
|
msgstr "報告"
|
767
638
|
|
768
|
-
msgid "Republish Version Repositories"
|
769
|
-
msgstr ""
|
770
|
-
|
771
639
|
msgid "Request timed out. Please try increasing Settings -> proxy_request_timeout"
|
772
640
|
msgstr ""
|
773
641
|
|
@@ -786,9 +654,6 @@ msgstr ""
|
|
786
654
|
msgid "Run OpenSCAP scan"
|
787
655
|
msgstr ""
|
788
656
|
|
789
|
-
msgid "Run Sync Plan:"
|
790
|
-
msgstr ""
|
791
|
-
|
792
657
|
msgid "SCAP Content"
|
793
658
|
msgstr "SCAP 內容"
|
794
659
|
|
@@ -894,15 +759,6 @@ msgstr ""
|
|
894
759
|
msgid "Summary report from Foreman server at %{foreman_url}"
|
895
760
|
msgstr "來自 Foreman 伺服器的摘要報告,於 %{foreman_url}"
|
896
761
|
|
897
|
-
msgid "Sync capsule"
|
898
|
-
msgstr ""
|
899
|
-
|
900
|
-
msgid "Synchronize"
|
901
|
-
msgstr ""
|
902
|
-
|
903
|
-
msgid "Synchronize smart proxy"
|
904
|
-
msgstr ""
|
905
|
-
|
906
762
|
msgid "Tailoring File"
|
907
763
|
msgstr ""
|
908
764
|
|
@@ -967,12 +823,6 @@ msgstr "取消指定合規政策"
|
|
967
823
|
msgid "Unknown Compliance status"
|
968
824
|
msgstr "未知的合規狀態"
|
969
825
|
|
970
|
-
msgid "Update"
|
971
|
-
msgstr ""
|
972
|
-
|
973
|
-
msgid "Update Content Overrides"
|
974
|
-
msgstr ""
|
975
|
-
|
976
826
|
msgid "Update a Policy"
|
977
827
|
msgstr ""
|
978
828
|
|
@@ -982,25 +832,10 @@ msgstr ""
|
|
982
832
|
msgid "Update an SCAP content"
|
983
833
|
msgstr "更新 SCAP 內容"
|
984
834
|
|
985
|
-
msgid "Update
|
986
|
-
msgstr ""
|
987
|
-
|
988
|
-
msgid "Update for host"
|
989
|
-
msgstr ""
|
990
|
-
|
991
|
-
msgid "Update http proxy"
|
992
|
-
msgstr ""
|
993
|
-
|
994
|
-
msgid "Update http proxy details"
|
835
|
+
msgid "Update host"
|
995
836
|
msgstr ""
|
996
837
|
|
997
|
-
msgid "Update
|
998
|
-
msgstr ""
|
999
|
-
|
1000
|
-
msgid "Update redhat repository"
|
1001
|
-
msgstr ""
|
1002
|
-
|
1003
|
-
msgid "Update release version for host"
|
838
|
+
msgid "Update node"
|
1004
839
|
msgstr ""
|
1005
840
|
|
1006
841
|
msgid "Updated hosts: Assigned with OpenSCAP Proxy: %s"
|
@@ -1021,12 +856,6 @@ msgstr ""
|
|
1021
856
|
msgid "Upload an ARF report"
|
1022
857
|
msgstr "上傳 ARF 報告"
|
1023
858
|
|
1024
|
-
msgid "Upload errata into"
|
1025
|
-
msgstr ""
|
1026
|
-
|
1027
|
-
msgid "Upload into"
|
1028
|
-
msgstr ""
|
1029
|
-
|
1030
859
|
msgid "Upload new SCAP content file"
|
1031
860
|
msgstr "上傳新的 SCAP 內容檔案"
|
1032
861
|
|
File without changes
|
@@ -3,9 +3,6 @@ require 'tmpdir'
|
|
3
3
|
|
4
4
|
class Api::V2::Compliance::ArfReportsControllerTest < ActionController::TestCase
|
5
5
|
setup do
|
6
|
-
# required for mysql where database cleaner does not cleanup things properly
|
7
|
-
# because of arf_create does explicit transaction commit
|
8
|
-
Message.delete_all
|
9
6
|
# override validation of policy (puppetclass, lookup_key overrides)
|
10
7
|
ForemanOpenscap::Policy.any_instance.stubs(:valid?).returns(true)
|
11
8
|
@host = FactoryBot.create(:compliance_host)
|
@@ -0,0 +1,15 @@
|
|
1
|
+
require 'test_plugin_helper'
|
2
|
+
|
3
|
+
class Api::V2::Compliance::ScapContentProfilesControllerTest < ActionController::TestCase
|
4
|
+
test "should get index" do
|
5
|
+
2.times do
|
6
|
+
FactoryBot.create(:scap_content_profile)
|
7
|
+
end
|
8
|
+
FactoryBot.create(:scap_content, :scap_content_profiles => [ForemanOpenscap::ScapContentProfile.first])
|
9
|
+
FactoryBot.create(:tailoring_file, :scap_content_profiles => [ForemanOpenscap::ScapContentProfile.last])
|
10
|
+
get :index, :session => set_session_user
|
11
|
+
response = ActiveSupport::JSON.decode(@response.body)
|
12
|
+
assert response['results'].any?
|
13
|
+
assert_response :success
|
14
|
+
end
|
15
|
+
end
|
data/test/test_plugin_helper.rb
CHANGED
@@ -55,8 +55,8 @@ module ScapTestCommon
|
|
55
55
|
def create_report_with_rules(host, rule_names, rule_results)
|
56
56
|
raise "rule_names and rule_results should have the same length!" if rule_names.size != rule_results.size
|
57
57
|
metrics = {
|
58
|
-
'passed' => rule_results.
|
59
|
-
'failed' => rule_results.
|
58
|
+
'passed' => rule_results.count { |result| result == 'pass' },
|
59
|
+
'failed' => rule_results.count { |result| result == 'fail' },
|
60
60
|
'othered' => rule_results.reject { |result| result == 'fail' || result == 'pass' }.count
|
61
61
|
}
|
62
62
|
report = FactoryBot.create(:arf_report, :host_id => host.id, :metrics => metrics, :status => metrics)
|
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:
|
4
|
+
version: 3.0.0
|
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:
|
11
|
+
date: 2020-03-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -46,6 +46,7 @@ files:
|
|
46
46
|
- app/assets/stylesheets/foreman_openscap/scap_breakdown_chart.css
|
47
47
|
- app/controllers/api/v2/compliance/arf_reports_controller.rb
|
48
48
|
- app/controllers/api/v2/compliance/policies_controller.rb
|
49
|
+
- app/controllers/api/v2/compliance/scap_content_profiles_controller.rb
|
49
50
|
- app/controllers/api/v2/compliance/scap_contents_controller.rb
|
50
51
|
- app/controllers/api/v2/compliance/tailoring_files_controller.rb
|
51
52
|
- app/controllers/arf_reports_controller.rb
|
@@ -125,6 +126,9 @@ files:
|
|
125
126
|
- app/views/api/v2/compliance/policies/index.json.rabl
|
126
127
|
- app/views/api/v2/compliance/policies/main.json.rabl
|
127
128
|
- app/views/api/v2/compliance/policies/show.json.rabl
|
129
|
+
- app/views/api/v2/compliance/scap_content_profiles/base.json.rabl
|
130
|
+
- app/views/api/v2/compliance/scap_content_profiles/index.json.rabl
|
131
|
+
- app/views/api/v2/compliance/scap_content_profiles/main.json.rabl
|
128
132
|
- app/views/api/v2/compliance/scap_contents/base.json.rabl
|
129
133
|
- app/views/api/v2/compliance/scap_contents/create.json.rabl
|
130
134
|
- app/views/api/v2/compliance/scap_contents/index.json.rabl
|
@@ -239,6 +243,7 @@ files:
|
|
239
243
|
- db/migrate/20171011134112_remove_arf_reports_without_policy.rb
|
240
244
|
- db/migrate/20171016125613_add_content_title_unique_constraint.foreman_openscap.rb
|
241
245
|
- db/migrate/20190103093409_add_deployment_option_to_policy.foreman_openscap.rb
|
246
|
+
- db/migrate/20200117135424_migrate_port_overrides_to_int.rb
|
242
247
|
- db/seeds.d/75-job_templates.rb
|
243
248
|
- db/seeds.d/openscap_feature.rb
|
244
249
|
- db/seeds.d/openscap_policy_notification.rb
|
@@ -255,44 +260,57 @@ files:
|
|
255
260
|
- locale/de/LC_MESSAGES/foreman_openscap.mo
|
256
261
|
- locale/de/foreman_openscap.edit.po
|
257
262
|
- locale/de/foreman_openscap.po
|
263
|
+
- locale/de/foreman_openscap.po.time_stamp
|
258
264
|
- locale/en_GB/LC_MESSAGES/foreman_openscap.mo
|
259
265
|
- locale/en_GB/foreman_openscap.edit.po
|
260
266
|
- locale/en_GB/foreman_openscap.po
|
267
|
+
- locale/en_GB/foreman_openscap.po.time_stamp
|
261
268
|
- locale/es/LC_MESSAGES/foreman_openscap.mo
|
262
269
|
- locale/es/foreman_openscap.edit.po
|
263
270
|
- locale/es/foreman_openscap.po
|
271
|
+
- locale/es/foreman_openscap.po.time_stamp
|
264
272
|
- locale/foreman_openscap.pot
|
265
273
|
- locale/fr/LC_MESSAGES/foreman_openscap.mo
|
266
274
|
- locale/fr/foreman_openscap.edit.po
|
267
275
|
- locale/fr/foreman_openscap.po
|
276
|
+
- locale/fr/foreman_openscap.po.time_stamp
|
268
277
|
- locale/gl/LC_MESSAGES/foreman_openscap.mo
|
269
278
|
- locale/gl/foreman_openscap.edit.po
|
270
279
|
- locale/gl/foreman_openscap.po
|
280
|
+
- locale/gl/foreman_openscap.po.time_stamp
|
271
281
|
- locale/it/LC_MESSAGES/foreman_openscap.mo
|
272
282
|
- locale/it/foreman_openscap.edit.po
|
273
283
|
- locale/it/foreman_openscap.po
|
284
|
+
- locale/it/foreman_openscap.po.time_stamp
|
274
285
|
- locale/ja/LC_MESSAGES/foreman_openscap.mo
|
275
286
|
- locale/ja/foreman_openscap.edit.po
|
276
287
|
- locale/ja/foreman_openscap.po
|
288
|
+
- locale/ja/foreman_openscap.po.time_stamp
|
277
289
|
- locale/ko/LC_MESSAGES/foreman_openscap.mo
|
278
290
|
- locale/ko/foreman_openscap.edit.po
|
279
291
|
- locale/ko/foreman_openscap.po
|
292
|
+
- locale/ko/foreman_openscap.po.time_stamp
|
280
293
|
- locale/pt_BR/LC_MESSAGES/foreman_openscap.mo
|
281
294
|
- locale/pt_BR/foreman_openscap.edit.po
|
282
295
|
- locale/pt_BR/foreman_openscap.po
|
296
|
+
- locale/pt_BR/foreman_openscap.po.time_stamp
|
283
297
|
- locale/ru/LC_MESSAGES/foreman_openscap.mo
|
284
298
|
- locale/ru/foreman_openscap.edit.po
|
285
299
|
- locale/ru/foreman_openscap.po
|
300
|
+
- locale/ru/foreman_openscap.po.time_stamp
|
286
301
|
- locale/sv_SE/LC_MESSAGES/foreman_openscap.mo
|
287
302
|
- locale/sv_SE/foreman_openscap.edit.po
|
288
303
|
- locale/sv_SE/foreman_openscap.po
|
304
|
+
- locale/sv_SE/foreman_openscap.po.time_stamp
|
289
305
|
- locale/zanata.xml
|
290
306
|
- locale/zh_CN/LC_MESSAGES/foreman_openscap.mo
|
291
307
|
- locale/zh_CN/foreman_openscap.edit.po
|
292
308
|
- locale/zh_CN/foreman_openscap.po
|
309
|
+
- locale/zh_CN/foreman_openscap.po.time_stamp
|
293
310
|
- locale/zh_TW/LC_MESSAGES/foreman_openscap.mo
|
294
311
|
- locale/zh_TW/foreman_openscap.edit.po
|
295
312
|
- locale/zh_TW/foreman_openscap.po
|
313
|
+
- locale/zh_TW/foreman_openscap.po.time_stamp
|
296
314
|
- test/factories/arf_report_factory.rb
|
297
315
|
- test/factories/asset_factory.rb
|
298
316
|
- test/factories/compliance_host_factory.rb
|
@@ -310,6 +328,7 @@ files:
|
|
310
328
|
- test/files/tailoring_files/ssg-firefox-ds-tailoring.xml
|
311
329
|
- test/functional/api/v2/compliance/arf_reports_controller_test.rb
|
312
330
|
- test/functional/api/v2/compliance/policies_controller_test.rb
|
331
|
+
- test/functional/api/v2/compliance/scap_content_profiles_controller_test.rb
|
313
332
|
- test/functional/api/v2/compliance/scap_contents_controller_test.rb
|
314
333
|
- test/functional/api/v2/compliance/tailoring_files_controller_test.rb
|
315
334
|
- test/functional/api/v2/hosts_controller_test.rb
|
@@ -356,7 +375,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
356
375
|
version: '0'
|
357
376
|
requirements: []
|
358
377
|
rubyforge_project:
|
359
|
-
rubygems_version: 2.6.
|
378
|
+
rubygems_version: 2.7.6.2
|
360
379
|
signing_key:
|
361
380
|
specification_version: 4
|
362
381
|
summary: Foreman plug-in for displaying OpenSCAP audit reports
|
@@ -376,16 +395,16 @@ test_files:
|
|
376
395
|
- test/files/scap_contents/ssg-fedora-ds.xml
|
377
396
|
- test/files/tailoring_files/ssg-firefox-ds-tailoring-2.xml
|
378
397
|
- test/files/tailoring_files/ssg-firefox-ds-tailoring.xml
|
379
|
-
- test/functional/api/v2/compliance/arf_reports_controller_test.rb
|
380
398
|
- test/functional/api/v2/compliance/policies_controller_test.rb
|
381
399
|
- test/functional/api/v2/compliance/scap_contents_controller_test.rb
|
382
400
|
- test/functional/api/v2/compliance/tailoring_files_controller_test.rb
|
401
|
+
- test/functional/api/v2/compliance/arf_reports_controller_test.rb
|
402
|
+
- test/functional/api/v2/compliance/scap_content_profiles_controller_test.rb
|
383
403
|
- test/functional/api/v2/hosts_controller_test.rb
|
384
404
|
- test/functional/arf_reports_controller_test.rb
|
385
405
|
- test/functional/openscap_proxies_controller_test.rb
|
386
406
|
- test/functional/tailoring_files_controller_test.rb
|
387
407
|
- test/lib/foreman_openscap/bulk_upload_test.rb
|
388
|
-
- test/test_plugin_helper.rb
|
389
408
|
- test/unit/arf_report_status_calculator_test.rb
|
390
409
|
- test/unit/compliance_status_test.rb
|
391
410
|
- test/unit/concerns/openscap_proxy_extenstions_test.rb
|
@@ -404,3 +423,4 @@ test_files:
|
|
404
423
|
- test/unit/policy_test.rb
|
405
424
|
- test/helpers/arf_report_dashboard_helper_test.rb
|
406
425
|
- test/helpers/policy_dashboard_helper_test.rb
|
426
|
+
- test/test_plugin_helper.rb
|