foreman_rh_cloud 12.2.9 → 12.2.11

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 (37) 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/plugin.rb +9 -9
  21. data/lib/foreman_rh_cloud/version.rb +1 -1
  22. data/lib/tasks/rh_cloud_inventory.rake +14 -32
  23. data/locale/foreman_rh_cloud.pot +55 -18
  24. data/locale/fr/foreman_rh_cloud.po +48 -27
  25. data/locale/ja/foreman_rh_cloud.po +47 -26
  26. data/locale/ka/foreman_rh_cloud.po +32 -11
  27. data/locale/ko/foreman_rh_cloud.po +47 -26
  28. data/locale/zh_CN/foreman_rh_cloud.po +47 -26
  29. data/package.json +1 -1
  30. data/test/unit/fact_helpers_test.rb +47 -0
  31. data/test/unit/slice_generator_test.rb +57 -0
  32. data/webpack/InsightsHostDetailsTab/InsightsTotalRiskChart.js +57 -21
  33. data/webpack/InsightsHostDetailsTab/__tests__/InsightsTotalRiskChart.test.js +194 -0
  34. data/webpack/InsightsVulnerabilityHostIndexExtensions/CVECountCell.js +8 -2
  35. data/webpack/InsightsVulnerabilityHostIndexExtensions/__tests__/CVECountCell.test.js +48 -2
  36. metadata +6 -2
  37. 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
@@ -13,15 +13,15 @@ module ForemanRhCloud
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 = '12.2.9'.freeze
2
+ VERSION = '12.2.11'.freeze
3
3
  end
@@ -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
 
@@ -10,14 +10,14 @@
10
10
  # Claer <transiblu@claer.hammock.fr>, 2023
11
11
  # Amit Upadhye <aupadhye@redhat.com>, 2023
12
12
  # Ewoud Kohl van Wijngaarden <ewoud+transifex@kohlvanwijngaarden.nl>, 2025
13
+ # Ondřej Gajdušek, 2025
13
14
  #
14
15
  msgid ""
15
16
  msgstr ""
16
- "Project-Id-Version: foreman_rh_cloud 11.1.0\n"
17
+ "Project-Id-Version: foreman_rh_cloud 13.0.5\n"
17
18
  "Report-Msgid-Bugs-To: \n"
18
19
  "PO-Revision-Date: 2023-01-20 13:26+0000\n"
19
- "Last-Translator: Ewoud Kohl van Wijngaarden <ewoud+transifex@kohlvanwijngaarde"
20
- "n.nl>, 2025\n"
20
+ "Last-Translator: Ondřej Gajdušek, 2025\n"
21
21
  "Language-Team: French (https://app.transifex.com/foreman/teams/114/fr/)\n"
22
22
  "MIME-Version: 1.0\n"
23
23
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -45,7 +45,7 @@ msgid "All recommendations are now selected."
45
45
  msgstr "Toutes les recommandations sont maintenant sélectionnées."
46
46
 
47
47
  msgid "Analytics data collection"
48
- msgstr ""
48
+ msgstr "Collecte de données analytiques"
49
49
 
50
50
  msgid "Any Organization"
51
51
  msgstr "Toute Organisation"
@@ -128,11 +128,17 @@ msgstr "Télécharger le dernier rapport"
128
128
  msgid "Enable automatic deletion of mismatched host records from the Red Hat cloud"
129
129
  msgstr "Activer la suppression automatique des enregistrements d'hôtes incompatibles du cloud Red Hat"
130
130
 
131
+ msgid "Enable automatic deletion of mismatched host records from the Red Hat cloud. Ignored when using local Insights."
132
+ msgstr ""
133
+
131
134
  msgid "Enable automatic synchronization of Insights recommendations from the Red Hat cloud"
132
135
  msgstr "Activer la synchronisation automatique des recommandations Insights à partir de Red Hat Cloud"
133
136
 
134
- msgid "Enable automatic upload of your host inventory to the Red Hat cloud"
135
- msgstr "Activer le téléchargement automatique de votre inventaire d'hôtes dans Red Hat Cloud"
137
+ msgid "Enable automatic synchronization of Insights recommendations from the Red Hat cloud. Ignored when using local Insights."
138
+ msgstr ""
139
+
140
+ msgid "Enable automatic upload of your host inventory to the Red Hat cloud. Ignored when using local Insights."
141
+ msgstr ""
136
142
 
137
143
  msgid "Enable automatic upload of your hosts inventory to the Red Hat cloud"
138
144
  msgstr "Activer le téléchargement automatique de l'inventaire de vos hôtes dans Red Hat Cloud"
@@ -147,12 +153,12 @@ msgid "Encountered an error while trying to access the server:"
147
153
  msgstr "Une erreur s'est produite lors de l'accès au serveur :"
148
154
 
149
155
  msgid "Exclude installed packages"
150
- msgstr ""
156
+ msgstr "Exclure les paquets installés"
151
157
 
152
158
  msgid "Exclude installed packages from being uploaded to the Red Hat cloud"
153
159
  msgstr "Exclure les paquets installés du téléchargement dans Red Hat Cloud"
154
160
 
155
- msgid "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.)"
161
+ msgid "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."
156
162
  msgstr ""
157
163
 
158
164
  msgid "Exit Code: %s"
@@ -189,7 +195,7 @@ msgid "Generate and upload report"
189
195
  msgstr "Générer et télécharger un rapport"
190
196
 
191
197
  msgid "Generate report"
192
- msgstr ""
198
+ msgstr "Générer un rapport"
193
199
 
194
200
  msgid "Generate the report, but do not upload"
195
201
  msgstr "Générer le rapport, mais ne pas le télécharger"
@@ -218,6 +224,9 @@ msgstr "Récupérer les hôtes manquants dans RH Cloud"
218
224
  msgid "Host Insights recommendations"
219
225
  msgstr "Recommandations de Host Insights"
220
226
 
227
+ msgid "Host inventory report job"
228
+ msgstr ""
229
+
221
230
  msgid "Host was not uploaded to your RH cloud inventory"
222
231
  msgstr "L'hôte n'a pas été téléchargé dans votre inventaire RH Cloud."
223
232
 
@@ -261,7 +270,7 @@ msgid "Knowledgebase article"
261
270
  msgstr "Article de base de connaissances"
262
271
 
263
272
  msgid "Learn more about {minimalDataCollectionSetting}."
264
- msgstr ""
273
+ msgstr "En savoir plus sur{minimalDataCollectionSetting} ."
265
274
 
266
275
  msgid "List of host UUIDs"
267
276
  msgstr "Liste des UUID d'hôtes"
@@ -279,6 +288,9 @@ msgid "Manual"
279
288
  msgstr "Manuelle"
280
289
 
281
290
  msgid "Minimal data collection"
291
+ msgstr "Collecte minimale de données"
292
+
293
+ msgid "Missing Insights facets created: %s"
282
294
  msgstr ""
283
295
 
284
296
  msgid "Moderate"
@@ -315,28 +327,28 @@ msgid "Obfuscate host ipv4 addresses"
315
327
  msgstr "Obfusquer les adresses ipv4 des hôtes"
316
328
 
317
329
  msgid "Obfuscate host ipv4 addresses."
318
- msgstr ""
330
+ msgstr "Masquer les adresses IPv4 des hôtes."
319
331
 
320
332
  msgid "Obfuscate host names"
321
- msgstr "Obfusquer les noms d'hôtes"
333
+ msgstr "Masquer les noms d'hôtes"
322
334
 
323
335
  msgid "Obfuscate host names sent to the Red Hat cloud"
324
336
  msgstr "Obfusquer les noms d'hôtes envoyés à Red Hat Cloud"
325
337
 
326
- msgid "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.)"
338
+ msgid "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."
327
339
  msgstr ""
328
340
 
329
341
  msgid "Obfuscate ipv4 addresses sent to the Red Hat cloud"
330
342
  msgstr "Obfusquer les adresses ipv4 envoyées à Red Hat Cloud"
331
343
 
332
- msgid "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.)"
344
+ msgid "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."
333
345
  msgstr ""
334
346
 
335
- msgid "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."
347
+ msgid "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."
336
348
  msgstr ""
337
349
 
338
350
  msgid "Only send the minimum required data to Red Hat cloud, obfuscation settings are disabled"
339
- msgstr ""
351
+ msgstr "Envoyez uniquement les données minimales requises au cloud Red Hat, les paramètres d'obfuscation (masquage) sont désactivés"
340
352
 
341
353
  msgid "Oops! Couldn't find organization that matches your query"
342
354
  msgstr "Oups ! Nous n'avons pas trouvé d'organisation correspondant à votre demande."
@@ -353,8 +365,8 @@ msgstr "Playbook"
353
365
  msgid "RH Cloud"
354
366
  msgstr "RH Cloud"
355
367
 
356
- msgid "RHC daemon id"
357
- msgstr "Id du démon RHC"
368
+ msgid "RHC daemon id. Ignored when using local Insights."
369
+ msgstr ""
358
370
 
359
371
  msgid "Read more about it in RH cloud insights"
360
372
  msgstr "Plus d'informations dans RH cloud insights"
@@ -414,7 +426,7 @@ msgid "Run RH Cloud playbook"
414
426
  msgstr "Exécuter le playbook RH Cloud"
415
427
 
416
428
  msgid "Run playbook generated by Red Hat remediations app"
417
- msgstr ""
429
+ msgstr "Exécuter le playbook généré par l'app de remédiations de Red Hat"
418
430
 
419
431
  msgid "Run remediation playbook generated by Insights"
420
432
  msgstr "Exécuter le playbook de remédiation généré par Insights"
@@ -429,7 +441,7 @@ msgid "Select recommendations from all pages"
429
441
  msgstr "Sélectionner des recommandations sur toutes les pages"
430
442
 
431
443
  msgid "Send additional data to enhance Insights services, as per the settings"
432
- msgstr ""
444
+ msgstr "Envoyer des données supplémentaires pour améliorer les services Insights, conformément aux paramètres"
433
445
 
434
446
  msgid "Set the current organization context for the request"
435
447
  msgstr "Définir le contexte organisationnel actuel de la demande"
@@ -437,8 +449,8 @@ msgstr "Définir le contexte organisationnel actuel de la demande"
437
449
  msgid "Settings"
438
450
  msgstr "Paramètres de configuration"
439
451
 
440
- msgid "Should import include parameter tags from Foreman?"
441
- msgstr "L'importation doit-elle inclure les balises de paramètres de Foreman ?"
452
+ msgid "Should import include parameter tags from Foreman? Ignored when using local Insights."
453
+ msgstr ""
442
454
 
443
455
  msgid "Show Advanced Settings"
444
456
  msgstr "Afficher les paramètres avancés"
@@ -446,6 +458,12 @@ msgstr "Afficher les paramètres avancés"
446
458
  msgid "Show if system is configured to use local iop-advisor-engine."
447
459
  msgstr "Indique si le système est configuré pour utiliser le moteur iop-advisor local."
448
460
 
461
+ msgid "Single-host report job"
462
+ msgstr ""
463
+
464
+ msgid "Single-host report job for host %s"
465
+ msgstr ""
466
+
449
467
  msgid "Start inventory synchronization"
450
468
  msgstr "Démarrer la synchronisation de l'inventaire"
451
469
 
@@ -477,7 +495,7 @@ msgid "The report file %{filename} doesn't exist"
477
495
  msgstr "Le fichier de rapport %{filename} n'existe pas"
478
496
 
479
497
  msgid "The scheduled process is disabled because this Foreman is configured with a local IoP Smart Proxy."
480
- msgstr ""
498
+ msgstr "Le processus planifié est désactivé car ce Foreman est configuré avec un proxy intelligent IoP local."
481
499
 
482
500
  msgid "The server returned the following error: %s"
483
501
  msgstr "Le serveur a renvoyé l'erreur suivante : %s"
@@ -488,6 +506,9 @@ msgstr "La tâche a échoué avec l'erreur suivante :"
488
506
  msgid "There are no recommendations for your hosts"
489
507
  msgstr "Il n'y a aucune recommandation pour vos hôtes"
490
508
 
509
+ msgid "There were no missing Insights facets"
510
+ msgstr ""
511
+
491
512
  msgid "This action will also enable automatic reports upload"
492
513
  msgstr "Cette action permettra également le téléchargement automatique des rapports"
493
514
 
@@ -498,7 +519,7 @@ msgid "To manually upload the data for a specific organization, select an organi
498
519
  msgstr "Pour télécharger manuellement les données d'une organisation spécifique, sélectionnez une organisation et cliquez sur{restartButtonName} ."
499
520
 
500
521
  msgid "Total CVEs"
501
- msgstr ""
522
+ msgstr "Total des CVE"
502
523
 
503
524
  msgid "Total risk"
504
525
  msgstr "Risque total"
@@ -528,10 +549,10 @@ msgid "View in Red Hat Insights"
528
549
  msgstr "Afficher Red Hat Insights."
529
550
 
530
551
  msgid "Vulnerabilities"
531
- msgstr ""
552
+ msgstr "Vulnérabilités"
532
553
 
533
554
  msgid "Vulnerability"
534
- msgstr ""
555
+ msgstr "Vulnérabilité"
535
556
 
536
557
  msgid "Wait and %s"
537
558
  msgstr "Attendez et %s"
@@ -600,7 +621,7 @@ msgid "rule title"
600
621
  msgstr "titre de la règle"
601
622
 
602
623
  msgid "setting minimal data collection"
603
- msgstr ""
624
+ msgstr "définir une collecte minimale de données"
604
625
 
605
626
  msgid "solution url"
606
627
  msgstr "URL de la solution"