Module: Sophos::Client::Endpoint

Included in:
TenantClient
Defined in:
lib/sophos/client/endpoint.rb

Overview

Sophos Endpoint api

Instance Method Summary collapse

Instance Method Details

#endpoint_group_endpoints(group_id) ⇒ Object



15
16
17
# File 'lib/sophos/client/endpoint.rb', line 15

def endpoint_group_endpoints(group_id)
  get_paged Helper::endpoint_url("endpoint-groups/#{group_id}/endpoints")
end

#endpoint_isolation(endpoint_id) ⇒ Object



31
32
33
# File 'lib/sophos/client/endpoint.rb', line 31

def endpoint_isolation(endpoint_id)
  get Helper::endpoint_url("endpoints/#{endpoint_id}/isolation")
end

#endpoint_tamper_protection(endpoint_id) ⇒ Object



34
35
36
# File 'lib/sophos/client/endpoint.rb', line 34

def endpoint_tamper_protection(endpoint_id)
  get Helper::endpoint_url("endpoints/#{endpoint_id}/tamper-protection")
end

#migration_endpoints(migration_id) ⇒ Object



21
22
23
# File 'lib/sophos/client/endpoint.rb', line 21

def migration_endpoints(migration_id)
  get_paged Helper::endpoint_url("migrations/#{migration_id}/endpoints")
end