Sha256: 6ca598ae24f70a18ac4666a4a9cd4fd70eb64d936cf3df9ff75f4f88bc5c2898

Contents?: true

Size: 498 Bytes

Versions: 8

Compression:

Stored size: 498 Bytes

Contents

module Wazuh
  module Api
    module Endpoints
      module V4
        module ActiveResponse
          include ::Wazuh::Api::Endpoints::ActiveResponse
          def run_active_response_command(options = {})
            query_options = {}
            %w(agents_list pretty wait_for_complete).each do |c|
              query_options[c.to_sym] = options.delete(c.to_sym)
            end
            put "/active-response", options, query_options
          end

        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
wazuh-ruby-client-0.3.7 lib/wazuh/api/endpoints/v4/active_response.rb
wazuh-ruby-client-0.3.6 lib/wazuh/api/endpoints/v4/active_response.rb
wazuh-ruby-client-0.3.5 lib/wazuh/api/endpoints/v4/active_response.rb
wazuh-ruby-client-0.3.4 lib/wazuh/api/endpoints/v4/active_response.rb
wazuh-ruby-client-0.3.3 lib/wazuh/api/endpoints/v4/active_response.rb
wazuh-ruby-client-0.3.2 lib/wazuh/api/endpoints/v4/active_response.rb
wazuh-ruby-client-0.3.1 lib/wazuh/api/endpoints/v4/active_response.rb
wazuh-ruby-client-0.3.0 lib/wazuh/api/endpoints/v4/active_response.rb