Skip to content

Commit

Permalink
lint long line
Browse files Browse the repository at this point in the history
  • Loading branch information
ljblancoredborder committed May 9, 2024
1 parent bd8a41e commit 4557eb7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion resources/libraries/get_sensors_all_info.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@ module Rb_manager
module Helpers
def get_sensors_all_info()
sensors_info = {}
sensor_types = ["ips-sensor","ipsv2-sensor","ipscp-sensor","ipsg-sensor","vault-sensor","flow-sensor","arubacentral-sensor","mse-sensor","meraki-sensor","cisco-cloudproxy","proxy-sensor","scanner-sensor","mse-sensor","meraki-sensor","ale-sensor","cep-sensor","device-sensor"]
sensor_types = %w[
ips-sensor ipsv2-sensor ipscp-sensor ipsg-sensor vault-sensor
flow-sensor arubacentral-sensor mse-sensor meraki-sensor
cisco-cloudproxy proxy-sensor scanner-sensor mse-sensor
meraki-sensor ale-sensor cep-sensor device-sensor
]

sensor_types.each do |s_type|
sensors = search(:node, "role:#{s_type} AND -redborder_parent_id:*?").sort #get sensor where parent_id is nil
Expand Down

0 comments on commit 4557eb7

Please sign in to comment.