foreman_rh_cloud 13.0.4 → 13.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/foreman_rh_cloud/locale/fr/foreman_rh_cloud.js +47 -26
  3. data/app/assets/javascripts/foreman_rh_cloud/locale/ja/foreman_rh_cloud.js +46 -25
  4. data/app/assets/javascripts/foreman_rh_cloud/locale/ka/foreman_rh_cloud.js +32 -11
  5. data/app/assets/javascripts/foreman_rh_cloud/locale/ko/foreman_rh_cloud.js +46 -25
  6. data/app/assets/javascripts/foreman_rh_cloud/locale/zh_CN/foreman_rh_cloud.js +46 -25
  7. data/app/controllers/concerns/insights_cloud/package_profile_upload_extensions.rb +2 -3
  8. data/app/services/foreman_rh_cloud/cert_auth.rb +13 -3
  9. data/app/services/foreman_rh_cloud/insights_api_forwarder.rb +3 -1
  10. data/app/services/foreman_rh_cloud/tags_auth.rb +2 -1
  11. data/lib/foreman_inventory_upload/async/create_missing_insights_facets.rb +29 -0
  12. data/lib/foreman_inventory_upload/async/generate_host_report.rb +20 -0
  13. data/lib/foreman_inventory_upload/async/generate_report_job.rb +1 -1
  14. data/lib/foreman_inventory_upload/async/host_inventory_report_job.rb +39 -0
  15. data/lib/foreman_inventory_upload/async/single_host_report_job.rb +20 -0
  16. data/lib/foreman_inventory_upload/async/upload_report_job.rb +2 -1
  17. data/lib/foreman_inventory_upload/generators/fact_helpers.rb +2 -2
  18. data/lib/foreman_inventory_upload/generators/slice.rb +3 -3
  19. data/lib/foreman_inventory_upload/scripts/uploader.sh.erb +7 -1
  20. data/lib/foreman_rh_cloud/engine.rb +0 -21
  21. data/lib/foreman_rh_cloud/plugin.rb +10 -10
  22. data/lib/foreman_rh_cloud/version.rb +1 -1
  23. data/lib/insights_cloud/async/vmaas_reposcan_sync.rb +8 -1
  24. data/lib/tasks/rh_cloud_inventory.rake +14 -32
  25. data/locale/foreman_rh_cloud.pot +55 -18
  26. data/locale/fr/foreman_rh_cloud.po +48 -27
  27. data/locale/ja/foreman_rh_cloud.po +47 -26
  28. data/locale/ka/foreman_rh_cloud.po +32 -11
  29. data/locale/ko/foreman_rh_cloud.po +47 -26
  30. data/locale/zh_CN/foreman_rh_cloud.po +47 -26
  31. data/package.json +1 -1
  32. data/test/unit/fact_helpers_test.rb +47 -0
  33. data/test/unit/lib/insights_cloud/async/vmaas_reposcan_sync_test.rb +12 -2
  34. data/test/unit/slice_generator_test.rb +57 -0
  35. data/webpack/InsightsHostDetailsTab/InsightsTotalRiskChart.js +57 -21
  36. data/webpack/InsightsHostDetailsTab/__tests__/InsightsTotalRiskChart.test.js +194 -0
  37. data/webpack/InsightsVulnerabilityHostIndexExtensions/CVECountCell.js +8 -2
  38. data/webpack/InsightsVulnerabilityHostIndexExtensions/__tests__/CVECountCell.test.js +48 -2
  39. metadata +6 -2
  40. data/app/services/foreman_rh_cloud/gateway_request.rb +0 -26
@@ -59,7 +59,7 @@ module ForemanInventoryUpload
59
59
  def obfuscate_hostname?(host)
60
60
  # Returns true if hostname obfuscation should be applied for a given host, based on hierarchy:
61
61
  # 1. Global setting for hostname obfuscation.
62
- return true if Setting[:obfuscate_inventory_hostnames]
62
+ return true if Setting[:obfuscate_inventory_hostnames] && !ForemanRhCloud.with_iop_smart_proxy?
63
63
 
64
64
  insights_client_setting = fact_value(host, 'insights_client::obfuscate_hostname_enabled')
65
65
  insights_client_setting = ActiveModel::Type::Boolean.new.cast(insights_client_setting)
@@ -99,7 +99,7 @@ module ForemanInventoryUpload
99
99
  def obfuscate_ips?(host)
100
100
  # Returns true if IP obfuscation should be applied for a given host, based on hierarchy:
101
101
  # 1. Global setting for IP obfuscation.
102
- return true if Setting[:obfuscate_inventory_ips]
102
+ return true if Setting[:obfuscate_inventory_ips] && !ForemanRhCloud.with_iop_smart_proxy?
103
103
 
104
104
  insights_client_ipv4_setting = fact_value(host, 'insights_client::obfuscate_ipv4_enabled')
105
105
  insights_client_ipv6_setting = fact_value(host, 'insights_client::obfuscate_ipv6_enabled')
@@ -90,7 +90,7 @@ module ForemanInventoryUpload
90
90
  def report_host(host)
91
91
  host_ips_cache = host_ips(host)
92
92
  @stream.object do
93
- if Setting[:insights_minimal_data_collection]
93
+ if Setting[:insights_minimal_data_collection] && !ForemanRhCloud.with_iop_smart_proxy?
94
94
  insights_minimal_data_collection(host)
95
95
  else
96
96
  @stream.simple_field('fqdn', fqdn(host))
@@ -205,7 +205,7 @@ module ForemanInventoryUpload
205
205
  end.join(', '))
206
206
  end
207
207
  end
208
- if !Setting[:insights_minimal_data_collection] && !Setting[:exclude_installed_packages]
208
+ if ForemanRhCloud.with_iop_smart_proxy? || (!Setting[:insights_minimal_data_collection] && !Setting[:exclude_installed_packages])
209
209
  @stream.array_field('installed_packages') do
210
210
  first = true
211
211
  host.installed_packages.each do |package|
@@ -256,7 +256,7 @@ module ForemanInventoryUpload
256
256
 
257
257
  @stream.array_field('yum_repos') do
258
258
  host.content_facet.bound_repositories.each_with_index do |repo, index|
259
- report_yum_repo(host.content_source.load_balancer_pulp_content_url, repo)
259
+ report_yum_repo(host.content_source&.load_balancer_pulp_content_url || ::SmartProxy.pulp_primary.pulp_content_url, repo)
260
260
  @stream.comma unless index == host.content_facet.bound_repositories.count - 1
261
261
  end
262
262
  end
@@ -27,6 +27,12 @@ else
27
27
  AUTH_VAL="\"$RH_USERNAME\":\"$RH_PASSWORD\""
28
28
  fi
29
29
 
30
+ ORG_HEADER=()
31
+ if [ -n "$ORG_ID" ]
32
+ then
33
+ + ORG_HEADER=("-H" "X-Org-Id: $ORG_ID")
34
+ fi
35
+
30
36
  # /tmp/a b/x.pem
31
37
  # curl --cert /tmp/a\ b/x.pem
32
38
 
@@ -36,7 +42,7 @@ mkdir -p $DONE_DIR
36
42
 
37
43
  for f in $FILES
38
44
  do
39
- curl -k -vvv -# --fail -F "file=@$f;type=application/vnd.redhat.qpc.tar+tgz" $DEST "$AUTH_KEY" "$AUTH_VAL"
45
+ curl -k -vvv -# --fail -F "file=@$f;type=application/vnd.redhat.qpc.tar+tgz" $DEST "$AUTH_KEY" "$AUTH_VAL" "${ORG_HEADER[@]}"
40
46
  status=$?
41
47
  if [ $status -eq 0 ]; then
42
48
  mv $f $DONE_DIR
@@ -83,27 +83,6 @@ 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
107
86
  end
108
87
 
109
88
  # 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
@@ -6,22 +6,22 @@ module ForemanRhCloud
6
6
  return if Foreman::Plugin.find(:foreman_rh_cloud)
7
7
 
8
8
  Foreman::Plugin.register :foreman_rh_cloud do
9
- requires_foreman '>= 3.13'
9
+ requires_foreman '>= 3.17'
10
10
  register_gettext
11
11
 
12
12
  apipie_documented_controllers ["#{ForemanRhCloud::Engine.root}/app/controllers/api/v2/**/*.rb"]
13
13
 
14
14
  settings do
15
15
  category(:rh_cloud, N_('Insights')) do
16
- setting('allow_auto_inventory_upload', type: :boolean, description: N_('Enable automatic upload of your host inventory to the Red Hat cloud'), default: true, full_name: N_('Automatic inventory upload'))
17
- setting('allow_auto_insights_sync', type: :boolean, description: N_('Enable automatic synchronization of Insights recommendations from the Red Hat cloud'), default: true, full_name: N_('Synchronize recommendations Automatically'))
18
- setting('allow_auto_insights_mismatch_delete', type: :boolean, description: N_('Enable automatic deletion of mismatched host records from the Red Hat cloud'), default: false, full_name: N_('Automatic mismatch deletion'))
19
- setting('obfuscate_inventory_hostnames', type: :boolean, description: N_('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.)'), default: false, full_name: N_('Obfuscate host names'))
20
- setting('obfuscate_inventory_ips', type: :boolean, description: N_('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.)'), default: false, full_name: N_('Obfuscate host ipv4 addresses.'))
21
- setting('exclude_installed_packages', type: :boolean, description: N_('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.)'), default: false, full_name: N_("Exclude installed packages"))
22
- setting('include_parameter_tags', type: :boolean, description: N_('Should import include parameter tags from Foreman?'), default: false, full_name: N_('Include parameters in insights-client reports'))
23
- setting('rhc_instance_id', type: :string, description: N_('RHC daemon id'), default: nil, full_name: N_('ID of the RHC(Yggdrasil) daemon'))
24
- setting('insights_minimal_data_collection', type: :boolean, default: false, full_name: N_('Minimal data collection'), description: N_('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.'))
16
+ setting('allow_auto_inventory_upload', type: :boolean, description: N_('Enable automatic upload of your host inventory to the Red Hat cloud. Ignored when using local Insights.'), default: true, full_name: N_('Automatic inventory upload'))
17
+ setting('allow_auto_insights_sync', type: :boolean, description: N_('Enable automatic synchronization of Insights recommendations from the Red Hat cloud. Ignored when using local Insights.'), default: true, full_name: N_('Synchronize recommendations Automatically'))
18
+ setting('allow_auto_insights_mismatch_delete', type: :boolean, description: N_('Enable automatic deletion of mismatched host records from the Red Hat cloud. Ignored when using local Insights.'), default: false, full_name: N_('Automatic mismatch deletion'))
19
+ setting('obfuscate_inventory_hostnames', type: :boolean, description: N_('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.) Ignored when using local Insights.'), default: false, full_name: N_('Obfuscate host names'))
20
+ setting('obfuscate_inventory_ips', type: :boolean, description: N_('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.) Ignored when using local Insights.'), default: false, full_name: N_('Obfuscate host ipv4 addresses.'))
21
+ setting('exclude_installed_packages', type: :boolean, description: N_('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.) Ignored when using local Insights.'), default: false, full_name: N_("Exclude installed packages"))
22
+ setting('include_parameter_tags', type: :boolean, description: N_('Should import include parameter tags from Foreman? Ignored when using local Insights.'), default: false, full_name: N_('Include parameters in insights-client reports'))
23
+ setting('rhc_instance_id', type: :string, description: N_('RHC daemon id. Ignored when using local Insights.'), default: nil, full_name: N_('ID of the RHC(Yggdrasil) daemon'))
24
+ setting('insights_minimal_data_collection', type: :boolean, default: false, full_name: N_('Minimal data collection'), description: N_('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. Ignored when using local Insights.'))
25
25
  end
26
26
  end
27
27
 
@@ -1,3 +1,3 @@
1
1
  module ForemanRhCloud
2
- VERSION = '13.0.4'.freeze
2
+ VERSION = '13.0.6'.freeze
3
3
  end
@@ -23,13 +23,16 @@ module InsightsCloud
23
23
  return
24
24
  end
25
25
 
26
- plan_self
26
+ organization_id = Katello::Repository.find(repo_id).organization_id
27
+
28
+ plan_self(organization_id: organization_id)
27
29
  end
28
30
 
29
31
  def run
30
32
  url = ::InsightsCloud.vmaas_reposcan_sync_url
31
33
 
32
34
  response = execute_cloud_request(
35
+ organization: organization,
33
36
  method: :put,
34
37
  url: url,
35
38
  headers: { 'Content-Type' => 'application/json' }
@@ -61,6 +64,10 @@ module InsightsCloud
61
64
  Dynflow::Action::Rescue::Skip
62
65
  end
63
66
 
67
+ def organization
68
+ @organization ||= Organization.find(input[:organization_id])
69
+ end
70
+
64
71
  private
65
72
 
66
73
  def logger
@@ -9,22 +9,20 @@ namespace :rh_cloud_inventory do
9
9
  else
10
10
  organizations = [Organization.where(:id => ENV['organization_id']).first]
11
11
  end
12
- disconnected = ForemanRhCloud.with_iop_smart_proxy?
13
12
  User.as_anonymous_admin do
14
13
  organizations.each do |organization|
15
14
  ForemanTasks.async_task(
16
15
  ForemanInventoryUpload::Async::GenerateReportJob,
17
16
  ForemanInventoryUpload.generated_reports_folder,
18
- organization.id,
19
- disconnected
17
+ organization.id
20
18
  )
21
19
  puts "Generated and uploaded inventory report for organization '#{organization.name}'"
22
20
  end
23
21
  end
24
22
  end
25
23
  desc 'Generate inventory report to be sent to Red Hat cloud'
26
- task generate: :environment do
27
- organizations = [ENV['organization_id']]
24
+ task generate: [:environment, 'dynflow:client'] do
25
+ organization_ids = [ENV['organization_id']]
28
26
  base_folder = ENV['target'] || Dir.pwd
29
27
  filter = ENV['hosts_filter']
30
28
 
@@ -34,37 +32,22 @@ namespace :rh_cloud_inventory do
34
32
  puts "Using #{base_folder} for the output"
35
33
  end
36
34
 
37
- if organizations.empty?
35
+ if organization_ids.empty?
38
36
  puts "Must specify organization_id"
39
37
  return
40
38
  end
41
39
 
42
40
  User.as_anonymous_admin do
43
- organizations.each do |organization|
44
- target = File.join(base_folder, ForemanInventoryUpload.facts_archive_name(organization, filter))
45
- archived_report_generator = ForemanInventoryUpload::Generators::ArchivedReport.new(target, Logger.new(STDOUT))
46
- archived_report_generator.render(organization: organization, filter: filter)
47
- puts "Successfully generated #{target} for organization id #{organization}"
48
- puts "Check the Uploading tab for report uploading status." if Setting[:subscription_connection_enabled]
49
-
50
- next unless ForemanRhCloud.with_iop_smart_proxy?
51
-
52
- puts 'Creating missing insights facets'
53
- hosts_without_facets = ForemanInventoryUpload::Generators::Queries.for_org(organization, hosts_query: 'null? insights_uuid')
54
- hosts_without_facets.each do |batch|
55
- facets = batch.pluck(:id, 'katello_subscription_facets.uuid').map do |host_id, uuid|
56
- {
57
- host_id: host_id,
58
- uuid: uuid,
59
- }
60
- end
61
- # We don't need to validate the facets here as we create the necessary fields.
62
- # rubocop:disable Rails/SkipsModelValidations
63
- InsightsFacet.upsert_all(facets, unique_by: :host_id) unless facets.empty?
64
- # rubocop:enable Rails/SkipsModelValidations
65
- end
66
- puts 'Missing Insights facets created'
41
+ organization_ids.each do |organization_id|
42
+ ForemanTasks.sync_task(
43
+ ForemanInventoryUpload::Async::HostInventoryReportJob,
44
+ base_folder,
45
+ organization_id,
46
+ filter,
47
+ false # don't upload; the user ran report:generate and not report:generate_upload
48
+ )
67
49
  end
50
+ puts "Check the Uploading tab for report uploading status." if Setting[:subscription_connection_enabled]
68
51
  end
69
52
  end
70
53
  desc 'Upload generated inventory report to Red Hat cloud'
@@ -72,8 +55,7 @@ namespace :rh_cloud_inventory do
72
55
  base_folder = ENV['target'] || ForemanInventoryUpload.generated_reports_folder
73
56
  organization_id = ENV['organization_id']
74
57
  report_file = ForemanInventoryUpload.facts_archive_name(organization_id)
75
- disconnected = ForemanRhCloud.with_iop_smart_proxy?
76
- ForemanTasks.sync_task(ForemanInventoryUpload::Async::QueueForUploadJob, base_folder, report_file, organization_id, disconnected)
58
+ ForemanTasks.sync_task(ForemanInventoryUpload::Async::QueueForUploadJob, base_folder, report_file, organization_id)
77
59
  puts "Uploaded #{report_file}"
78
60
  end
79
61
  end
@@ -8,8 +8,8 @@ msgid ""
8
8
  msgstr ""
9
9
  "Project-Id-Version: foreman_rh_cloud 1.0.0\n"
10
10
  "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2025-09-12 13:20+0200\n"
12
- "PO-Revision-Date: 2025-09-12 13:20+0200\n"
11
+ "POT-Creation-Date: 2025-10-07 11:44-0400\n"
12
+ "PO-Revision-Date: 2025-10-07 11:44-0400\n"
13
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
15
  "Language: \n"
@@ -189,7 +189,7 @@ msgstr ""
189
189
  #: ../app/helpers/foreman_insights_host_helper.rb:7
190
190
  #: ../lib/foreman_rh_cloud/plugin.rb:93 ../lib/foreman_rh_cloud/plugin.rb:143
191
191
  #: ../webpack/ForemanColumnExtensions/index.js:65
192
- #: ../webpack/ForemanRhCloudFills.js:24
192
+ #: ../webpack/ForemanRhCloudFills.js:28
193
193
  #: ../webpack/InsightsHostDetailsTab/InsightsTab.js:46
194
194
  msgid "Recommendations"
195
195
  msgstr ""
@@ -234,6 +234,14 @@ msgstr ""
234
234
  msgid "Satellite server has %{hits_count} recommendations by Red Hat"
235
235
  msgstr ""
236
236
 
237
+ #: ../lib/foreman_inventory_upload/async/create_missing_insights_facets.rb:24
238
+ msgid "There were no missing Insights facets"
239
+ msgstr ""
240
+
241
+ #: ../lib/foreman_inventory_upload/async/create_missing_insights_facets.rb:24
242
+ msgid "Missing Insights facets created: %s"
243
+ msgstr ""
244
+
237
245
  #: ../lib/foreman_inventory_upload/async/delayed_start.rb:22
238
246
  msgid "Wait and %s"
239
247
  msgstr ""
@@ -246,6 +254,18 @@ msgid ""
246
254
  "cal IoP Smart Proxy."
247
255
  msgstr ""
248
256
 
257
+ #: ../lib/foreman_inventory_upload/async/host_inventory_report_job.rb:31
258
+ msgid "Host inventory report job"
259
+ msgstr ""
260
+
261
+ #: ../lib/foreman_inventory_upload/async/single_host_report_job.rb:16
262
+ msgid "Single-host report job for host %s"
263
+ msgstr ""
264
+
265
+ #: ../lib/foreman_inventory_upload/async/single_host_report_job.rb:16
266
+ msgid "Single-host report job"
267
+ msgstr ""
268
+
249
269
  #: ../lib/foreman_inventory_upload/generators/fact_helpers.rb:188
250
270
  msgid "Value %{value} is not a valid UUID"
251
271
  msgstr ""
@@ -276,7 +296,9 @@ msgid "Configure Cloud Connector on given hosts"
276
296
  msgstr ""
277
297
 
278
298
  #: ../lib/foreman_rh_cloud/plugin.rb:16
279
- msgid "Enable automatic upload of your host inventory to the Red Hat cloud"
299
+ msgid ""
300
+ "Enable automatic upload of your host inventory to the Red Hat cloud. Ignored w"
301
+ "hen using local Insights."
280
302
  msgstr ""
281
303
 
282
304
  #: ../lib/foreman_rh_cloud/plugin.rb:16
@@ -286,10 +308,9 @@ msgid "Automatic inventory upload"
286
308
  msgstr ""
287
309
 
288
310
  #: ../lib/foreman_rh_cloud/plugin.rb:17
289
- #: ../webpack/InsightsCloudSync/Components/InsightsSettings/InsightsSettings.js:25
290
311
  msgid ""
291
312
  "Enable automatic synchronization of Insights recommendations from the Red Hat "
292
- "cloud"
313
+ "cloud. Ignored when using local Insights."
293
314
  msgstr ""
294
315
 
295
316
  #: ../lib/foreman_rh_cloud/plugin.rb:17
@@ -297,8 +318,9 @@ msgid "Synchronize recommendations Automatically"
297
318
  msgstr ""
298
319
 
299
320
  #: ../lib/foreman_rh_cloud/plugin.rb:18
300
- #: ../webpack/ForemanInventoryUpload/Components/InventorySettings/AdvancedSetting/AdvancedSettingsConstants.js:14
301
- msgid "Enable automatic deletion of mismatched host records from the Red Hat cloud"
321
+ msgid ""
322
+ "Enable automatic deletion of mismatched host records from the Red Hat cloud. I"
323
+ "gnored when using local Insights."
302
324
  msgstr ""
303
325
 
304
326
  #: ../lib/foreman_rh_cloud/plugin.rb:18
@@ -310,7 +332,7 @@ msgstr ""
310
332
  msgid ""
311
333
  "Obfuscate host names sent to the Red Hat cloud. (If insights_minimal_data_coll"
312
334
  "ection is set to true, this setting is ignored because host names are not incl"
313
- "uded in the report.)"
335
+ "uded in the report.) Ignored when using local Insights."
314
336
  msgstr ""
315
337
 
316
338
  #: ../lib/foreman_rh_cloud/plugin.rb:19
@@ -322,7 +344,7 @@ msgstr ""
322
344
  msgid ""
323
345
  "Obfuscate ipv4 addresses sent to the Red Hat cloud. (If insights_minimal_data"
324
346
  "_collection is set to true, this setting is ignored because host IPv4 addresse"
325
- "s are not included in the report.)"
347
+ "s are not included in the report.) Ignored when using local Insights."
326
348
  msgstr ""
327
349
 
328
350
  #: ../lib/foreman_rh_cloud/plugin.rb:20
@@ -333,7 +355,7 @@ msgstr ""
333
355
  msgid ""
334
356
  "Exclude installed packages from being uploaded to the Red Hat cloud. (If insig"
335
357
  "hts_minimal_data_collection is set to true, this setting is ignored and instal"
336
- "led packages are always excluded.)"
358
+ "led packages are always excluded.) Ignored when using local Insights."
337
359
  msgstr ""
338
360
 
339
361
  #: ../lib/foreman_rh_cloud/plugin.rb:21
@@ -342,7 +364,9 @@ msgid "Exclude installed packages"
342
364
  msgstr ""
343
365
 
344
366
  #: ../lib/foreman_rh_cloud/plugin.rb:22
345
- msgid "Should import include parameter tags from Foreman?"
367
+ msgid ""
368
+ "Should import include parameter tags from Foreman? Ignored when using local In"
369
+ "sights."
346
370
  msgstr ""
347
371
 
348
372
  #: ../lib/foreman_rh_cloud/plugin.rb:22
@@ -350,7 +374,7 @@ msgid "Include parameters in insights-client reports"
350
374
  msgstr ""
351
375
 
352
376
  #: ../lib/foreman_rh_cloud/plugin.rb:23
353
- msgid "RHC daemon id"
377
+ msgid "RHC daemon id. Ignored when using local Insights."
354
378
  msgstr ""
355
379
 
356
380
  #: ../lib/foreman_rh_cloud/plugin.rb:23
@@ -368,7 +392,8 @@ msgid ""
368
392
  "Only include the minimum required data in inventory reports for uploading to R"
369
393
  "ed Hat cloud. When this is true, installed packages are excluded from the repo"
370
394
  "rt regardless of the exclude_installed_packages setting, and host names and IP"
371
- "v4 addresses are excluded from the report regardless of obfuscation settings."
395
+ "v4 addresses are excluded from the report regardless of obfuscation settings. "
396
+ "Ignored when using local Insights."
372
397
  msgstr ""
373
398
 
374
399
  #: ../lib/foreman_rh_cloud/plugin.rb:88 ../lib/foreman_rh_cloud/plugin.rb:106
@@ -459,6 +484,11 @@ msgstr ""
459
484
  msgid "Enable automatic upload of your hosts inventory to the Red Hat cloud"
460
485
  msgstr ""
461
486
 
487
+ #:
488
+ #: ../webpack/ForemanInventoryUpload/Components/InventorySettings/AdvancedSetting/AdvancedSettingsConstants.js:14
489
+ msgid "Enable automatic deletion of mismatched host records from the Red Hat cloud"
490
+ msgstr ""
491
+
462
492
  #:
463
493
  #: ../webpack/ForemanInventoryUpload/Components/InventorySettings/AdvancedSetting/AdvancedSettingsConstants.js:35
464
494
  msgid "Obfuscate host names sent to the Red Hat cloud"
@@ -753,7 +783,7 @@ msgstr ""
753
783
  msgid "Configure"
754
784
  msgstr ""
755
785
 
756
- #: ../webpack/ForemanRhCloudFills.js:40
786
+ #: ../webpack/ForemanRhCloudFills.js:44
757
787
  msgid "Vulnerabilities"
758
788
  msgstr ""
759
789
 
@@ -762,6 +792,13 @@ msgstr ""
762
792
  msgid "Sync automatically"
763
793
  msgstr ""
764
794
 
795
+ #:
796
+ #: ../webpack/InsightsCloudSync/Components/InsightsSettings/InsightsSettings.js:25
797
+ msgid ""
798
+ "Enable automatic synchronization of Insights recommendations from the Red Hat "
799
+ "cloud"
800
+ msgstr ""
801
+
765
802
  #:
766
803
  #: ../webpack/InsightsCloudSync/Components/InsightsTable/InsightsTableConstants.js:24
767
804
  msgid "Playbook"
@@ -951,15 +988,15 @@ msgstr ""
951
988
  msgid "Critical"
952
989
  msgstr ""
953
990
 
954
- #: ../webpack/InsightsHostDetailsTab/InsightsTotalRiskChart.js:129
991
+ #: ../webpack/InsightsHostDetailsTab/InsightsTotalRiskChart.js:164
955
992
  msgid "Total risks"
956
993
  msgstr ""
957
994
 
958
- #: ../webpack/InsightsHostDetailsTab/InsightsTotalRiskChart.js:136
995
+ #: ../webpack/InsightsHostDetailsTab/InsightsTotalRiskChart.js:172
959
996
  msgid "View all recommendations"
960
997
  msgstr ""
961
998
 
962
- #: ../webpack/InsightsHostDetailsTab/InsightsTotalRiskChart.js:145
999
+ #: ../webpack/InsightsHostDetailsTab/InsightsTotalRiskChart.js:181
963
1000
  msgid "No results found"
964
1001
  msgstr ""
965
1002