foreman_openscap 3.0.0 → 4.0.3
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.
- checksums.yaml +4 -4
- data/app/controllers/api/v2/compliance/arf_reports_controller.rb +5 -3
- data/app/controllers/api/v2/compliance/scap_contents_controller.rb +1 -1
- data/app/controllers/api/v2/compliance/tailoring_files_controller.rb +1 -1
- data/app/controllers/scap_contents_controller.rb +1 -1
- data/app/controllers/tailoring_files_controller.rb +1 -1
- data/app/models/foreman_openscap/policy.rb +2 -2
- data/db/migrate/20200803065041_migrate_port_overrides_for_ansible.rb +34 -0
- data/db/seeds.d/75-job_templates.rb +2 -2
- data/lib/foreman_openscap/helper.rb +1 -1
- data/lib/foreman_openscap/version.rb +1 -1
- data/locale/action_names.rb +2 -7
- data/locale/de/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/de/foreman_openscap.po +2 -17
- data/locale/en_GB/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/en_GB/foreman_openscap.po +2 -17
- data/locale/es/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/es/foreman_openscap.po +1 -16
- data/locale/foreman_openscap.pot +6 -26
- data/locale/fr/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/fr/foreman_openscap.po +1 -16
- data/locale/gl/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/gl/foreman_openscap.po +2 -17
- data/locale/it/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/it/foreman_openscap.po +2 -17
- data/locale/ja/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/ja/foreman_openscap.po +1 -16
- data/locale/ko/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/ko/foreman_openscap.po +2 -17
- data/locale/pt_BR/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/pt_BR/foreman_openscap.po +1 -16
- data/locale/ru/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/ru/foreman_openscap.po +2 -17
- data/locale/sv_SE/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/sv_SE/foreman_openscap.po +2 -17
- data/locale/zh_CN/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/zh_CN/foreman_openscap.po +1 -16
- data/locale/zh_TW/LC_MESSAGES/foreman_openscap.mo +0 -0
- data/locale/zh_TW/foreman_openscap.po +2 -17
- data/test/unit/policy_test.rb +9 -0
- metadata +37 -63
- data/locale/de/foreman_openscap.edit.po +0 -1411
- data/locale/de/foreman_openscap.po.time_stamp +0 -0
- data/locale/en_GB/foreman_openscap.edit.po +0 -1240
- data/locale/en_GB/foreman_openscap.po.time_stamp +0 -0
- data/locale/es/foreman_openscap.edit.po +0 -1462
- data/locale/es/foreman_openscap.po.time_stamp +0 -0
- data/locale/fr/foreman_openscap.edit.po +0 -1468
- data/locale/fr/foreman_openscap.po.time_stamp +0 -0
- data/locale/gl/foreman_openscap.edit.po +0 -1240
- data/locale/gl/foreman_openscap.po.time_stamp +0 -0
- data/locale/it/foreman_openscap.edit.po +0 -1361
- data/locale/it/foreman_openscap.po.time_stamp +0 -0
- data/locale/ja/foreman_openscap.edit.po +0 -1462
- data/locale/ja/foreman_openscap.po.time_stamp +0 -0
- data/locale/ko/foreman_openscap.edit.po +0 -1408
- data/locale/ko/foreman_openscap.po.time_stamp +0 -0
- data/locale/pt_BR/foreman_openscap.edit.po +0 -1467
- data/locale/pt_BR/foreman_openscap.po.time_stamp +0 -0
- data/locale/ru/foreman_openscap.edit.po +0 -1412
- data/locale/ru/foreman_openscap.po.time_stamp +0 -0
- data/locale/sv_SE/foreman_openscap.edit.po +0 -1240
- data/locale/sv_SE/foreman_openscap.po.time_stamp +0 -0
- data/locale/zh_CN/foreman_openscap.edit.po +0 -1463
- data/locale/zh_CN/foreman_openscap.po.time_stamp +0 -0
- data/locale/zh_TW/foreman_openscap.edit.po +0 -1409
- data/locale/zh_TW/foreman_openscap.po.time_stamp +0 -0
|
Binary file
|
|
@@ -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:
|
|
12
|
-
"Last-Translator:
|
|
11
|
+
"PO-Revision-Date: 2020-03-02 20:59+0000\n"
|
|
12
|
+
"Last-Translator: Lukáš Zapletal\n"
|
|
13
13
|
"Language-Team: Italian (http://www.transifex.com/foreman/foreman/language/it/)"
|
|
14
14
|
"\n"
|
|
15
15
|
"MIME-Version: 1.0\n"
|
|
@@ -164,9 +164,6 @@ msgstr ""
|
|
|
164
164
|
msgid "Create a Tailoring file"
|
|
165
165
|
msgstr ""
|
|
166
166
|
|
|
167
|
-
msgid "Create client"
|
|
168
|
-
msgstr ""
|
|
169
|
-
|
|
170
167
|
msgid "Dashboard"
|
|
171
168
|
msgstr "Dashboard"
|
|
172
169
|
|
|
@@ -188,18 +185,12 @@ msgstr ""
|
|
|
188
185
|
msgid "Delete an ARF Report"
|
|
189
186
|
msgstr ""
|
|
190
187
|
|
|
191
|
-
msgid "Delete client"
|
|
192
|
-
msgstr ""
|
|
193
|
-
|
|
194
188
|
msgid "Delete compliance policy %s with all of its reports?"
|
|
195
189
|
msgstr ""
|
|
196
190
|
|
|
197
191
|
msgid "Delete compliance report for %s?"
|
|
198
192
|
msgstr ""
|
|
199
193
|
|
|
200
|
-
msgid "Delete host"
|
|
201
|
-
msgstr ""
|
|
202
|
-
|
|
203
194
|
msgid "Delete reports"
|
|
204
195
|
msgstr ""
|
|
205
196
|
|
|
@@ -832,12 +823,6 @@ msgstr ""
|
|
|
832
823
|
msgid "Update an SCAP content"
|
|
833
824
|
msgstr ""
|
|
834
825
|
|
|
835
|
-
msgid "Update host"
|
|
836
|
-
msgstr ""
|
|
837
|
-
|
|
838
|
-
msgid "Update node"
|
|
839
|
-
msgstr ""
|
|
840
|
-
|
|
841
826
|
msgid "Updated hosts: Assigned with OpenSCAP Proxy: %s"
|
|
842
827
|
msgstr ""
|
|
843
828
|
|
|
Binary file
|
|
@@ -9,7 +9,7 @@ msgid ""
|
|
|
9
9
|
msgstr ""
|
|
10
10
|
"Project-Id-Version: Foreman\n"
|
|
11
11
|
"Report-Msgid-Bugs-To: \n"
|
|
12
|
-
"PO-Revision-Date:
|
|
12
|
+
"PO-Revision-Date: 2020-03-02 20:59+0000\n"
|
|
13
13
|
"Last-Translator: Bryan Kearney <bryan.kearney@gmail.com>\n"
|
|
14
14
|
"Language-Team: Japanese (http://www.transifex.com/foreman/foreman/language/ja/"
|
|
15
15
|
")\n"
|
|
@@ -165,9 +165,6 @@ msgstr "ポリシーの作成"
|
|
|
165
165
|
msgid "Create a Tailoring file"
|
|
166
166
|
msgstr "テーラリングファイルの作成"
|
|
167
167
|
|
|
168
|
-
msgid "Create client"
|
|
169
|
-
msgstr ""
|
|
170
|
-
|
|
171
168
|
msgid "Dashboard"
|
|
172
169
|
msgstr "ダッシュボード"
|
|
173
170
|
|
|
@@ -189,18 +186,12 @@ msgstr "ポリシーの削除"
|
|
|
189
186
|
msgid "Delete an ARF Report"
|
|
190
187
|
msgstr "ARF レポートの定義"
|
|
191
188
|
|
|
192
|
-
msgid "Delete client"
|
|
193
|
-
msgstr ""
|
|
194
|
-
|
|
195
189
|
msgid "Delete compliance policy %s with all of its reports?"
|
|
196
190
|
msgstr "すべてのレポートでコンプライアンスポリシー %s を削除しますか?"
|
|
197
191
|
|
|
198
192
|
msgid "Delete compliance report for %s?"
|
|
199
193
|
msgstr "%s のコンプライアンスレポートを削除しますか?"
|
|
200
194
|
|
|
201
|
-
msgid "Delete host"
|
|
202
|
-
msgstr ""
|
|
203
|
-
|
|
204
195
|
msgid "Delete reports"
|
|
205
196
|
msgstr "レポートを削除"
|
|
206
197
|
|
|
@@ -833,12 +824,6 @@ msgstr "テーラリングファイルの更新"
|
|
|
833
824
|
msgid "Update an SCAP content"
|
|
834
825
|
msgstr "SCAP コンテンツの更新"
|
|
835
826
|
|
|
836
|
-
msgid "Update host"
|
|
837
|
-
msgstr ""
|
|
838
|
-
|
|
839
|
-
msgid "Update node"
|
|
840
|
-
msgstr ""
|
|
841
|
-
|
|
842
827
|
msgid "Updated hosts: Assigned with OpenSCAP Proxy: %s"
|
|
843
828
|
msgstr "更新済みホスト: OpenSCAP プロキシーで割り当て済み: %s"
|
|
844
829
|
|
|
Binary file
|
|
@@ -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:
|
|
12
|
-
"Last-Translator:
|
|
11
|
+
"PO-Revision-Date: 2020-03-02 20:59+0000\n"
|
|
12
|
+
"Last-Translator: Lukáš Zapletal\n"
|
|
13
13
|
"Language-Team: Korean (http://www.transifex.com/foreman/foreman/language/ko/)\n"
|
|
14
14
|
"MIME-Version: 1.0\n"
|
|
15
15
|
"Content-Type: text/plain; charset=UTF-8\n"
|
|
@@ -163,9 +163,6 @@ msgstr ""
|
|
|
163
163
|
msgid "Create a Tailoring file"
|
|
164
164
|
msgstr ""
|
|
165
165
|
|
|
166
|
-
msgid "Create client"
|
|
167
|
-
msgstr ""
|
|
168
|
-
|
|
169
166
|
msgid "Dashboard"
|
|
170
167
|
msgstr "대시보드 "
|
|
171
168
|
|
|
@@ -187,18 +184,12 @@ msgstr ""
|
|
|
187
184
|
msgid "Delete an ARF Report"
|
|
188
185
|
msgstr ""
|
|
189
186
|
|
|
190
|
-
msgid "Delete client"
|
|
191
|
-
msgstr ""
|
|
192
|
-
|
|
193
187
|
msgid "Delete compliance policy %s with all of its reports?"
|
|
194
188
|
msgstr ""
|
|
195
189
|
|
|
196
190
|
msgid "Delete compliance report for %s?"
|
|
197
191
|
msgstr "%s에 대한 컴플라이언스 보고서를 삭제하시겠습니까?"
|
|
198
192
|
|
|
199
|
-
msgid "Delete host"
|
|
200
|
-
msgstr ""
|
|
201
|
-
|
|
202
193
|
msgid "Delete reports"
|
|
203
194
|
msgstr "보고서 삭제"
|
|
204
195
|
|
|
@@ -831,12 +822,6 @@ msgstr ""
|
|
|
831
822
|
msgid "Update an SCAP content"
|
|
832
823
|
msgstr "SCAP 컨텐츠 업데이트"
|
|
833
824
|
|
|
834
|
-
msgid "Update host"
|
|
835
|
-
msgstr ""
|
|
836
|
-
|
|
837
|
-
msgid "Update node"
|
|
838
|
-
msgstr ""
|
|
839
|
-
|
|
840
825
|
msgid "Updated hosts: Assigned with OpenSCAP Proxy: %s"
|
|
841
826
|
msgstr ""
|
|
842
827
|
|
|
Binary file
|
|
@@ -8,7 +8,7 @@ msgid ""
|
|
|
8
8
|
msgstr ""
|
|
9
9
|
"Project-Id-Version: Foreman\n"
|
|
10
10
|
"Report-Msgid-Bugs-To: \n"
|
|
11
|
-
"PO-Revision-Date:
|
|
11
|
+
"PO-Revision-Date: 2020-03-02 20:59+0000\n"
|
|
12
12
|
"Last-Translator: Bryan Kearney <bryan.kearney@gmail.com>\n"
|
|
13
13
|
"Language-Team: Portuguese (Brazil) (http://www.transifex.com/foreman/foreman/l"
|
|
14
14
|
"anguage/pt_BR/)\n"
|
|
@@ -164,9 +164,6 @@ msgstr "Criar uma política"
|
|
|
164
164
|
msgid "Create a Tailoring file"
|
|
165
165
|
msgstr "Criar um arquivo de personalização"
|
|
166
166
|
|
|
167
|
-
msgid "Create client"
|
|
168
|
-
msgstr ""
|
|
169
|
-
|
|
170
167
|
msgid "Dashboard"
|
|
171
168
|
msgstr "Painel"
|
|
172
169
|
|
|
@@ -188,18 +185,12 @@ msgstr "Excluir uma política"
|
|
|
188
185
|
msgid "Delete an ARF Report"
|
|
189
186
|
msgstr "Excluir um relatório ARF"
|
|
190
187
|
|
|
191
|
-
msgid "Delete client"
|
|
192
|
-
msgstr ""
|
|
193
|
-
|
|
194
188
|
msgid "Delete compliance policy %s with all of its reports?"
|
|
195
189
|
msgstr "Excluir política de conformidade %s com todos os relatórios?"
|
|
196
190
|
|
|
197
191
|
msgid "Delete compliance report for %s?"
|
|
198
192
|
msgstr "Remover relatório de conformidade para %s?"
|
|
199
193
|
|
|
200
|
-
msgid "Delete host"
|
|
201
|
-
msgstr ""
|
|
202
|
-
|
|
203
194
|
msgid "Delete reports"
|
|
204
195
|
msgstr "Remover relatórios"
|
|
205
196
|
|
|
@@ -838,12 +829,6 @@ msgstr "Atualizar um arquivo de personalização"
|
|
|
838
829
|
msgid "Update an SCAP content"
|
|
839
830
|
msgstr "Atualizar um conteúdo SCAP"
|
|
840
831
|
|
|
841
|
-
msgid "Update host"
|
|
842
|
-
msgstr ""
|
|
843
|
-
|
|
844
|
-
msgid "Update node"
|
|
845
|
-
msgstr ""
|
|
846
|
-
|
|
847
832
|
msgid "Updated hosts: Assigned with OpenSCAP Proxy: %s"
|
|
848
833
|
msgstr "Hosts atualizados: atribuídos com proxy de OpenSCAP: %s"
|
|
849
834
|
|
|
Binary file
|
|
@@ -9,8 +9,8 @@ msgid ""
|
|
|
9
9
|
msgstr ""
|
|
10
10
|
"Project-Id-Version: Foreman\n"
|
|
11
11
|
"Report-Msgid-Bugs-To: \n"
|
|
12
|
-
"PO-Revision-Date:
|
|
13
|
-
"Last-Translator:
|
|
12
|
+
"PO-Revision-Date: 2020-03-02 20:59+0000\n"
|
|
13
|
+
"Last-Translator: Lukáš Zapletal\n"
|
|
14
14
|
"Language-Team: Russian (http://www.transifex.com/foreman/foreman/language/ru/)"
|
|
15
15
|
"\n"
|
|
16
16
|
"MIME-Version: 1.0\n"
|
|
@@ -167,9 +167,6 @@ msgstr ""
|
|
|
167
167
|
msgid "Create a Tailoring file"
|
|
168
168
|
msgstr ""
|
|
169
169
|
|
|
170
|
-
msgid "Create client"
|
|
171
|
-
msgstr ""
|
|
172
|
-
|
|
173
170
|
msgid "Dashboard"
|
|
174
171
|
msgstr "Обзор"
|
|
175
172
|
|
|
@@ -191,18 +188,12 @@ msgstr ""
|
|
|
191
188
|
msgid "Delete an ARF Report"
|
|
192
189
|
msgstr ""
|
|
193
190
|
|
|
194
|
-
msgid "Delete client"
|
|
195
|
-
msgstr ""
|
|
196
|
-
|
|
197
191
|
msgid "Delete compliance policy %s with all of its reports?"
|
|
198
192
|
msgstr ""
|
|
199
193
|
|
|
200
194
|
msgid "Delete compliance report for %s?"
|
|
201
195
|
msgstr "Удалить отчет %s?"
|
|
202
196
|
|
|
203
|
-
msgid "Delete host"
|
|
204
|
-
msgstr ""
|
|
205
|
-
|
|
206
197
|
msgid "Delete reports"
|
|
207
198
|
msgstr "Удалить отчеты"
|
|
208
199
|
|
|
@@ -835,12 +826,6 @@ msgstr ""
|
|
|
835
826
|
msgid "Update an SCAP content"
|
|
836
827
|
msgstr "Обновить описание SCAP"
|
|
837
828
|
|
|
838
|
-
msgid "Update host"
|
|
839
|
-
msgstr ""
|
|
840
|
-
|
|
841
|
-
msgid "Update node"
|
|
842
|
-
msgstr ""
|
|
843
|
-
|
|
844
829
|
msgid "Updated hosts: Assigned with OpenSCAP Proxy: %s"
|
|
845
830
|
msgstr ""
|
|
846
831
|
|
|
Binary file
|
|
@@ -7,8 +7,8 @@ msgid ""
|
|
|
7
7
|
msgstr ""
|
|
8
8
|
"Project-Id-Version: Foreman\n"
|
|
9
9
|
"Report-Msgid-Bugs-To: \n"
|
|
10
|
-
"PO-Revision-Date:
|
|
11
|
-
"Last-Translator:
|
|
10
|
+
"PO-Revision-Date: 2020-03-02 20:59+0000\n"
|
|
11
|
+
"Last-Translator: Lukáš Zapletal\n"
|
|
12
12
|
"Language-Team: Swedish (Sweden) (http://www.transifex.com/foreman/foreman/lang"
|
|
13
13
|
"uage/sv_SE/)\n"
|
|
14
14
|
"MIME-Version: 1.0\n"
|
|
@@ -163,9 +163,6 @@ msgstr ""
|
|
|
163
163
|
msgid "Create a Tailoring file"
|
|
164
164
|
msgstr ""
|
|
165
165
|
|
|
166
|
-
msgid "Create client"
|
|
167
|
-
msgstr ""
|
|
168
|
-
|
|
169
166
|
msgid "Dashboard"
|
|
170
167
|
msgstr "Instrumentbräda"
|
|
171
168
|
|
|
@@ -187,18 +184,12 @@ msgstr ""
|
|
|
187
184
|
msgid "Delete an ARF Report"
|
|
188
185
|
msgstr ""
|
|
189
186
|
|
|
190
|
-
msgid "Delete client"
|
|
191
|
-
msgstr ""
|
|
192
|
-
|
|
193
187
|
msgid "Delete compliance policy %s with all of its reports?"
|
|
194
188
|
msgstr ""
|
|
195
189
|
|
|
196
190
|
msgid "Delete compliance report for %s?"
|
|
197
191
|
msgstr ""
|
|
198
192
|
|
|
199
|
-
msgid "Delete host"
|
|
200
|
-
msgstr ""
|
|
201
|
-
|
|
202
193
|
msgid "Delete reports"
|
|
203
194
|
msgstr ""
|
|
204
195
|
|
|
@@ -831,12 +822,6 @@ msgstr ""
|
|
|
831
822
|
msgid "Update an SCAP content"
|
|
832
823
|
msgstr ""
|
|
833
824
|
|
|
834
|
-
msgid "Update host"
|
|
835
|
-
msgstr ""
|
|
836
|
-
|
|
837
|
-
msgid "Update node"
|
|
838
|
-
msgstr ""
|
|
839
|
-
|
|
840
825
|
msgid "Updated hosts: Assigned with OpenSCAP Proxy: %s"
|
|
841
826
|
msgstr ""
|
|
842
827
|
|
|
Binary file
|
|
@@ -8,7 +8,7 @@ msgid ""
|
|
|
8
8
|
msgstr ""
|
|
9
9
|
"Project-Id-Version: Foreman\n"
|
|
10
10
|
"Report-Msgid-Bugs-To: \n"
|
|
11
|
-
"PO-Revision-Date:
|
|
11
|
+
"PO-Revision-Date: 2020-03-02 20:59+0000\n"
|
|
12
12
|
"Last-Translator: Bryan Kearney <bryan.kearney@gmail.com>\n"
|
|
13
13
|
"Language-Team: Chinese (China) (http://www.transifex.com/foreman/foreman/langu"
|
|
14
14
|
"age/zh_CN/)\n"
|
|
@@ -164,9 +164,6 @@ msgstr "创建策略"
|
|
|
164
164
|
msgid "Create a Tailoring file"
|
|
165
165
|
msgstr "创建定制文件"
|
|
166
166
|
|
|
167
|
-
msgid "Create client"
|
|
168
|
-
msgstr ""
|
|
169
|
-
|
|
170
167
|
msgid "Dashboard"
|
|
171
168
|
msgstr "仪表板"
|
|
172
169
|
|
|
@@ -188,18 +185,12 @@ msgstr "删除一个策略"
|
|
|
188
185
|
msgid "Delete an ARF Report"
|
|
189
186
|
msgstr "删除 ARF 报告"
|
|
190
187
|
|
|
191
|
-
msgid "Delete client"
|
|
192
|
-
msgstr ""
|
|
193
|
-
|
|
194
188
|
msgid "Delete compliance policy %s with all of its reports?"
|
|
195
189
|
msgstr "是否删除所有报告中的合规策略 %s?"
|
|
196
190
|
|
|
197
191
|
msgid "Delete compliance report for %s?"
|
|
198
192
|
msgstr "是否删除 %s 的合规报告?"
|
|
199
193
|
|
|
200
|
-
msgid "Delete host"
|
|
201
|
-
msgstr ""
|
|
202
|
-
|
|
203
194
|
msgid "Delete reports"
|
|
204
195
|
msgstr "删除报告"
|
|
205
196
|
|
|
@@ -834,12 +825,6 @@ msgstr "更新定制文件"
|
|
|
834
825
|
msgid "Update an SCAP content"
|
|
835
826
|
msgstr "更新 SCAP 内容"
|
|
836
827
|
|
|
837
|
-
msgid "Update host"
|
|
838
|
-
msgstr ""
|
|
839
|
-
|
|
840
|
-
msgid "Update node"
|
|
841
|
-
msgstr ""
|
|
842
|
-
|
|
843
828
|
msgid "Updated hosts: Assigned with OpenSCAP Proxy: %s"
|
|
844
829
|
msgstr "更新的主机:分配了 OpenSCAP 代理: %s"
|
|
845
830
|
|
|
Binary file
|
|
@@ -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:
|
|
12
|
-
"Last-Translator:
|
|
11
|
+
"PO-Revision-Date: 2020-03-02 20:59+0000\n"
|
|
12
|
+
"Last-Translator: Lukáš Zapletal\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"
|
|
@@ -164,9 +164,6 @@ msgstr ""
|
|
|
164
164
|
msgid "Create a Tailoring file"
|
|
165
165
|
msgstr ""
|
|
166
166
|
|
|
167
|
-
msgid "Create client"
|
|
168
|
-
msgstr ""
|
|
169
|
-
|
|
170
167
|
msgid "Dashboard"
|
|
171
168
|
msgstr "控制面板"
|
|
172
169
|
|
|
@@ -188,18 +185,12 @@ msgstr ""
|
|
|
188
185
|
msgid "Delete an ARF Report"
|
|
189
186
|
msgstr ""
|
|
190
187
|
|
|
191
|
-
msgid "Delete client"
|
|
192
|
-
msgstr ""
|
|
193
|
-
|
|
194
188
|
msgid "Delete compliance policy %s with all of its reports?"
|
|
195
189
|
msgstr ""
|
|
196
190
|
|
|
197
191
|
msgid "Delete compliance report for %s?"
|
|
198
192
|
msgstr "刪除 %s 的合規報告?"
|
|
199
193
|
|
|
200
|
-
msgid "Delete host"
|
|
201
|
-
msgstr ""
|
|
202
|
-
|
|
203
194
|
msgid "Delete reports"
|
|
204
195
|
msgstr "刪除報告"
|
|
205
196
|
|
|
@@ -832,12 +823,6 @@ msgstr ""
|
|
|
832
823
|
msgid "Update an SCAP content"
|
|
833
824
|
msgstr "更新 SCAP 內容"
|
|
834
825
|
|
|
835
|
-
msgid "Update host"
|
|
836
|
-
msgstr ""
|
|
837
|
-
|
|
838
|
-
msgid "Update node"
|
|
839
|
-
msgstr ""
|
|
840
|
-
|
|
841
826
|
msgid "Updated hosts: Assigned with OpenSCAP Proxy: %s"
|
|
842
827
|
msgstr ""
|
|
843
828
|
|
data/test/unit/policy_test.rb
CHANGED
|
@@ -37,6 +37,15 @@ class PolicyTest < ActiveSupport::TestCase
|
|
|
37
37
|
assert_equal hostgroup, policy.hostgroups.first
|
|
38
38
|
end
|
|
39
39
|
|
|
40
|
+
test "should not raise when assiging same host by id" do
|
|
41
|
+
host1 = FactoryBot.create(:compliance_host)
|
|
42
|
+
asset = FactoryBot.create(:asset, :assetable_id => host1.id, :assetable_type => 'Host::Base')
|
|
43
|
+
policy = FactoryBot.create(:policy, :assets => [asset], :scap_content => @scap_content, :scap_content_profile => @scap_profile)
|
|
44
|
+
policy.host_ids = [host1, host1].map(&:id)
|
|
45
|
+
policy.save!
|
|
46
|
+
assert_equal 1, policy.hosts.count
|
|
47
|
+
end
|
|
48
|
+
|
|
40
49
|
test "should remove associated hostgroup" do
|
|
41
50
|
hg = FactoryBot.create(:hostgroup)
|
|
42
51
|
asset = FactoryBot.create(:asset, :assetable_id => hg.id, :assetable_type => 'Hostgroup')
|
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: 4.0.3
|
|
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: 2020-
|
|
11
|
+
date: 2020-09-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|
|
@@ -244,6 +244,7 @@ files:
|
|
|
244
244
|
- db/migrate/20171016125613_add_content_title_unique_constraint.foreman_openscap.rb
|
|
245
245
|
- db/migrate/20190103093409_add_deployment_option_to_policy.foreman_openscap.rb
|
|
246
246
|
- db/migrate/20200117135424_migrate_port_overrides_to_int.rb
|
|
247
|
+
- db/migrate/20200803065041_migrate_port_overrides_for_ansible.rb
|
|
247
248
|
- db/seeds.d/75-job_templates.rb
|
|
248
249
|
- db/seeds.d/openscap_feature.rb
|
|
249
250
|
- db/seeds.d/openscap_policy_notification.rb
|
|
@@ -258,59 +259,33 @@ files:
|
|
|
258
259
|
- locale/Makefile
|
|
259
260
|
- locale/action_names.rb
|
|
260
261
|
- locale/de/LC_MESSAGES/foreman_openscap.mo
|
|
261
|
-
- locale/de/foreman_openscap.edit.po
|
|
262
262
|
- locale/de/foreman_openscap.po
|
|
263
|
-
- locale/de/foreman_openscap.po.time_stamp
|
|
264
263
|
- locale/en_GB/LC_MESSAGES/foreman_openscap.mo
|
|
265
|
-
- locale/en_GB/foreman_openscap.edit.po
|
|
266
264
|
- locale/en_GB/foreman_openscap.po
|
|
267
|
-
- locale/en_GB/foreman_openscap.po.time_stamp
|
|
268
265
|
- locale/es/LC_MESSAGES/foreman_openscap.mo
|
|
269
|
-
- locale/es/foreman_openscap.edit.po
|
|
270
266
|
- locale/es/foreman_openscap.po
|
|
271
|
-
- locale/es/foreman_openscap.po.time_stamp
|
|
272
267
|
- locale/foreman_openscap.pot
|
|
273
268
|
- locale/fr/LC_MESSAGES/foreman_openscap.mo
|
|
274
|
-
- locale/fr/foreman_openscap.edit.po
|
|
275
269
|
- locale/fr/foreman_openscap.po
|
|
276
|
-
- locale/fr/foreman_openscap.po.time_stamp
|
|
277
270
|
- locale/gl/LC_MESSAGES/foreman_openscap.mo
|
|
278
|
-
- locale/gl/foreman_openscap.edit.po
|
|
279
271
|
- locale/gl/foreman_openscap.po
|
|
280
|
-
- locale/gl/foreman_openscap.po.time_stamp
|
|
281
272
|
- locale/it/LC_MESSAGES/foreman_openscap.mo
|
|
282
|
-
- locale/it/foreman_openscap.edit.po
|
|
283
273
|
- locale/it/foreman_openscap.po
|
|
284
|
-
- locale/it/foreman_openscap.po.time_stamp
|
|
285
274
|
- locale/ja/LC_MESSAGES/foreman_openscap.mo
|
|
286
|
-
- locale/ja/foreman_openscap.edit.po
|
|
287
275
|
- locale/ja/foreman_openscap.po
|
|
288
|
-
- locale/ja/foreman_openscap.po.time_stamp
|
|
289
276
|
- locale/ko/LC_MESSAGES/foreman_openscap.mo
|
|
290
|
-
- locale/ko/foreman_openscap.edit.po
|
|
291
277
|
- locale/ko/foreman_openscap.po
|
|
292
|
-
- locale/ko/foreman_openscap.po.time_stamp
|
|
293
278
|
- locale/pt_BR/LC_MESSAGES/foreman_openscap.mo
|
|
294
|
-
- locale/pt_BR/foreman_openscap.edit.po
|
|
295
279
|
- locale/pt_BR/foreman_openscap.po
|
|
296
|
-
- locale/pt_BR/foreman_openscap.po.time_stamp
|
|
297
280
|
- locale/ru/LC_MESSAGES/foreman_openscap.mo
|
|
298
|
-
- locale/ru/foreman_openscap.edit.po
|
|
299
281
|
- locale/ru/foreman_openscap.po
|
|
300
|
-
- locale/ru/foreman_openscap.po.time_stamp
|
|
301
282
|
- locale/sv_SE/LC_MESSAGES/foreman_openscap.mo
|
|
302
|
-
- locale/sv_SE/foreman_openscap.edit.po
|
|
303
283
|
- locale/sv_SE/foreman_openscap.po
|
|
304
|
-
- locale/sv_SE/foreman_openscap.po.time_stamp
|
|
305
284
|
- locale/zanata.xml
|
|
306
285
|
- locale/zh_CN/LC_MESSAGES/foreman_openscap.mo
|
|
307
|
-
- locale/zh_CN/foreman_openscap.edit.po
|
|
308
286
|
- locale/zh_CN/foreman_openscap.po
|
|
309
|
-
- locale/zh_CN/foreman_openscap.po.time_stamp
|
|
310
287
|
- locale/zh_TW/LC_MESSAGES/foreman_openscap.mo
|
|
311
|
-
- locale/zh_TW/foreman_openscap.edit.po
|
|
312
288
|
- locale/zh_TW/foreman_openscap.po
|
|
313
|
-
- locale/zh_TW/foreman_openscap.po.time_stamp
|
|
314
289
|
- test/factories/arf_report_factory.rb
|
|
315
290
|
- test/factories/asset_factory.rb
|
|
316
291
|
- test/factories/compliance_host_factory.rb
|
|
@@ -374,53 +349,52 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
374
349
|
- !ruby/object:Gem::Version
|
|
375
350
|
version: '0'
|
|
376
351
|
requirements: []
|
|
377
|
-
|
|
378
|
-
rubygems_version: 2.7.6.2
|
|
352
|
+
rubygems_version: 3.0.3
|
|
379
353
|
signing_key:
|
|
380
354
|
specification_version: 4
|
|
381
355
|
summary: Foreman plug-in for displaying OpenSCAP audit reports
|
|
382
356
|
test_files:
|
|
357
|
+
- test/factories/policy_factory.rb
|
|
358
|
+
- test/factories/compliance_host_factory.rb
|
|
383
359
|
- test/factories/arf_report_factory.rb
|
|
384
360
|
- test/factories/asset_factory.rb
|
|
385
361
|
- test/factories/compliance_log_factory.rb
|
|
386
|
-
- test/factories/policy_arf_report_factory.rb
|
|
387
|
-
- test/factories/policy_factory.rb
|
|
388
362
|
- test/factories/scap_content_related.rb
|
|
389
|
-
- test/factories/
|
|
390
|
-
- test/
|
|
391
|
-
- test/
|
|
392
|
-
- test/
|
|
393
|
-
- test/
|
|
394
|
-
- test/
|
|
395
|
-
- test/
|
|
396
|
-
- test/
|
|
397
|
-
- test/
|
|
363
|
+
- test/factories/policy_arf_report_factory.rb
|
|
364
|
+
- test/test_plugin_helper.rb
|
|
365
|
+
- test/unit/policy_test.rb
|
|
366
|
+
- test/unit/services/lookup_key_overrider_test.rb
|
|
367
|
+
- test/unit/services/report_dashboard/data_test.rb
|
|
368
|
+
- test/unit/services/hostgroup_overrider_test.rb
|
|
369
|
+
- test/unit/services/config_name_service_test.rb
|
|
370
|
+
- test/unit/services/tailoring_files_proxy_check_test.rb
|
|
371
|
+
- test/unit/policy_mailer_test.rb
|
|
372
|
+
- test/unit/tailoring_file_test.rb
|
|
373
|
+
- test/unit/scap_content_test.rb
|
|
374
|
+
- test/unit/message_cleaner_test.rb
|
|
375
|
+
- test/unit/arf_report_status_calculator_test.rb
|
|
376
|
+
- test/unit/compliance_status_test.rb
|
|
377
|
+
- test/unit/openscap_host_test.rb
|
|
378
|
+
- test/unit/concerns/openscap_proxy_extenstions_test.rb
|
|
379
|
+
- test/unit/concerns/host_extensions_test.rb
|
|
380
|
+
- test/unit/arf_report_test.rb
|
|
381
|
+
- test/lib/foreman_openscap/bulk_upload_test.rb
|
|
382
|
+
- test/functional/tailoring_files_controller_test.rb
|
|
383
|
+
- test/functional/api/v2/compliance/scap_content_profiles_controller_test.rb
|
|
384
|
+
- test/functional/api/v2/compliance/tailoring_files_controller_test.rb
|
|
398
385
|
- test/functional/api/v2/compliance/policies_controller_test.rb
|
|
399
386
|
- test/functional/api/v2/compliance/scap_contents_controller_test.rb
|
|
400
|
-
- test/functional/api/v2/compliance/tailoring_files_controller_test.rb
|
|
401
387
|
- test/functional/api/v2/compliance/arf_reports_controller_test.rb
|
|
402
|
-
- test/functional/api/v2/compliance/scap_content_profiles_controller_test.rb
|
|
403
388
|
- test/functional/api/v2/hosts_controller_test.rb
|
|
404
389
|
- test/functional/arf_reports_controller_test.rb
|
|
405
390
|
- test/functional/openscap_proxies_controller_test.rb
|
|
406
|
-
- test/functional/tailoring_files_controller_test.rb
|
|
407
|
-
- test/lib/foreman_openscap/bulk_upload_test.rb
|
|
408
|
-
- test/unit/arf_report_status_calculator_test.rb
|
|
409
|
-
- test/unit/compliance_status_test.rb
|
|
410
|
-
- test/unit/concerns/openscap_proxy_extenstions_test.rb
|
|
411
|
-
- test/unit/concerns/host_extensions_test.rb
|
|
412
|
-
- test/unit/message_cleaner_test.rb
|
|
413
|
-
- test/unit/policy_mailer_test.rb
|
|
414
|
-
- test/unit/scap_content_test.rb
|
|
415
|
-
- test/unit/services/config_name_service_test.rb
|
|
416
|
-
- test/unit/services/hostgroup_overrider_test.rb
|
|
417
|
-
- test/unit/services/lookup_key_overrider_test.rb
|
|
418
|
-
- test/unit/services/report_dashboard/data_test.rb
|
|
419
|
-
- test/unit/services/tailoring_files_proxy_check_test.rb
|
|
420
|
-
- test/unit/tailoring_file_test.rb
|
|
421
|
-
- test/unit/arf_report_test.rb
|
|
422
|
-
- test/unit/openscap_host_test.rb
|
|
423
|
-
- test/unit/policy_test.rb
|
|
424
|
-
- test/helpers/arf_report_dashboard_helper_test.rb
|
|
425
391
|
- test/helpers/policy_dashboard_helper_test.rb
|
|
426
|
-
- test/
|
|
392
|
+
- test/helpers/arf_report_dashboard_helper_test.rb
|
|
393
|
+
- test/files/arf_report/arf_report.json
|
|
394
|
+
- test/files/arf_report/arf_report_msg_desc_changed.json
|
|
395
|
+
- test/files/arf_report/arf_report.html
|
|
396
|
+
- test/files/arf_report/arf_report.bz2
|
|
397
|
+
- test/files/arf_report/arf_report_msg_value_changed.json
|
|
398
|
+
- test/files/scap_contents/ssg-fedora-ds.xml
|
|
399
|
+
- test/files/tailoring_files/ssg-firefox-ds-tailoring.xml
|
|
400
|
+
- test/files/tailoring_files/ssg-firefox-ds-tailoring-2.xml
|