Skip to content

Commit

Permalink
Update depreacation warning to provide the version the ArcSight modul…
Browse files Browse the repository at this point in the history
…e is removed. (#16648)
  • Loading branch information
andsel authored Nov 6, 2024
1 parent 00898bd commit 4201628
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions logstash-core/lib/logstash/config/modules_common.rb
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,8 @@ def self.pipeline_configs(settings)
end

specified_and_available_names
.select { |mn| mn != "arcsight" }
.each { |mn| deprecation_logger.deprecated("The #{mn} module has been deprecated and will be removed in version 9.") }

if specified_and_available_names.include?("arcsight")
deprecation_logger.deprecated("The ArcSight module has been deprecated and will be removed in future version.")
end

specified_and_available_names.each do |module_name|
connect_fail_args = {}
begin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# or more contributor license agreements. Licensed under the Elastic License;
# you may not use this file except in compliance with the Elastic License.

<% deprecation_logger.deprecated("The ArcSight module has been deprecated in favor of the Elastic CEF Integration and will be removed in a future version. Learn more about the Elastic CEF Integration at https://docs.elastic.co/integrations/cef") %>
<% deprecation_logger.deprecated("The ArcSight module has been deprecated in favor of the Elastic CEF Integration and will be removed in version 9. Learn more about the Elastic CEF Integration at https://docs.elastic.co/integrations/cef") %>
<%
# Define the default inputs to use and a list of valid aliases
defined_inputs = configured_inputs(["kafka"], {"eventbroker" => "kafka", "smartconnector" => "tcp"})
Expand Down

0 comments on commit 4201628

Please sign in to comment.