Skip to content

Depot firewall

Registers the posture reads on mux.

This page is generated from the Depot route table. Every operation carries the permission it needs and the anchor an agent can link to.

GETpolicy:readtenant facehosteditmspremoteIdempotent

From an MSP console, prefix the path with /api/v1/clients/{clientID} to reach one client.

Source: [object Object]

getEndpointFirewall answers one machine’s newest posture.

AN ENDPOINT THAT HAS NEVER COLLECTED ONE IS A 404, not an empty posture. Absent means unknown here, and a page handed an empty document would render “nothing open” for a machine nobody has looked at.

NameInTypeRequiredDescription
agentIDpathstringYesA uuid.
StatusBodyDescription
200application/json, EndpointFirewallViewSuccess.
400application/problem+json, ProblemDetailsOne or more validation errors occurred.
401application/problem+json, ProblemDetailsNo signed-in identity.
403application/problem+json, ProblemDetailsThe identity does not hold policy:read.
404application/problem+json, ProblemDetailsNo resource matches that id.
500application/problem+json, ProblemDetailsNo client store in request context.

200 response body

FieldTypeDescription
agentIdrequiredstring
anyProfileDisabledrequiredboolean
collectedAtrequiredstring (date-time)
domainProfileFirewallProfileView

firewallProfileView is one of the three Windows profiles.

domainProfile.defaultInboundActionstring
domainProfile.defaultOutboundActionstring
domainProfile.enabledrequiredboolean
inboundAllowRulesrequiredarray of FirewallRuleView
inboundAllowRules[].classificationrequiredstring, one of builtin, other, outpost
inboundAllowRules[].groupstring
inboundAllowRules[].namerequiredstring
inboundAllowRules[].portsstring
inboundAllowRules[].programstring
inboundAllowRules[].protocolstring
inboundAllowRules[].remoteAddressesstring
inboundAllowRules[].servicestring
nonStandardRuleCountrequiredinteger
postureHashrequiredstring
privateProfileFirewallProfileView

firewallProfileView is one of the three Windows profiles.

privateProfile.defaultInboundActionstring
privateProfile.defaultOutboundActionstring
privateProfile.enabledrequiredboolean
publicProfileFirewallProfileView

firewallProfileView is one of the three Windows profiles.

publicProfile.defaultInboundActionstring
publicProfile.defaultOutboundActionstring
publicProfile.enabledrequiredboolean
Terminal window
# Sign in first. outpost_console is a session cookie, so send it with every request.
# This operation is idempotent. Repeating it does not repeat its effect.
curl -X GET 'https://depot.example.com/api/v1/endpoints/<agentID>/firewall' \
-H 'X-CSRF-Token: <csrf-token>' \
-H 'Accept: application/json' \
-b 'outpost_console=<console-session>'

GETpolicy:readtenant facehosteditmspremoteIdempotent

From an MSP console, prefix the path with /api/v1/clients/{clientID} to reach one client.

Source: [object Object]

listFirewallExceptions is the fleet-wide “what is off or open” list: every endpoint with a profile disabled or a non-standard inbound rule, worst first.

NameInTypeRequiredDescription
pagequeryintegerNoOne-based page number. Defaults to 1.
pageSizequeryintegerNoRows per page, 1 to 200. Defaults to 50.
StatusBodyDescription
200application/json, PagedResultFirewallExceptionViewSuccess.
400application/problem+json, ProblemDetailsOne or more validation errors occurred.
401application/problem+json, ProblemDetailsNo signed-in identity.
403application/problem+json, ProblemDetailsThe identity does not hold policy:read.
500application/problem+json, ProblemDetailsNo client store in request context.

200 response body

FieldTypeDescription
itemsrequiredarray of FirewallExceptionView
items[].agentIdrequiredstring
items[].anyProfileDisabledrequiredboolean
items[].collectedAtrequiredstring (date-time)
items[].hostnamerequiredstring
items[].nonStandardRuleCountrequiredinteger
pagerequiredinteger
pageSizerequiredinteger
totalrequiredinteger
Terminal window
# Sign in first. outpost_console is a session cookie, so send it with every request.
# This operation is idempotent. Repeating it does not repeat its effect.
curl -X GET 'https://depot.example.com/api/v1/firewall/exceptions?page=0&pageSize=0' \
-H 'X-CSRF-Token: <csrf-token>' \
-H 'Accept: application/json' \
-b 'outpost_console=<console-session>'

Content is licensed CC BY 4.0. Code samples are MIT. Outpost and the Outpost mark are trademarks of Outpost Business Solutions, PBC and are not covered by either license.