foreman_openscap 4.1.2 → 4.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (193) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/stylesheets/foreman_openscap/policy.css +5 -0
  3. data/app/controllers/api/v2/compliance/oval_contents_controller.rb +72 -0
  4. data/app/controllers/api/v2/compliance/oval_policies_controller.rb +111 -0
  5. data/app/controllers/api/v2/compliance/oval_reports_controller.rb +47 -0
  6. data/app/controllers/concerns/foreman/controller/parameters/oval_content.rb +22 -0
  7. data/app/controllers/concerns/foreman/controller/parameters/oval_policy.rb +22 -0
  8. data/app/controllers/concerns/foreman_openscap/hosts_controller_extensions.rb +1 -1
  9. data/app/graphql/types/cve.rb +17 -0
  10. data/app/graphql/types/oval_content.rb +17 -0
  11. data/app/graphql/types/oval_policy.rb +21 -0
  12. data/app/helpers/arf_reports_helper.rb +7 -24
  13. data/app/helpers/policies_helper.rb +4 -17
  14. data/app/mailers/foreman_openscap/policy_mailer.rb +2 -2
  15. data/app/models/concerns/foreman_openscap/compliance_status_scoped_search.rb +1 -1
  16. data/app/models/concerns/foreman_openscap/data_stream_content.rb +0 -17
  17. data/app/models/concerns/foreman_openscap/host_extensions.rb +11 -11
  18. data/app/models/concerns/foreman_openscap/hostgroup_extensions.rb +3 -5
  19. data/app/models/concerns/foreman_openscap/inherited_policies.rb +11 -0
  20. data/app/models/concerns/foreman_openscap/oval_facet_host_extensions.rb +38 -0
  21. data/app/models/concerns/foreman_openscap/oval_facet_hostgroup_extensions.rb +15 -0
  22. data/app/models/concerns/foreman_openscap/policy_common.rb +75 -0
  23. data/app/models/concerns/foreman_openscap/scap_file_content.rb +24 -0
  24. data/app/models/foreman_openscap/arf_report.rb +2 -2
  25. data/app/models/foreman_openscap/cve.rb +23 -0
  26. data/app/models/foreman_openscap/host/oval_facet.rb +14 -0
  27. data/app/models/foreman_openscap/host_cve.rb +7 -0
  28. data/app/models/foreman_openscap/hostgroup/oval_facet.rb +14 -0
  29. data/app/models/foreman_openscap/hostgroup_oval_facet_oval_policy.rb +6 -0
  30. data/app/models/foreman_openscap/oval_content.rb +26 -0
  31. data/app/models/foreman_openscap/oval_facet_oval_policy.rb +6 -0
  32. data/app/models/foreman_openscap/oval_policy.rb +54 -0
  33. data/app/models/foreman_openscap/oval_status.rb +45 -0
  34. data/app/models/foreman_openscap/policy.rb +10 -73
  35. data/app/models/foreman_openscap/scap_content.rb +1 -0
  36. data/app/models/foreman_openscap/tailoring_file.rb +1 -0
  37. data/app/services/foreman_openscap/client_config/ansible.rb +39 -6
  38. data/app/services/foreman_openscap/client_config/base.rb +5 -1
  39. data/app/services/foreman_openscap/client_config/puppet.rb +2 -1
  40. data/app/services/foreman_openscap/config_name_service.rb +1 -1
  41. data/app/services/foreman_openscap/hostgroup_overrider.rb +2 -24
  42. data/app/services/foreman_openscap/hostgroup_overrider_common.rb +28 -0
  43. data/app/services/foreman_openscap/lookup_key_overrider.rb +30 -62
  44. data/app/services/foreman_openscap/lookup_key_overrides_common.rb +63 -0
  45. data/app/services/foreman_openscap/oval/check_collection.rb +45 -0
  46. data/app/services/foreman_openscap/oval/configure.rb +80 -0
  47. data/app/services/foreman_openscap/oval/cves.rb +41 -0
  48. data/app/services/foreman_openscap/oval/setup.rb +93 -0
  49. data/app/services/foreman_openscap/oval/setup_check.rb +55 -0
  50. data/app/services/foreman_openscap/oval/sync_oval_contents.rb +42 -0
  51. data/app/views/api/v2/compliance/oval_contents/base.json.rabl +6 -0
  52. data/app/views/api/v2/compliance/oval_contents/create.json.rabl +3 -0
  53. data/app/views/api/v2/compliance/oval_contents/index.json.rabl +3 -0
  54. data/app/views/api/v2/compliance/oval_contents/show.json.rabl +3 -0
  55. data/app/views/api/v2/compliance/oval_contents/sync.json.rabl +3 -0
  56. data/app/views/api/v2/compliance/oval_contents/sync_result.json.rabl +11 -0
  57. data/app/views/api/v2/compliance/oval_contents/update.json.rabl +3 -0
  58. data/app/views/api/v2/compliance/oval_policies/create.json.rabl +3 -0
  59. data/app/views/api/v2/compliance/oval_policies/index.json.rabl +3 -0
  60. data/app/views/api/v2/compliance/oval_policies/main.json.rabl +15 -0
  61. data/app/views/api/v2/compliance/oval_policies/show.json.rabl +3 -0
  62. data/app/views/api/v2/compliance/policies/base.json.rabl +2 -2
  63. data/app/views/api/v2/compliance/policies_common/_attrs.json.rabl +2 -0
  64. data/app/views/arf_reports/_output.html.erb +9 -1
  65. data/app/views/arf_reports/show.html.erb +1 -1
  66. data/app/views/arf_reports/show_html.html.erb +1 -0
  67. data/app/views/compliance_hosts/show.html.erb +1 -8
  68. data/app/views/job_templates/run_oval_scans.erb +24 -0
  69. data/app/views/policies/edit.html.erb +3 -2
  70. data/app/views/policies/show.html.erb +3 -1
  71. data/app/views/policies/steps/_deployment_options_form.html.erb +2 -2
  72. data/app/views/scap_contents/edit.html.erb +2 -12
  73. data/app/views/tailoring_files/edit.html.erb +2 -10
  74. data/config/initializers/inflections.rb +12 -0
  75. data/config/routes.rb +19 -0
  76. data/db/migrate/20201019074925_create_oval_policy.rb +13 -0
  77. data/db/migrate/20201020113801_create_oval_facet.rb +14 -0
  78. data/db/migrate/20201021084109_create_hostgroup_oval_facet.rb +14 -0
  79. data/db/migrate/20201106080924_create_oval_content.rb +12 -0
  80. data/db/migrate/20201116110256_add_oval_content_to_oval_policy.rb +5 -0
  81. data/db/migrate/20201120080329_create_cves.rb +13 -0
  82. data/db/migrate/20201202110213_update_puppet_port_param_type.rb +2 -6
  83. data/db/migrate/20201217130800_add_has_errata_to_cve.rb +8 -0
  84. data/db/migrate/20201217161511_add_url_to_oval_content.rb +5 -0
  85. data/db/migrate/20210409095625_add_oval_policy_reference_to_cve.rb +7 -0
  86. data/db/seeds.d/75-job_templates.rb +3 -2
  87. data/lib/foreman_openscap/bulk_upload.rb +2 -2
  88. data/lib/foreman_openscap/engine.rb +67 -9
  89. data/lib/foreman_openscap/version.rb +1 -1
  90. data/lib/tasks/foreman_openscap_tasks.rake +14 -9
  91. data/locale/de/LC_MESSAGES/foreman_openscap.mo +0 -0
  92. data/locale/de/foreman_openscap.edit.po +0 -0
  93. data/locale/de/foreman_openscap.po +215 -17
  94. data/locale/en_GB/LC_MESSAGES/foreman_openscap.mo +0 -0
  95. data/locale/en_GB/foreman_openscap.edit.po +0 -0
  96. data/locale/en_GB/foreman_openscap.po +213 -15
  97. data/locale/es/LC_MESSAGES/foreman_openscap.mo +0 -0
  98. data/locale/es/foreman_openscap.edit.po +0 -0
  99. data/locale/es/foreman_openscap.po +239 -41
  100. data/locale/foreman_openscap.pot +395 -112
  101. data/locale/fr/LC_MESSAGES/foreman_openscap.mo +0 -0
  102. data/locale/fr/foreman_openscap.edit.po +0 -0
  103. data/locale/fr/foreman_openscap.po +243 -45
  104. data/locale/gl/LC_MESSAGES/foreman_openscap.mo +0 -0
  105. data/locale/gl/foreman_openscap.edit.po +0 -0
  106. data/locale/gl/foreman_openscap.po +213 -15
  107. data/locale/it/LC_MESSAGES/foreman_openscap.mo +0 -0
  108. data/locale/it/foreman_openscap.edit.po +0 -0
  109. data/locale/it/foreman_openscap.po +213 -15
  110. data/locale/ja/LC_MESSAGES/foreman_openscap.mo +0 -0
  111. data/locale/ja/foreman_openscap.edit.po +0 -0
  112. data/locale/ja/foreman_openscap.po +262 -66
  113. data/locale/ko/LC_MESSAGES/foreman_openscap.mo +0 -0
  114. data/locale/ko/foreman_openscap.edit.po +0 -0
  115. data/locale/ko/foreman_openscap.po +214 -16
  116. data/locale/pt_BR/LC_MESSAGES/foreman_openscap.mo +0 -0
  117. data/locale/pt_BR/foreman_openscap.edit.po +0 -0
  118. data/locale/pt_BR/foreman_openscap.po +252 -54
  119. data/locale/ru/LC_MESSAGES/foreman_openscap.mo +0 -0
  120. data/locale/ru/foreman_openscap.edit.po +0 -0
  121. data/locale/ru/foreman_openscap.po +214 -16
  122. data/locale/sv_SE/LC_MESSAGES/foreman_openscap.mo +0 -0
  123. data/locale/sv_SE/foreman_openscap.edit.po +0 -0
  124. data/locale/sv_SE/foreman_openscap.po +213 -15
  125. data/locale/zh_CN/LC_MESSAGES/foreman_openscap.mo +0 -0
  126. data/locale/zh_CN/foreman_openscap.edit.po +0 -0
  127. data/locale/zh_CN/foreman_openscap.po +369 -169
  128. data/locale/zh_TW/LC_MESSAGES/foreman_openscap.mo +0 -0
  129. data/locale/zh_TW/foreman_openscap.edit.po +0 -0
  130. data/locale/zh_TW/foreman_openscap.po +214 -16
  131. data/package.json +48 -0
  132. data/test/factories/compliance_host_factory.rb +12 -0
  133. data/test/factories/oval_content_factory.rb +7 -0
  134. data/test/factories/oval_policy_factory.rb +9 -0
  135. data/test/files/oval_contents/ansible-2.9.oval.xml.bz2 +0 -0
  136. data/test/fixtures/cve_fixtures.rb +104 -0
  137. data/test/functional/api/v2/compliance/oval_contents_controller_test.rb +39 -0
  138. data/test/functional/api/v2/compliance/oval_policies_controller_test.rb +141 -0
  139. data/test/functional/api/v2/compliance/oval_reports_controller_test.rb +32 -0
  140. data/test/graphql/queries/oval_contents_query_test.rb +35 -0
  141. data/test/graphql/queries/oval_policies_query_test.rb +35 -0
  142. data/test/test_plugin_helper.rb +4 -0
  143. data/test/unit/oval_host_test.rb +45 -0
  144. data/test/unit/oval_policy_test.rb +133 -0
  145. data/test/unit/oval_status_test.rb +47 -0
  146. data/test/unit/services/oval/cves_test.rb +81 -0
  147. data/test/unit/services/oval/setup_test.rb +87 -0
  148. data/webpack/components/EmptyState.js +67 -0
  149. data/webpack/components/IndexLayout.js +35 -0
  150. data/webpack/components/IndexLayout.scss +3 -0
  151. data/webpack/components/IndexTable/IndexTableHelper.js +9 -0
  152. data/webpack/components/IndexTable/index.js +65 -0
  153. data/webpack/components/RuleSeverity/RuleSeverity.scss +3 -0
  154. data/webpack/components/RuleSeverity/RuleSeverity.test.js +13 -0
  155. data/webpack/components/RuleSeverity/__snapshots__/RuleSeverity.test.js.snap +41 -0
  156. data/webpack/components/RuleSeverity/i_severity-critical.svg +61 -0
  157. data/webpack/components/RuleSeverity/i_severity-high.svg +61 -0
  158. data/webpack/components/RuleSeverity/i_severity-low.svg +62 -0
  159. data/webpack/components/RuleSeverity/i_severity-med.svg +62 -0
  160. data/webpack/components/RuleSeverity/i_unknown.svg +33 -0
  161. data/webpack/components/RuleSeverity/index.js +33 -0
  162. data/webpack/components/withLoading.js +68 -0
  163. data/webpack/global_index.js +5 -0
  164. data/webpack/graphql/queries/cves.gql +18 -0
  165. data/webpack/graphql/queries/ovalContents.gql +11 -0
  166. data/webpack/graphql/queries/ovalPolicies.gql +12 -0
  167. data/webpack/graphql/queries/ovalPolicy.gql +21 -0
  168. data/webpack/helpers/commonHelper.js +1 -0
  169. data/webpack/helpers/globalIdHelper.js +13 -0
  170. data/webpack/helpers/pageParamsHelper.js +31 -0
  171. data/webpack/helpers/pathsHelper.js +22 -0
  172. data/webpack/helpers/tableHelper.js +9 -0
  173. data/webpack/index.js +8 -0
  174. data/webpack/routes/OvalContents/OvalContentsIndex/OvalContentsIndex.js +45 -0
  175. data/webpack/routes/OvalContents/OvalContentsIndex/OvalContentsTable.js +38 -0
  176. data/webpack/routes/OvalContents/OvalContentsIndex/__tests__/OvalContentsIndex.fixtures.js +106 -0
  177. data/webpack/routes/OvalContents/OvalContentsIndex/__tests__/OvalContentsIndex.test.js +75 -0
  178. data/webpack/routes/OvalContents/OvalContentsIndex/index.js +7 -0
  179. data/webpack/routes/OvalPolicies/OvalPoliciesIndex/OvalPoliciesIndex.js +46 -0
  180. data/webpack/routes/OvalPolicies/OvalPoliciesIndex/OvalPoliciesTable.js +44 -0
  181. data/webpack/routes/OvalPolicies/OvalPoliciesIndex/__tests__/OvalPoliciesIndex.fixtures.js +61 -0
  182. data/webpack/routes/OvalPolicies/OvalPoliciesIndex/__tests__/OvalPoliciesIndex.test.js +78 -0
  183. data/webpack/routes/OvalPolicies/OvalPoliciesIndex/index.js +7 -0
  184. data/webpack/routes/OvalPolicies/OvalPoliciesShow/CvesTab.js +48 -0
  185. data/webpack/routes/OvalPolicies/OvalPoliciesShow/CvesTable.js +63 -0
  186. data/webpack/routes/OvalPolicies/OvalPoliciesShow/OvalPoliciesShow.js +78 -0
  187. data/webpack/routes/OvalPolicies/OvalPoliciesShow/OvalPoliciesShowHelper.js +39 -0
  188. data/webpack/routes/OvalPolicies/OvalPoliciesShow/__tests__/OvalPoliciesShow.fixtures.js +78 -0
  189. data/webpack/routes/OvalPolicies/OvalPoliciesShow/__tests__/OvalPoliciesShow.test.js +112 -0
  190. data/webpack/routes/OvalPolicies/OvalPoliciesShow/index.js +35 -0
  191. data/webpack/routes/routes.js +28 -0
  192. data/webpack/testHelper.js +64 -0
  193. metadata +143 -3
@@ -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: 2020-05-11 18:31+0530\n"
12
- "PO-Revision-Date: 2020-05-11 18:31+0530\n"
11
+ "POT-Creation-Date: 2021-05-18 11:38+0000\n"
12
+ "PO-Revision-Date: 2021-05-18 11:38+0000\n"
13
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
15
  "Language: \n"
@@ -42,24 +42,150 @@ msgstr ""
42
42
  msgid "Download ARF report in HTML"
43
43
  msgstr ""
44
44
 
45
- #: ../app/controllers/api/v2/compliance/arf_reports_controller.rb:94
45
+ #: ../app/controllers/api/v2/compliance/arf_reports_controller.rb:96
46
46
  msgid "Policy with id %s not found."
47
47
  msgstr ""
48
48
 
49
- #: ../app/controllers/api/v2/compliance/arf_reports_controller.rb:101
49
+ #: ../app/controllers/api/v2/compliance/arf_reports_controller.rb:103
50
+ #: ../app/controllers/api/v2/compliance/oval_reports_controller.rb:32
50
51
  msgid "Could not find host identified by: %s"
51
52
  msgstr ""
52
53
 
53
- #: ../app/controllers/api/v2/compliance/arf_reports_controller.rb:106
54
+ #: ../app/controllers/api/v2/compliance/arf_reports_controller.rb:108
54
55
  msgid ""
55
56
  "Failed to upload Arf Report, OpenSCAP proxy name or url not found in params wh"
56
57
  "en uploading for %s and host is missing openscap_proxy"
57
58
  msgstr ""
58
59
 
59
- #: ../app/controllers/api/v2/compliance/arf_reports_controller.rb:118
60
+ #: ../app/controllers/api/v2/compliance/arf_reports_controller.rb:120
60
61
  msgid "No proxy found for %{name} or %{url}"
61
62
  msgstr ""
62
63
 
64
+ #: ../app/controllers/api/v2/compliance/oval_contents_controller.rb:10
65
+ msgid "List OVAL contents"
66
+ msgstr ""
67
+
68
+ #: ../app/controllers/api/v2/compliance/oval_contents_controller.rb:18
69
+ msgid "Show an OVAL content"
70
+ msgstr ""
71
+
72
+ #: ../app/controllers/api/v2/compliance/oval_contents_controller.rb:26
73
+ msgid "OVAL content name"
74
+ msgstr ""
75
+
76
+ #: ../app/controllers/api/v2/compliance/oval_contents_controller.rb:27
77
+ msgid "XML containing OVAL content"
78
+ msgstr ""
79
+
80
+ #: ../app/controllers/api/v2/compliance/oval_contents_controller.rb:28
81
+ msgid "Original file name of the OVAL content file"
82
+ msgstr ""
83
+
84
+ #: ../app/controllers/api/v2/compliance/oval_contents_controller.rb:29
85
+ msgid "URL of the OVAL content file"
86
+ msgstr ""
87
+
88
+ #: ../app/controllers/api/v2/compliance/oval_contents_controller.rb:34
89
+ msgid "Create OVAL content"
90
+ msgstr ""
91
+
92
+ #: ../app/controllers/api/v2/compliance/oval_contents_controller.rb:42
93
+ msgid "Update an OVAL content"
94
+ msgstr ""
95
+
96
+ #: ../app/controllers/api/v2/compliance/oval_contents_controller.rb:50
97
+ msgid "Deletes an OVAL content"
98
+ msgstr ""
99
+
100
+ #: ../app/controllers/api/v2/compliance/oval_contents_controller.rb:57
101
+ msgid "Sync contents that have remote source URL"
102
+ msgstr ""
103
+
104
+ #: ../app/controllers/api/v2/compliance/oval_policies_controller.rb:13
105
+ msgid "List OVAL Policies"
106
+ msgstr ""
107
+
108
+ #: ../app/controllers/api/v2/compliance/oval_policies_controller.rb:20
109
+ msgid "Show an OVAL Policy"
110
+ msgstr ""
111
+
112
+ #: ../app/controllers/api/v2/compliance/oval_policies_controller.rb:28
113
+ msgid "OVAL Policy name"
114
+ msgstr ""
115
+
116
+ #: ../app/controllers/api/v2/compliance/oval_policies_controller.rb:29
117
+ msgid "Policy OVAL content ID"
118
+ msgstr ""
119
+
120
+ #: ../app/controllers/api/v2/compliance/oval_policies_controller.rb:30
121
+ msgid "OVAL Policy description"
122
+ msgstr ""
123
+
124
+ #: ../app/controllers/api/v2/compliance/oval_policies_controller.rb:31
125
+ msgid "OVAL Policy schedule period (weekly, monthly, custom)"
126
+ msgstr ""
127
+
128
+ #: ../app/controllers/api/v2/compliance/oval_policies_controller.rb:32
129
+ msgid "OVAL Policy schedule weekday (only if period == \"weekly\")"
130
+ msgstr ""
131
+
132
+ #: ../app/controllers/api/v2/compliance/oval_policies_controller.rb:33
133
+ msgid "OVAL Policy schedule day of month (only if period == \"monthly\")"
134
+ msgstr ""
135
+
136
+ #: ../app/controllers/api/v2/compliance/oval_policies_controller.rb:34
137
+ msgid "OVAL Policy schedule cron line (only if period == \"custom\")"
138
+ msgstr ""
139
+
140
+ #: ../app/controllers/api/v2/compliance/oval_policies_controller.rb:39
141
+ msgid "Create an OVAL Policy"
142
+ msgstr ""
143
+
144
+ #: ../app/controllers/api/v2/compliance/oval_policies_controller.rb:47
145
+ msgid "Update an OVAL Policy"
146
+ msgstr ""
147
+
148
+ #: ../app/controllers/api/v2/compliance/oval_policies_controller.rb:55
149
+ msgid "Delete an OVAL Policy"
150
+ msgstr ""
151
+
152
+ #: ../app/controllers/api/v2/compliance/oval_policies_controller.rb:62
153
+ msgid "Assign hostgroups to an OVAL Policy"
154
+ msgstr ""
155
+
156
+ #: ../app/controllers/api/v2/compliance/oval_policies_controller.rb:64
157
+ msgid "Array of hostgroup IDs"
158
+ msgstr ""
159
+
160
+ #: ../app/controllers/api/v2/compliance/oval_policies_controller.rb:67
161
+ msgid "hostgroups"
162
+ msgstr ""
163
+
164
+ #: ../app/controllers/api/v2/compliance/oval_policies_controller.rb:70
165
+ msgid "Assign hosts to an OVAL Policy"
166
+ msgstr ""
167
+
168
+ #: ../app/controllers/api/v2/compliance/oval_policies_controller.rb:72
169
+ msgid "Array of host IDs"
170
+ msgstr ""
171
+
172
+ #: ../app/controllers/api/v2/compliance/oval_policies_controller.rb:75
173
+ msgid "hosts"
174
+ msgstr ""
175
+
176
+ #: ../app/controllers/api/v2/compliance/oval_policies_controller.rb:78
177
+ #: ../app/controllers/api/v2/compliance/policies_controller.rb:75
178
+ msgid "Show a policy's SCAP content"
179
+ msgstr ""
180
+
181
+ #: ../app/controllers/api/v2/compliance/oval_policies_controller.rb:104
182
+ msgid "OVAL policy successfully configured with %s."
183
+ msgstr ""
184
+
185
+ #: ../app/controllers/api/v2/compliance/oval_reports_controller.rb:11
186
+ msgid "Upload an OVAL report - a list of CVEs for given host"
187
+ msgstr ""
188
+
63
189
  #: ../app/controllers/api/v2/compliance/policies_controller.rb:18
64
190
  msgid "List Policies"
65
191
  msgstr ""
@@ -132,10 +258,6 @@ msgstr ""
132
258
  msgid "Delete a Policy"
133
259
  msgstr ""
134
260
 
135
- #: ../app/controllers/api/v2/compliance/policies_controller.rb:75
136
- msgid "Show a policy's SCAP content"
137
- msgstr ""
138
-
139
261
  #: ../app/controllers/api/v2/compliance/policies_controller.rb:85
140
262
  msgid "Show a policy's Tailoring file"
141
263
  msgstr ""
@@ -148,43 +270,65 @@ msgstr ""
148
270
  msgid "List SCAP content profiles"
149
271
  msgstr ""
150
272
 
151
- #: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:10
273
+ #: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:16
152
274
  msgid "List SCAP contents"
153
275
  msgstr ""
154
276
 
155
- #: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:18
277
+ #: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:24
156
278
  msgid "Download an SCAP content as XML"
157
279
  msgstr ""
158
280
 
159
- #: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:27
281
+ #: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:33
160
282
  msgid "Show an SCAP content"
161
283
  msgstr ""
162
284
 
163
- #: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:34
285
+ #: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:40
164
286
  msgid "SCAP content name"
165
287
  msgstr ""
166
288
 
167
- #: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:35
289
+ #: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:41
168
290
  msgid "XML containing SCAP content"
169
291
  msgstr ""
170
292
 
171
- #: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:36
293
+ #: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:42
172
294
  #: ../app/controllers/api/v2/compliance/tailoring_files_controller.rb:37
173
295
  msgid "Original file name of the XML file"
174
296
  msgstr ""
175
297
 
176
- #: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:41
298
+ #: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:47
177
299
  msgid "Create SCAP content"
178
300
  msgstr ""
179
301
 
180
- #: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:49
302
+ #: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:55
181
303
  msgid "Update an SCAP content"
182
304
  msgstr ""
183
305
 
184
- #: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:57
306
+ #: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:63
185
307
  msgid "Deletes an SCAP content"
186
308
  msgstr ""
187
309
 
310
+ #: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:70
311
+ msgid "Upload scap contents in bulk"
312
+ msgstr ""
313
+
314
+ #: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:71
315
+ msgid "Type of the upload"
316
+ msgstr ""
317
+
318
+ #: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:72
319
+ msgid "File paths to upload when using \"files\" upload type"
320
+ msgstr ""
321
+
322
+ #: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:73
323
+ msgid "Directory to upload when using \"directory\" upload type"
324
+ msgstr ""
325
+
326
+ #: ../app/controllers/api/v2/compliance/scap_contents_controller.rb:86
327
+ msgid ""
328
+ "Please specify import type, received: %{received}, expected one of: %{expected"
329
+ "}"
330
+ msgstr ""
331
+
188
332
  #: ../app/controllers/api/v2/compliance/tailoring_files_controller.rb:11
189
333
  msgid "List Tailoring files"
190
334
  msgstr ""
@@ -350,50 +494,50 @@ msgstr ""
350
494
  msgid "Failed only"
351
495
  msgstr ""
352
496
 
353
- #: ../app/helpers/arf_reports_helper.rb:21
497
+ #: ../app/helpers/arf_reports_helper.rb:20
354
498
  #: ../app/views/arf_reports/index.html.erb:1
355
499
  #: ../app/views/arf_reports/welcome.html.erb:1
356
500
  #: ../app/views/arf_reports/welcome.html.erb:7
357
501
  msgid "Compliance Reports"
358
502
  msgstr ""
359
503
 
360
- #: ../app/helpers/arf_reports_helper.rb:57
504
+ #: ../app/helpers/arf_reports_helper.rb:40
361
505
  msgid "Delete reports"
362
506
  msgstr ""
363
507
 
364
- #: ../app/helpers/arf_reports_helper.rb:62
508
+ #: ../app/helpers/arf_reports_helper.rb:45
365
509
  msgid "Select Action"
366
510
  msgstr ""
367
511
 
368
- #: ../app/helpers/arf_reports_helper.rb:65
512
+ #: ../app/helpers/arf_reports_helper.rb:48
369
513
  msgid "%s - The following compliance reports are about to be changed"
370
514
  msgstr ""
371
515
 
372
- #: ../app/helpers/arf_reports_helper.rb:70
516
+ #: ../app/helpers/arf_reports_helper.rb:53
373
517
  msgid "No proxy found!"
374
518
  msgstr ""
375
519
 
376
- #: ../app/helpers/arf_reports_helper.rb:75
520
+ #: ../app/helpers/arf_reports_helper.rb:58
377
521
  msgid "Reported at %s"
378
522
  msgstr ""
379
523
 
380
- #: ../app/helpers/arf_reports_helper.rb:76
524
+ #: ../app/helpers/arf_reports_helper.rb:59
381
525
  msgid " for policy %s"
382
526
  msgstr ""
383
527
 
384
- #: ../app/helpers/arf_reports_helper.rb:78
528
+ #: ../app/helpers/arf_reports_helper.rb:61
385
529
  msgid " through %s"
386
530
  msgstr ""
387
531
 
388
- #: ../app/helpers/arf_reports_helper.rb:83
532
+ #: ../app/helpers/arf_reports_helper.rb:66
389
533
  msgid "Hosts failing this rule"
390
534
  msgstr ""
391
535
 
392
- #: ../app/helpers/arf_reports_helper.rb:84
536
+ #: ../app/helpers/arf_reports_helper.rb:67
393
537
  msgid "Hosts passing this rule"
394
538
  msgstr ""
395
539
 
396
- #: ../app/helpers/arf_reports_helper.rb:85
540
+ #: ../app/helpers/arf_reports_helper.rb:68
397
541
  msgid "Hosts othering this rule"
398
542
  msgstr ""
399
543
 
@@ -442,7 +586,7 @@ msgstr ""
442
586
 
443
587
  #: ../app/helpers/compliance_hosts_helper.rb:35
444
588
  #: ../app/models/foreman_openscap/compliance_status.rb:8
445
- #: ../lib/foreman_openscap/engine.rb:138
589
+ #: ../lib/foreman_openscap/engine.rb:158
446
590
  msgid "Compliance"
447
591
  msgstr ""
448
592
 
@@ -463,7 +607,7 @@ msgid "Choose existing SCAP Content"
463
607
  msgstr ""
464
608
 
465
609
  #: ../app/helpers/policies_helper.rb:57 ../app/helpers/policies_helper.rb:62
466
- #: ../app/models/foreman_openscap/policy.rb:111
610
+ #: ../app/models/foreman_openscap/policy.rb:11
467
611
  #: ../app/views/policies/_form.html.erb:10
468
612
  #: ../app/views/scap_contents/welcome.html.erb:1
469
613
  #: ../app/views/scap_contents/welcome.html.erb:6
@@ -504,10 +648,6 @@ msgstr ""
504
648
  msgid "Cancel"
505
649
  msgstr ""
506
650
 
507
- #: ../app/helpers/policies_helper.rb:145 ../lib/foreman_openscap/engine.rb:139
508
- msgid "Policies"
509
- msgstr ""
510
-
511
651
  #: ../app/helpers/policy_dashboard_helper.rb:11
512
652
  msgid "Compliant hosts"
513
653
  msgstr ""
@@ -517,7 +657,7 @@ msgid "Incompliant hosts"
517
657
  msgstr ""
518
658
 
519
659
  #: ../app/helpers/policy_dashboard_helper.rb:13
520
- #: ../app/models/foreman_openscap/compliance_status.rb:20
660
+ #: ../app/models/foreman_openscap/compliance_status.rb:24
521
661
  msgid "Inconclusive"
522
662
  msgstr ""
523
663
 
@@ -573,7 +713,7 @@ msgstr ""
573
713
  msgid "is not included in SCAP_RESULT"
574
714
  msgstr ""
575
715
 
576
- #: ../app/models/concerns/foreman_openscap/openscap_proxy_core_extensions.rb:69
716
+ #: ../app/models/concerns/foreman_openscap/openscap_proxy_core_extensions.rb:65
577
717
  msgid "must have Openscap feature"
578
718
  msgstr ""
579
719
 
@@ -581,90 +721,111 @@ msgstr ""
581
721
  msgid "No OpenSCAP proxy found for %{class} with id %{id}"
582
722
  msgstr ""
583
723
 
584
- #: ../app/models/foreman_openscap/compliance_status.rb:18
724
+ #: ../app/models/concerns/foreman_openscap/policy_common.rb:15
725
+ msgid "does not consist of 5 parts separated by space"
726
+ msgstr ""
727
+
728
+ #: ../app/models/concerns/foreman_openscap/policy_common.rb:21
729
+ #: ../app/models/foreman_openscap/oval_policy.rb:14
730
+ #: ../app/models/foreman_openscap/policy.rb:34
731
+ msgid "is not a valid value"
732
+ msgstr ""
733
+
734
+ #: ../app/models/concerns/foreman_openscap/policy_common.rb:27
735
+ msgid "must be between 1 and 31"
736
+ msgstr ""
737
+
738
+ #: ../app/models/foreman_openscap/compliance_status.rb:22
585
739
  #: ../app/views/foreman_openscap/policy_mailer/_dashboard.erb:13
586
740
  msgid "Compliant"
587
741
  msgstr ""
588
742
 
589
- #: ../app/models/foreman_openscap/compliance_status.rb:22
743
+ #: ../app/models/foreman_openscap/compliance_status.rb:26
590
744
  #: ../app/views/foreman_openscap/policy_mailer/_dashboard.erb:17
591
745
  msgid "Incompliant"
592
746
  msgstr ""
593
747
 
594
- #: ../app/models/foreman_openscap/compliance_status.rb:24
748
+ #: ../app/models/foreman_openscap/compliance_status.rb:28
595
749
  msgid "Unknown Compliance status"
596
750
  msgstr ""
597
751
 
598
- #: ../app/models/foreman_openscap/policy.rb:31
599
- #: ../app/models/foreman_openscap/policy.rb:273
600
- msgid "is not a valid value"
752
+ #: ../app/models/foreman_openscap/oval_status.rb:8
753
+ msgid "OVAL scan"
601
754
  msgstr ""
602
755
 
603
- #: ../app/models/foreman_openscap/policy.rb:51
604
- msgid "Cannot generate HTML guide, scap content is missing."
756
+ #: ../app/models/foreman_openscap/oval_status.rb:14
757
+ msgid "No Vulnerabilities found"
605
758
  msgstr ""
606
759
 
607
- #: ../app/models/foreman_openscap/policy.rb:57
608
- msgid "Cannot generate HTML guide, no valid OpenSCAP proxy server found."
760
+ #: ../app/models/foreman_openscap/oval_status.rb:16
761
+ msgid "%s vulnerabilities found"
762
+ msgstr ""
763
+
764
+ #: ../app/models/foreman_openscap/oval_status.rb:18
765
+ msgid "%s vulnerabilities with available patch found"
766
+ msgstr ""
767
+
768
+ #: ../app/models/foreman_openscap/oval_status.rb:20
769
+ msgid "Unknown OVAL status"
609
770
  msgstr ""
610
771
 
611
- #: ../app/models/foreman_openscap/policy.rb:111
772
+ #: ../app/models/foreman_openscap/policy.rb:11
612
773
  #: ../app/views/policies/_form.html.erb:8
613
774
  msgid "Deployment Options"
614
775
  msgstr ""
615
776
 
616
- #: ../app/models/foreman_openscap/policy.rb:111
777
+ #: ../app/models/foreman_openscap/policy.rb:11
617
778
  msgid "Policy Attributes"
618
779
  msgstr ""
619
780
 
620
- #: ../app/models/foreman_openscap/policy.rb:111
781
+ #: ../app/models/foreman_openscap/policy.rb:11
621
782
  #: ../app/views/policies/_form.html.erb:11
622
783
  msgid "Schedule"
623
784
  msgstr ""
624
785
 
625
- #: ../app/models/foreman_openscap/policy.rb:112
786
+ #: ../app/models/foreman_openscap/policy.rb:11
626
787
  #: ../app/views/policies/_form.html.erb:13
627
788
  #: ../app/views/scap_contents/_form.html.erb:11
628
789
  #: ../app/views/tailoring_files/_form.html.erb:11
629
790
  msgid "Locations"
630
791
  msgstr ""
631
792
 
632
- #: ../app/models/foreman_openscap/policy.rb:113
793
+ #: ../app/models/foreman_openscap/policy.rb:11
633
794
  #: ../app/views/policies/_form.html.erb:16
634
795
  #: ../app/views/scap_contents/_form.html.erb:14
635
796
  #: ../app/views/tailoring_files/_form.html.erb:14
636
797
  msgid "Organizations"
637
798
  msgstr ""
638
799
 
639
- #: ../app/models/foreman_openscap/policy.rb:114
800
+ #: ../app/models/foreman_openscap/policy.rb:11
640
801
  msgid "Hostgroups"
641
802
  msgstr ""
642
803
 
643
- #: ../app/models/foreman_openscap/policy.rb:267
644
- msgid "does not consist of 5 parts separated by space"
804
+ #: ../app/models/foreman_openscap/policy.rb:55
805
+ msgid "Cannot generate HTML guide, scap content is missing."
645
806
  msgstr ""
646
807
 
647
- #: ../app/models/foreman_openscap/policy.rb:279
648
- msgid "must be between 1 and 31"
808
+ #: ../app/models/foreman_openscap/policy.rb:61
809
+ msgid "Cannot generate HTML guide, no valid OpenSCAP proxy server found."
649
810
  msgstr ""
650
811
 
651
- #: ../app/models/foreman_openscap/policy.rb:284
812
+ #: ../app/models/foreman_openscap/policy.rb:227
652
813
  msgid "must be present when tailoring file profile present"
653
814
  msgstr ""
654
815
 
655
- #: ../app/models/foreman_openscap/policy.rb:285
816
+ #: ../app/models/foreman_openscap/policy.rb:228
656
817
  msgid "must be present when tailoring file present"
657
818
  msgstr ""
658
819
 
659
- #: ../app/models/foreman_openscap/policy.rb:290
820
+ #: ../app/models/foreman_openscap/policy.rb:233
660
821
  msgid "does not come from selected tailoring file"
661
822
  msgstr ""
662
823
 
663
- #: ../app/models/foreman_openscap/policy.rb:296
824
+ #: ../app/models/foreman_openscap/policy.rb:239
664
825
  msgid "does not have the selected SCAP content profile"
665
826
  msgstr ""
666
827
 
667
- #: ../app/models/foreman_openscap/policy.rb:328
828
+ #: ../app/models/foreman_openscap/policy.rb:271
668
829
  msgid ""
669
830
  "cannot assign to %s, all assigned policies must be deployed in the same way, c"
670
831
  "heck 'deploy by' for each assigned policy"
@@ -674,11 +835,17 @@ msgstr ""
674
835
  msgid "invalid type %s"
675
836
  msgstr ""
676
837
 
677
- #: ../app/services/foreman_openscap/client_config/ansible.rb:32
838
+ #: ../app/services/foreman_openscap/client_config/ansible.rb:31
839
+ msgid ""
840
+ "theforeman.foreman_scap_client Ansible Role not found, please import it before"
841
+ " running this action again."
842
+ msgstr ""
843
+
844
+ #: ../app/services/foreman_openscap/client_config/ansible.rb:54
678
845
  msgid "Ansible role"
679
846
  msgstr ""
680
847
 
681
- #: ../app/services/foreman_openscap/client_config/ansible.rb:33
848
+ #: ../app/services/foreman_openscap/client_config/ansible.rb:55
682
849
  msgid "Ansible variables"
683
850
  msgstr ""
684
851
 
@@ -690,25 +857,25 @@ msgstr ""
690
857
  msgid "Smart Class Parameters"
691
858
  msgstr ""
692
859
 
693
- #: ../app/services/foreman_openscap/lookup_key_overrider.rb:13
860
+ #: ../app/services/foreman_openscap/lookup_key_overrider.rb:19
694
861
  msgid ""
695
862
  "%{type} was selected to deploy policy to clients, but %{type} is not available"
696
863
  ". Are you missing a plugin?"
697
864
  msgstr ""
698
865
 
699
- #: ../app/services/foreman_openscap/lookup_key_overrider.rb:27
866
+ #: ../app/services/foreman_openscap/lookup_key_overrider.rb:26
700
867
  msgid ""
701
868
  "Required %{msg_name} %{class} was not found, please ensure it is imported firs"
702
869
  "t."
703
870
  msgstr ""
704
871
 
705
- #: ../app/services/foreman_openscap/lookup_key_overrider.rb:57
872
+ #: ../app/services/foreman_openscap/lookup_key_overrider.rb:34
706
873
  msgid ""
707
874
  "The following %{key_name} were missing for %{item_name}: %{key_names}. Make su"
708
875
  "re they are imported before proceeding."
709
876
  msgstr ""
710
877
 
711
- #: ../app/services/foreman_openscap/lookup_key_overrider.rb:90
878
+ #: ../app/services/foreman_openscap/lookup_key_overrider.rb:56
712
879
  msgid "Failed to save when overriding parameters for %{config_tool}, cause: %{errors}"
713
880
  msgstr ""
714
881
 
@@ -726,6 +893,52 @@ msgid ""
726
893
  "lable so Foreman can check their versions."
727
894
  msgstr ""
728
895
 
896
+ #: ../app/services/foreman_openscap/oval/configure.rb:60
897
+ msgid "Was %s configured successfully?"
898
+ msgstr ""
899
+
900
+ #: ../app/services/foreman_openscap/oval/configure.rb:61
901
+ msgid "Assign openscap_proxy to %s before proceeding."
902
+ msgstr ""
903
+
904
+ #: ../app/services/foreman_openscap/oval/configure.rb:73
905
+ msgid "Was %{model_name} %{name} configured successfully?"
906
+ msgstr ""
907
+
908
+ #: ../app/services/foreman_openscap/oval/setup.rb:56
909
+ msgid "Could not update Ansible Variables with override: true"
910
+ msgstr ""
911
+
912
+ #: ../app/services/foreman_openscap/oval/setup.rb:61
913
+ msgid "Is foreman_ansible present?"
914
+ msgstr ""
915
+
916
+ #: ../app/services/foreman_openscap/oval/setup.rb:62
917
+ msgid ""
918
+ "foreman_ansible plugin not found, please install it before running this action"
919
+ " again."
920
+ msgstr ""
921
+
922
+ #: ../app/services/foreman_openscap/oval/setup.rb:66
923
+ msgid "Is theforeman.foreman_scap_client present?"
924
+ msgstr ""
925
+
926
+ #: ../app/services/foreman_openscap/oval/setup.rb:71
927
+ msgid "Are required variables for theforeman.foreman_scap_client present?"
928
+ msgstr ""
929
+
930
+ #: ../app/services/foreman_openscap/oval/setup.rb:72
931
+ msgid ""
932
+ "The following Ansible Variables were not found: %{missing_vars}, please import"
933
+ " them before running this action again."
934
+ msgstr ""
935
+
936
+ #: ../app/services/foreman_openscap/oval/setup.rb:76
937
+ #: ../app/services/foreman_openscap/oval/setup.rb:81
938
+ #: ../app/services/foreman_openscap/oval/setup.rb:86
939
+ msgid "Is %s param set to be overriden?"
940
+ msgstr ""
941
+
729
942
  #: ../app/validators/foreman_openscap/data_stream_validator.rb:9
730
943
  msgid "No proxy with OpenSCAP feature was found."
731
944
  msgstr ""
@@ -776,7 +989,7 @@ msgid "Openscap Proxy"
776
989
  msgstr ""
777
990
 
778
991
  #: ../app/views/arf_reports/_list.html.erb:13
779
- #: ../app/views/arf_reports/_output.html.erb:8
992
+ #: ../app/views/arf_reports/_output.html.erb:16
780
993
  #: ../app/views/policies/_list.html.erb:8
781
994
  #: ../app/views/policy_dashboard/_policy_reports.html.erb:12
782
995
  #: ../app/views/scap_contents/_list.html.erb:6
@@ -812,23 +1025,23 @@ msgstr ""
812
1025
  msgid "Total"
813
1026
  msgstr ""
814
1027
 
815
- #: ../app/views/arf_reports/_output.html.erb:4
1028
+ #: ../app/views/arf_reports/_output.html.erb:12
816
1029
  msgid "Result"
817
1030
  msgstr ""
818
1031
 
819
- #: ../app/views/arf_reports/_output.html.erb:5
1032
+ #: ../app/views/arf_reports/_output.html.erb:13
820
1033
  msgid "Message"
821
1034
  msgstr ""
822
1035
 
823
- #: ../app/views/arf_reports/_output.html.erb:6
1036
+ #: ../app/views/arf_reports/_output.html.erb:14
824
1037
  msgid "Resource"
825
1038
  msgstr ""
826
1039
 
827
- #: ../app/views/arf_reports/_output.html.erb:7
1040
+ #: ../app/views/arf_reports/_output.html.erb:15
828
1041
  msgid "Severity"
829
1042
  msgstr ""
830
1043
 
831
- #: ../app/views/arf_reports/_output.html.erb:25
1044
+ #: ../app/views/arf_reports/_output.html.erb:33
832
1045
  msgid "Nothing to show"
833
1046
  msgstr ""
834
1047
 
@@ -860,7 +1073,7 @@ msgstr ""
860
1073
  msgid "Download HTML"
861
1074
  msgstr ""
862
1075
 
863
- #: ../app/views/arf_reports/show_html.html.erb:9
1076
+ #: ../app/views/arf_reports/show_html.html.erb:10
864
1077
  msgid "Loading..."
865
1078
  msgstr ""
866
1079
 
@@ -874,38 +1087,30 @@ msgstr ""
874
1087
  msgid "Documentation"
875
1088
  msgstr ""
876
1089
 
877
- #: ../app/views/compliance_hosts/show.html.erb:9
878
- msgid "Compliance Hosts"
879
- msgstr ""
880
-
881
- #: ../app/views/compliance_hosts/show.html.erb:11
882
- msgid "%s compliance reports by policy"
883
- msgstr ""
884
-
885
- #: ../app/views/compliance_hosts/show.html.erb:15
1090
+ #: ../app/views/compliance_hosts/show.html.erb:8
886
1091
  msgid "%s compliance report by policy"
887
1092
  msgid_plural "%s compliance reports by policy"
888
1093
  msgstr[0] ""
889
1094
  msgstr[1] ""
890
1095
 
891
- #: ../app/views/compliance_hosts/show.html.erb:17
1096
+ #: ../app/views/compliance_hosts/show.html.erb:10
892
1097
  msgid "Policy %s"
893
1098
  msgstr ""
894
1099
 
895
- #: ../app/views/compliance_hosts/show.html.erb:23
1100
+ #: ../app/views/compliance_hosts/show.html.erb:16
896
1101
  msgid "%s latest report"
897
1102
  msgstr ""
898
1103
 
899
- #: ../app/views/compliance_hosts/show.html.erb:35
1104
+ #: ../app/views/compliance_hosts/show.html.erb:28
900
1105
  msgid "%s reports over time"
901
1106
  msgstr ""
902
1107
 
903
- #: ../app/views/compliance_hosts/show.html.erb:43
1108
+ #: ../app/views/compliance_hosts/show.html.erb:36
904
1109
  msgid "No report for this policy"
905
1110
  msgstr ""
906
1111
 
907
1112
  #: ../app/views/dashboard/_compliance_host_reports_widget.html.erb:1
908
- #: ../lib/foreman_openscap/engine.rb:154
1113
+ #: ../lib/foreman_openscap/engine.rb:182
909
1114
  msgid "Latest Compliance Reports"
910
1115
  msgstr ""
911
1116
 
@@ -922,7 +1127,7 @@ msgid "Policy is missing"
922
1127
  msgstr ""
923
1128
 
924
1129
  #: ../app/views/dashboard/_compliance_reports_breakdown_widget.html.erb:1
925
- #: ../lib/foreman_openscap/engine.rb:156
1130
+ #: ../lib/foreman_openscap/engine.rb:184
926
1131
  msgid "Compliance Reports Breakdown"
927
1132
  msgstr ""
928
1133
 
@@ -939,10 +1144,12 @@ msgid "Changed?"
939
1144
  msgstr ""
940
1145
 
941
1146
  #: ../app/views/foreman_openscap/policy_mailer/_hosts.erb:36
1147
+ #: ../webpack/routes/OvalPolicies/OvalPoliciesShow/CvesTable.js:35
942
1148
  msgid "Yes"
943
1149
  msgstr ""
944
1150
 
945
1151
  #: ../app/views/foreman_openscap/policy_mailer/_hosts.erb:36
1152
+ #: ../webpack/routes/OvalPolicies/OvalPoliciesShow/CvesTable.js:35
946
1153
  msgid "No"
947
1154
  msgstr ""
948
1155
 
@@ -1045,7 +1252,9 @@ msgid "Select Compliance Policy"
1045
1252
  msgstr ""
1046
1253
 
1047
1254
  #: ../app/views/policies/edit.html.erb:1
1048
- msgid "Edit Compliance Policy"
1255
+ #: ../app/views/scap_contents/edit.html.erb:1
1256
+ #: ../app/views/tailoring_files/edit.html.erb:1
1257
+ msgid "Edit %s"
1049
1258
  msgstr ""
1050
1259
 
1051
1260
  #: ../app/views/policies/index.html.erb:2
@@ -1054,6 +1263,18 @@ msgstr ""
1054
1263
  msgid "Compliance Policies"
1055
1264
  msgstr ""
1056
1265
 
1266
+ #: ../app/views/policies/show.html.erb:1
1267
+ msgid "Details for Compliance Policy %s"
1268
+ msgstr ""
1269
+
1270
+ #: ../app/views/policies/steps/_deployment_options_form.html.erb:6
1271
+ msgid "There are significant differences in deployment options."
1272
+ msgstr ""
1273
+
1274
+ #: ../app/views/policies/steps/_deployment_options_form.html.erb:7
1275
+ msgid "Please make sure you understand them by reading our"
1276
+ msgstr ""
1277
+
1057
1278
  #: ../app/views/policies/steps/_schedule_form.html.erb:9
1058
1279
  msgid "Choose day in month"
1059
1280
  msgstr ""
@@ -1154,14 +1375,6 @@ msgstr ""
1154
1375
  msgid "Delete scap content %s?"
1155
1376
  msgstr ""
1156
1377
 
1157
- #: ../app/views/scap_contents/edit.html.erb:1
1158
- msgid "Edit SCAP Content"
1159
- msgstr ""
1160
-
1161
- #: ../app/views/scap_contents/edit.html.erb:5
1162
- msgid "Scap Contents"
1163
- msgstr ""
1164
-
1165
1378
  #: ../app/views/scap_contents/index.html.erb:1
1166
1379
  msgid "SCAP Contents"
1167
1380
  msgstr ""
@@ -1223,15 +1436,10 @@ msgstr ""
1223
1436
  msgid "Delete tailoring file %s?"
1224
1437
  msgstr ""
1225
1438
 
1226
- #: ../app/views/tailoring_files/edit.html.erb:1
1227
- msgid "Edit Tailoring File"
1228
- msgstr ""
1229
-
1230
- #: ../app/views/tailoring_files/edit.html.erb:4
1231
1439
  #: ../app/views/tailoring_files/index.html.erb:1
1232
1440
  #: ../app/views/tailoring_files/welcome.html.erb:1
1233
1441
  #: ../app/views/tailoring_files/welcome.html.erb:6
1234
- #: ../lib/foreman_openscap/engine.rb:148
1442
+ #: ../lib/foreman_openscap/engine.rb:168
1235
1443
  msgid "Tailoring Files"
1236
1444
  msgstr ""
1237
1445
 
@@ -1268,32 +1476,107 @@ msgstr ""
1268
1476
  msgid "A summary of reports for OpenSCAP policies"
1269
1477
  msgstr ""
1270
1478
 
1271
- #: ../lib/foreman_openscap/engine.rb:142
1479
+ #: ../lib/foreman_openscap/engine.rb:159
1480
+ msgid "Policies"
1481
+ msgstr ""
1482
+
1483
+ #: ../lib/foreman_openscap/engine.rb:162
1272
1484
  msgid "SCAP contents"
1273
1485
  msgstr ""
1274
1486
 
1275
- #: ../lib/foreman_openscap/engine.rb:145
1487
+ #: ../lib/foreman_openscap/engine.rb:165
1276
1488
  msgid "Reports"
1277
1489
  msgstr ""
1278
1490
 
1279
- #: ../lib/foreman_openscap/engine.rb:170
1491
+ #: ../lib/foreman_openscap/engine.rb:171
1492
+ #: ../webpack/routes/OvalContents/OvalContentsIndex/OvalContentsIndex.js:28
1493
+ msgid "OVAL Contents"
1494
+ msgstr ""
1495
+
1496
+ #: ../lib/foreman_openscap/engine.rb:176
1497
+ #: ../webpack/routes/OvalPolicies/OvalPoliciesIndex/OvalPoliciesIndex.js:29
1498
+ msgid "OVAL Policies"
1499
+ msgstr ""
1500
+
1501
+ #: ../lib/foreman_openscap/engine.rb:198
1280
1502
  msgid ""
1281
1503
  "OpenSCAP Proxy to use for fetching SCAP content and uploading ARF reports. Lea"
1282
1504
  "ve blank and override appropriate parameters when using proxy load balancer."
1283
1505
  msgstr ""
1284
1506
 
1285
- #: ../lib/foreman_openscap/engine.rb:174 ../lib/foreman_openscap/engine.rb:179
1507
+ #: ../lib/foreman_openscap/engine.rb:202 ../lib/foreman_openscap/engine.rb:207
1286
1508
  msgid "OpenSCAP Proxy"
1287
1509
  msgstr ""
1288
1510
 
1289
- #: ../lib/foreman_openscap/engine.rb:176 ../lib/foreman_openscap/engine.rb:181
1511
+ #: ../lib/foreman_openscap/engine.rb:204 ../lib/foreman_openscap/engine.rb:209
1290
1512
  msgid "ID of OpenSCAP Proxy"
1291
1513
  msgstr ""
1292
1514
 
1293
- #: ../lib/foreman_openscap/engine.rb:185 ../lib/foreman_openscap/engine.rb:193
1515
+ #: ../lib/foreman_openscap/engine.rb:276 ../lib/foreman_openscap/engine.rb:289
1294
1516
  msgid "Run OpenSCAP scan"
1295
1517
  msgstr ""
1296
1518
 
1519
+ #: ../lib/foreman_openscap/engine.rb:281 ../lib/foreman_openscap/engine.rb:290
1520
+ msgid "Run OVAL scan"
1521
+ msgstr ""
1522
+
1523
+ #: ../webpack/components/withLoading.js:8
1524
+ msgid "Error!"
1525
+ msgstr ""
1526
+
1527
+ #: ../webpack/routes/OvalContents/OvalContentsIndex/OvalContentsIndex.js:35
1528
+ msgid "No OVAL Contents found."
1529
+ msgstr ""
1530
+
1531
+ #: ../webpack/routes/OvalContents/OvalContentsIndex/OvalContentsTable.js:9
1532
+ #: ../webpack/routes/OvalPolicies/OvalPoliciesIndex/OvalPoliciesTable.js:12
1533
+ msgid "Name"
1534
+ msgstr ""
1535
+
1536
+ #: ../webpack/routes/OvalContents/OvalContentsIndex/OvalContentsTable.js:26
1537
+ msgid "OVAL Contents table"
1538
+ msgstr ""
1539
+
1540
+ #: ../webpack/routes/OvalPolicies/OvalPoliciesIndex/OvalPoliciesIndex.js:36
1541
+ msgid "No OVAL Policies found"
1542
+ msgstr ""
1543
+
1544
+ #: ../webpack/routes/OvalPolicies/OvalPoliciesIndex/OvalPoliciesTable.js:12
1545
+ msgid "OVAL Content"
1546
+ msgstr ""
1547
+
1548
+ #: ../webpack/routes/OvalPolicies/OvalPoliciesIndex/OvalPoliciesTable.js:32
1549
+ msgid "OVAL Policies Table"
1550
+ msgstr ""
1551
+
1552
+ #: ../webpack/routes/OvalPolicies/OvalPoliciesShow/CvesTab.js:38
1553
+ msgid "No CVEs found."
1554
+ msgstr ""
1555
+
1556
+ #: ../webpack/routes/OvalPolicies/OvalPoliciesShow/CvesTable.js:15
1557
+ msgid "Ref Id"
1558
+ msgstr ""
1559
+
1560
+ #: ../webpack/routes/OvalPolicies/OvalPoliciesShow/CvesTable.js:16
1561
+ msgid "Has Errata?"
1562
+ msgstr ""
1563
+
1564
+ #: ../webpack/routes/OvalPolicies/OvalPoliciesShow/CvesTable.js:17
1565
+ msgid "Hosts Count"
1566
+ msgstr ""
1567
+
1568
+ #: ../webpack/routes/OvalPolicies/OvalPoliciesShow/CvesTable.js:51
1569
+ msgid "Table of CVEs for OVAL policy"
1570
+ msgstr ""
1571
+
1572
+ #: ../webpack/routes/OvalPolicies/OvalPoliciesShow/OvalPoliciesShow.js:47
1573
+ msgid "Scan All Hostgroups"
1574
+ msgstr ""
1575
+
1576
+ #: ../webpack/routes/OvalPolicies/OvalPoliciesShow/index.js:26
1577
+ msgid "No OVAL Policy found"
1578
+ msgstr ""
1579
+
1297
1580
  #: action_names.rb:2
1298
1581
  msgid "Action with sub plans"
1299
1582
  msgstr ""