foreman_rh_cloud 12.2.6 → 12.2.7

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.
@@ -35,6 +35,9 @@
35
35
  "All recommendations are now selected.": [
36
36
  "모든 권장 사항이 선택되었습니다."
37
37
  ],
38
+ "Analytics data collection": [
39
+ ""
40
+ ],
38
41
  "Any Organization": [
39
42
  "모든 조직 "
40
43
  ],
@@ -134,17 +137,14 @@
134
137
  "Encountered an error while trying to access the server:": [
135
138
  "서버에 접근하는 동안 오류가 발생했습니다:"
136
139
  ],
137
- "Exclude installed Packages": [
138
- "설치된 패키지 제외"
140
+ "Exclude installed packages": [
141
+ ""
139
142
  ],
140
143
  "Exclude installed packages from being uploaded to the Red Hat cloud": [
141
144
  "설치된 패키지가 Red Hat 클라우드에 업로드되는 것을 제외합니다."
142
145
  ],
143
- "Exclude packages": [
144
- "패키지 제외"
145
- ],
146
- "Exclude packages from being uploaded to the Red Hat cloud": [
147
- "Red Hat 클라우드에 업로드되는 패키지 제외"
146
+ "Exclude installed packages from being uploaded to the Red Hat cloud. (If insights_minimal_data_collection is set to true, this setting is ignored and installed packages are always excluded.)": [
147
+ ""
148
148
  ],
149
149
  "Exit Code: %s": [
150
150
  "종료 코드: %s"
@@ -179,6 +179,9 @@
179
179
  "Generate and upload report": [
180
180
  "보고서 생성 및 업로드"
181
181
  ],
182
+ "Generate report": [
183
+ ""
184
+ ],
182
185
  "Generate the report, but do not upload": [
183
186
  "보고서를 생성하되 업로드하지 마십시오."
184
187
  ],
@@ -248,6 +251,9 @@
248
251
  "Knowledgebase article": [
249
252
  "지식베이스 문서"
250
253
  ],
254
+ "Learn more about {minimalDataCollectionSetting}.": [
255
+ ""
256
+ ],
251
257
  "List of host UUIDs": [
252
258
  "호스트 UUID 목록"
253
259
  ],
@@ -263,6 +269,9 @@
263
269
  "Manual": [
264
270
  "수동"
265
271
  ],
272
+ "Minimal data collection": [
273
+ ""
274
+ ],
266
275
  "Moderate": [
267
276
  "중간 수준"
268
277
  ],
@@ -293,21 +302,33 @@
293
302
  "Notice": [
294
303
  "주의 "
295
304
  ],
296
- "Obfuscate IPs": [
297
- "IP 난독화"
298
- ],
299
305
  "Obfuscate host ipv4 addresses": [
300
306
  "호스트 ipv4 주소 난독화"
301
307
  ],
308
+ "Obfuscate host ipv4 addresses.": [
309
+ ""
310
+ ],
302
311
  "Obfuscate host names": [
303
312
  "호스트 이름 난독화"
304
313
  ],
305
314
  "Obfuscate host names sent to the Red Hat cloud": [
306
315
  "Red Hat 클라우드로 전송된 호스트 이름을 난독화합니다."
307
316
  ],
317
+ "Obfuscate host names sent to the Red Hat cloud. (If insights_minimal_data_collection is set to true, this setting is ignored because host names are not included in the report.)": [
318
+ ""
319
+ ],
308
320
  "Obfuscate ipv4 addresses sent to the Red Hat cloud": [
309
321
  "Red Hat 클라우드로 전송된 ipv4 주소 난독화"
310
322
  ],
323
+ "Obfuscate ipv4 addresses sent to the Red Hat cloud. (If insights_minimal_data_collection is set to true, this setting is ignored because host IPv4 addresses are not included in the report.)": [
324
+ ""
325
+ ],
326
+ "Only include the minimum required data in inventory reports for uploading to Red Hat cloud. When this is true, installed packages are excluded from the report regardless of the exclude_installed_packages setting, and host names and IPv4 addresses are excluded from the report regardless of obfuscation settings.": [
327
+ ""
328
+ ],
329
+ "Only send the minimum required data to Red Hat cloud, obfuscation settings are disabled": [
330
+ ""
331
+ ],
311
332
  "Oops! Couldn't find organization that matches your query": [
312
333
  "죄송합니다! 귀하의 쿼리와 일치하는 조직을 찾을 수 없습니다."
313
334
  ],
@@ -326,9 +347,6 @@
326
347
  "RHC daemon id": [
327
348
  "RHC 데몬 ID"
328
349
  ],
329
- "RHCloud": [
330
- "RHCloud"
331
- ],
332
350
  "Read more about it in RH cloud insights": [
333
351
  "RH 클라우드 Insights에서 이에 대해 자세히 알아보세요."
334
352
  ],
@@ -386,8 +404,8 @@
386
404
  "Run RH Cloud playbook": [
387
405
  "RH Cloud playbook 실행"
388
406
  ],
389
- "Run playbook genrated by Red Hat remediations app": [
390
- "Red Hat Remediations 앱에서 생성된 playbook 실행"
407
+ "Run playbook generated by Red Hat remediations app": [
408
+ ""
391
409
  ],
392
410
  "Run remediation playbook generated by Insights": [
393
411
  "Insights에서 생성된 수정 playbook 실행"
@@ -401,6 +419,9 @@
401
419
  "Select recommendations from all pages": [
402
420
  "모든 페이지에서 추천을 선택하세요"
403
421
  ],
422
+ "Send additional data to enhance Insights services, as per the settings": [
423
+ ""
424
+ ],
404
425
  "Set the current organization context for the request": [
405
426
  "요청에 대한 현재 조직 컨텍스트 설정"
406
427
  ],
@@ -446,8 +467,8 @@
446
467
  "The report file %{filename} doesn't exist": [
447
468
  "보고서 파일%{filename}이/가 존재하지 않습니다"
448
469
  ],
449
- "The scheduled process is disabled because this Foreman is configured with the use_local_advisor_engine option.": [
450
- "예약된 프로세스는 이 Foreman이 use_local_advisor_engine 옵션으로 구성되어 있기 때문에 비활성화되었습니다."
470
+ "The scheduled process is disabled because this Foreman is configured with a local IoP Smart Proxy.": [
471
+ ""
451
472
  ],
452
473
  "The server returned the following error: %s": [
453
474
  "서버에서 다음 오류가 반환되었습니다. %s"
@@ -467,6 +488,9 @@
467
488
  "To manually upload the data for a specific organization, select an organization and click {restartButtonName}.": [
468
489
  "특정 조직에 대한 데이터를 수동으로 업로드하려면 조직을 선택하고 {restartButtonName}를 클릭하십시오."
469
490
  ],
491
+ "Total CVEs": [
492
+ ""
493
+ ],
470
494
  "Total risk": [
471
495
  "총 위험"
472
496
  ],
@@ -494,6 +518,12 @@
494
518
  "View in Red Hat Insights": [
495
519
  "Red Hat Insights에서 보기"
496
520
  ],
521
+ "Vulnerabilities": [
522
+ ""
523
+ ],
524
+ "Vulnerability": [
525
+ ""
526
+ ],
497
527
  "Wait and %s": [
498
528
  "대기 및 %s"
499
529
  ],
@@ -560,6 +590,9 @@
560
590
  "rule title": [
561
591
  "규칙 제목"
562
592
  ],
593
+ "setting minimal data collection": [
594
+ ""
595
+ ],
563
596
  "solution url": [
564
597
  "솔루션 URL"
565
598
  ],
@@ -35,6 +35,9 @@
35
35
  "All recommendations are now selected.": [
36
36
  "现在选择了所有建议。"
37
37
  ],
38
+ "Analytics data collection": [
39
+ ""
40
+ ],
38
41
  "Any Organization": [
39
42
  "任意机构"
40
43
  ],
@@ -134,17 +137,14 @@
134
137
  "Encountered an error while trying to access the server:": [
135
138
  "在尝试访问服务器时遇到错误:"
136
139
  ],
137
- "Exclude installed Packages": [
138
- "排除安装的软件包"
140
+ "Exclude installed packages": [
141
+ ""
139
142
  ],
140
143
  "Exclude installed packages from being uploaded to the Red Hat cloud": [
141
144
  "将安装的软件包上传到红帽云"
142
145
  ],
143
- "Exclude packages": [
144
- "排除软件包"
145
- ],
146
- "Exclude packages from being uploaded to the Red Hat cloud": [
147
- "排除软件包上传到红帽云"
146
+ "Exclude installed packages from being uploaded to the Red Hat cloud. (If insights_minimal_data_collection is set to true, this setting is ignored and installed packages are always excluded.)": [
147
+ ""
148
148
  ],
149
149
  "Exit Code: %s": [
150
150
  "退出代码:%s"
@@ -179,6 +179,9 @@
179
179
  "Generate and upload report": [
180
180
  "生成并上传报告"
181
181
  ],
182
+ "Generate report": [
183
+ ""
184
+ ],
182
185
  "Generate the report, but do not upload": [
183
186
  "生成报告,但不上传"
184
187
  ],
@@ -248,6 +251,9 @@
248
251
  "Knowledgebase article": [
249
252
  "知识库文章"
250
253
  ],
254
+ "Learn more about {minimalDataCollectionSetting}.": [
255
+ ""
256
+ ],
251
257
  "List of host UUIDs": [
252
258
  "主机 UUID 列表"
253
259
  ],
@@ -263,6 +269,9 @@
263
269
  "Manual": [
264
270
  "手册"
265
271
  ],
272
+ "Minimal data collection": [
273
+ ""
274
+ ],
266
275
  "Moderate": [
267
276
  "中等"
268
277
  ],
@@ -293,21 +302,33 @@
293
302
  "Notice": [
294
303
  "注意事項"
295
304
  ],
296
- "Obfuscate IPs": [
297
- "模糊 IP"
298
- ],
299
305
  "Obfuscate host ipv4 addresses": [
300
306
  "模糊的主机 ipv4 地址"
301
307
  ],
308
+ "Obfuscate host ipv4 addresses.": [
309
+ ""
310
+ ],
302
311
  "Obfuscate host names": [
303
312
  "模糊主机名"
304
313
  ],
305
314
  "Obfuscate host names sent to the Red Hat cloud": [
306
315
  "发送到红帽云的模糊主机名"
307
316
  ],
317
+ "Obfuscate host names sent to the Red Hat cloud. (If insights_minimal_data_collection is set to true, this setting is ignored because host names are not included in the report.)": [
318
+ ""
319
+ ],
308
320
  "Obfuscate ipv4 addresses sent to the Red Hat cloud": [
309
321
  "发送到红帽云的模糊 ipv4 地址"
310
322
  ],
323
+ "Obfuscate ipv4 addresses sent to the Red Hat cloud. (If insights_minimal_data_collection is set to true, this setting is ignored because host IPv4 addresses are not included in the report.)": [
324
+ ""
325
+ ],
326
+ "Only include the minimum required data in inventory reports for uploading to Red Hat cloud. When this is true, installed packages are excluded from the report regardless of the exclude_installed_packages setting, and host names and IPv4 addresses are excluded from the report regardless of obfuscation settings.": [
327
+ ""
328
+ ],
329
+ "Only send the minimum required data to Red Hat cloud, obfuscation settings are disabled": [
330
+ ""
331
+ ],
311
332
  "Oops! Couldn't find organization that matches your query": [
312
333
  "未找到与您的查询匹配的机构"
313
334
  ],
@@ -326,9 +347,6 @@
326
347
  "RHC daemon id": [
327
348
  "RHC 守护进程 ID"
328
349
  ],
329
- "RHCloud": [
330
- "RHCloud"
331
- ],
332
350
  "Read more about it in RH cloud insights": [
333
351
  "在 RH Cloud insights 中了解更多有关它的信息"
334
352
  ],
@@ -386,8 +404,8 @@
386
404
  "Run RH Cloud playbook": [
387
405
  "运行 RH Cloud playbook"
388
406
  ],
389
- "Run playbook genrated by Red Hat remediations app": [
390
- "运行由红帽补救应用生成的 playbook"
407
+ "Run playbook generated by Red Hat remediations app": [
408
+ ""
391
409
  ],
392
410
  "Run remediation playbook generated by Insights": [
393
411
  "运行 Insights 生成的补救 playbook"
@@ -401,6 +419,9 @@
401
419
  "Select recommendations from all pages": [
402
420
  "在所有页面中选择建议"
403
421
  ],
422
+ "Send additional data to enhance Insights services, as per the settings": [
423
+ ""
424
+ ],
404
425
  "Set the current organization context for the request": [
405
426
  "设置请求的当前机构上下文"
406
427
  ],
@@ -446,8 +467,8 @@
446
467
  "The report file %{filename} doesn't exist": [
447
468
  "报告文件 %{filename} 不存在"
448
469
  ],
449
- "The scheduled process is disabled because this Foreman is configured with the use_local_advisor_engine option.": [
450
- "调度的进程被禁用,因为此 Foreman 配置了 use_local_advisor_engine 选项。"
470
+ "The scheduled process is disabled because this Foreman is configured with a local IoP Smart Proxy.": [
471
+ ""
451
472
  ],
452
473
  "The server returned the following error: %s": [
453
474
  "服务器返回以下错误:%s"
@@ -467,6 +488,9 @@
467
488
  "To manually upload the data for a specific organization, select an organization and click {restartButtonName}.": [
468
489
  "要手动上传特定机构的数据,请选择机构并点 {restartButtonName}。"
469
490
  ],
491
+ "Total CVEs": [
492
+ ""
493
+ ],
470
494
  "Total risk": [
471
495
  "总风险"
472
496
  ],
@@ -494,6 +518,12 @@
494
518
  "View in Red Hat Insights": [
495
519
  "禁用 Red Hat Insights"
496
520
  ],
521
+ "Vulnerabilities": [
522
+ ""
523
+ ],
524
+ "Vulnerability": [
525
+ ""
526
+ ],
497
527
  "Wait and %s": [
498
528
  "等待和 %s"
499
529
  ],
@@ -560,6 +590,9 @@
560
590
  "rule title": [
561
591
  "rule 标题"
562
592
  ],
593
+ "setting minimal data collection": [
594
+ ""
595
+ ],
563
596
  "solution url": [
564
597
  "solution url"
565
598
  ],
@@ -1,6 +1,6 @@
1
1
  class InsightsHit < ApplicationRecord
2
2
  include ::Authorizable
3
- belongs_to :host
3
+ belongs_to :host, class_name: 'Host::Base'
4
4
  # since the facet is one-to-one association with a host, we can connect
5
5
  # through host_id column on both this model and facet.
6
6
  belongs_to :insights_facet, foreign_key: 'host_id', primary_key: 'host_id', counter_cache: :hits_count
@@ -83,6 +83,27 @@ module ForemanRhCloud
83
83
  :description => N_('Configure Cloud Connector on given hosts'),
84
84
  :proxy_selector_override => ::RemoteExecutionProxySelector::INTERNAL_PROXY
85
85
  )
86
+
87
+ ScopedSearch::AutoCompleteBuilder.class_eval do
88
+ # Insights rule IDs always contain a pipe character.
89
+ # example: hardening_ssh_config_perms|OPENSSH_HARDENING_CONFIG_PERMS
90
+ # We need to override this method of scoped_search so that autocomplete
91
+ # will correctly put the value in quotes (otherwise the "|" will be
92
+ # interpreted as an OR.)
93
+ # The only change from scoped_search code is adding the | to the regex in the final map.
94
+ def complete_value_from_db(field, special_values, val)
95
+ count = 20 - special_values.count
96
+ completer_scope(field)
97
+ .where(@options[:value_filter])
98
+ .where(value_conditions(field.quoted_field, val))
99
+ .select(field.quoted_field)
100
+ .limit(count)
101
+ .distinct
102
+ .map(&field.field)
103
+ .compact
104
+ .map { |v| v.to_s =~ /\s|\|/ ? "\"#{v.gsub('"', '\"')}\"" : v }
105
+ end
106
+ end
86
107
  end
87
108
 
88
109
  # Ideally this code belongs to an initializer. The problem is that Katello controllers are not initialized completely until after the end of the to_prepare blocks
@@ -1,3 +1,3 @@
1
1
  module ForemanRhCloud
2
- VERSION = '12.2.6'.freeze
2
+ VERSION = '12.2.7'.freeze
3
3
  end
@@ -44,8 +44,4 @@ module InsightsCloud
44
44
  def self.enable_cloud_remediations_param
45
45
  'enable_cloud_remediations'
46
46
  end
47
-
48
- def self.vmaas_reposcan_sync_url
49
- ForemanRhCloud.iop_smart_proxy.url + '/api/vmaas-reposcan/sync'
50
- end
51
47
  end