AddressConflict
portThe port.
policiesThe two policies.
addressesThe addresses both hold.
AddressSets
neededmaxBandwidthLimit
max_bits_per_secondThe cap, a whole number of bytes per second: a multiple of 8.
ConnectionLimit
max_connectionsNew connections allowed within the window. Over it they are reset.
window_secondsThe window: a second, a minute, an hour or a day.
ConnectionLimited
policyThe policy.
portThe destination port.
EmptyResponse
statusThe status of the response.
dataThe response data for this request.
op_time_usThe operation time in microseconds.
messageAn optional message providing additional information about the status.
A list of errors which may have occurred during the request.
Enforcement
ipsetWhether the kernel matches address sets; no policy is enforced without.
bandwidth_limitThe shield-wide bandwidth cap in bits per second, or null.
Redirects into the proxy, one per policy and port.
Exemptions from the proxy, one per policy, port and protocol.
Connection limits, one per policy and port.
Sandbox ports opened by inbound policies.
Addresses claimed under two handlers on one port. Normally empty.
Address sets near capacity. Normally empty.
The address sets needed, and the most the kernel holds.
errorPresent only when the fields above could not be worked out: why.
Exemption
policyThe policy.
protocolThe protocol.
portThe destination port.
Handler
How the connections a policy matches are carried.
IcapGenerations
publishedThe generation last published.
secretsThe generation of secrets the proxy has loaded, or null.
limitsThe generation of request limits the proxy has loaded, or null.
InboundPort
policyThe policy.
sandboxThe sandbox's name as the policy gave it, or else its address or range.
addressThe sandbox's address, or the range of sandboxes.
The ports opened, both ends included: one port is a range of one.
handlerHow connections are carried.
listenerhttp only: the listener serving the policy, else null.
sourceshttp only: the networks clients may connect from; empty is anyone.
InjectMethod
How a secret is substituted.
Intercept
policyThe policy.
handlerThe proxy listener it goes to.
portThe destination port.
Limits
bandwidth_limit(OPTIONAL) The bandwidth cap; absent or null for none.
LimitsResponse
statusThe status of the response.
The response data for this request.
op_time_usThe operation time in microseconds.
messageAn optional message providing additional information about the status.
A list of errors which may have occurred during the request.
LogEntry
timestampWhen the event occurred, in UTC to the microsecond. No two entries share one, so it is also the entry's place in the log.
uptime_msThe control plane's uptime when the entry was written, in whole milliseconds. It drops when the control plane restarts.
categoryWhat wrote it.
messageWhat happened, sanitised and at most 2048 characters.
Structured detail, which varies by category.
LogsData
The entries, in the order asked for.
nextThe from of the page after this one: a microsecond after the last
entry's timestamp, or with order=desc a microsecond before it, and
null with order=desc once the oldest entry is on the page. In
ascending order it is set after the newest entry too, so that asking with
it returns what has been written since, and an empty page answers with
the from it was sent.
totalThe entries from from on, before count cuts the page.
server_timeThe shield's time when it answered.
LogsResponse
statusThe status of the response.
The response data for this request.
op_time_usThe operation time in microseconds.
messageAn optional message providing additional information about the status.
A list of errors which may have occurred during the request.
PolicyListData
The policies, in the order they were written.
PolicyListResponse
statusThe status of the response.
The response data for this request.
op_time_usThe operation time in microseconds.
messageAn optional message providing additional information about the status.
A list of errors which may have occurred during the request.
PolicyMatch
hosts(OPTIONAL) Hostnames, each with at most a single leading *. wildcard,
stored lowercased. Not addresses, which go in networks. Inbound: the
sandbox's private name, exactly one.
networks(OPTIONAL) IPv4 networks in CIDR notation, given by their network address.
Outbound: public ranges only. Inbound: the sandbox's address, which a name
in hosts is resolved to when the policy is written, or on a passthrough
policy a range of sandboxes. A policy names a host or a network.
portsThe ports to match. A policy names at least one port, here or in
port_ranges. On an outbound policy 53 and 3128-3131 are reserved.
(OPTIONAL) Ranges of ports, both ends included. An inbound passthrough policy's only, for the platform's plugin range.
protocols(OPTIONAL) The protocols to match; tcp when empty.
sources(OPTIONAL) Inbound http only: the IPv4 networks clients may connect
from, read from X-Forwarded-For. Empty admits anyone.
PolicyResponse
statusThe status of the response.
The response data for this request.
op_time_usThe operation time in microseconds.
messageAn optional message providing additional information about the status.
A list of errors which may have occurred during the request.
PolicyRule
idThe policy's id: 1 to 64 ASCII letters, digits, ., _ and -, but not
. or .., unique among the policies.
directionWhich way the connections go.
handlerHow matched connections are carried; inbound, http or passthrough.
What the policy applies to.
priority(OPTIONAL) Evaluation priority, highest first.
request_limit(OPTIONAL) A cap on requests. Not on passthrough, nor inbound.
connection_limit(OPTIONAL) A cap on new connections. Not inbound.
PortRange
firstlastReplacePolicyRequest
directionWhich way the connections go.
handlerHow matched connections are carried; inbound, http or passthrough.
What the policy applies to.
id(OPTIONAL) The policy's id. Given, it has to be the path's.
priority(OPTIONAL) Evaluation priority, highest first.
request_limit(OPTIONAL) A cap on requests. Not on passthrough, nor inbound.
connection_limit(OPTIONAL) A cap on new connections. Not inbound.
ReplaceSecretRequest
Where and how it is substituted.
hostnameExact hostnames the secret may be substituted for, at least one, at least
one of them covered by an https policy the secret is bound to.
id(OPTIONAL) The secret's id. Given, it has to be the path's.
value(OPTIONAL) The value substituted for the pattern. Left out, the stored one is kept. Never returned.
bound_to_policies(OPTIONAL) The https policies whose requests the secret is substituted
into. Empty, it applies to every https policy covering its hostnames.
RequestLimit
max_requestsRequests allowed within the sliding window; over it, 429.
window_secondsThe length of the sliding window, in seconds.
ResponseError
statusThe HTTP status code of the error.
ResponseStatus
The response status of an API request.
Sealed
reasonWhat failed.
failuresThe operations that failed.
sinceWhen the shield sealed.
remedyWhat to do: replace the instance.
Which of the shutdown steps took effect.
Secret
idThe secret's id, on the same terms as a policy's.
valueThe value substituted for the pattern. Never returned.
Where and how it is substituted.
hostnameExact hostnames the secret may be substituted for, at least one, at least
one of them covered by an https policy the secret is bound to.
bound_to_policies(OPTIONAL) The https policies whose requests the secret is substituted
into. Empty, it applies to every https policy covering its hostnames.
SecretInject
methodThe substitution method.
header_nameThe request header the pattern is replaced in. Only what HTTP allows in a header name: letters, digits, any of !#$%&'*+-.^_|~ and the backtick.
patternThe literal text replaced by the secret's value.
SecretListData
The secrets, values excluded.
SecretListResponse
statusThe status of the response.
The response data for this request.
op_time_usThe operation time in microseconds.
messageAn optional message providing additional information about the status.
A list of errors which may have occurred during the request.
SecretMetadata
idThe secret's id.
Where and how it is substituted.
hostnameThe hostnames it may be substituted for.
bound_to_policiesThe policies it is bound to.
SecretReplacement
idThe secret's id, on the same terms as a policy's.
Where and how it is substituted.
hostnameExact hostnames the secret may be substituted for, at least one, at least
one of them covered by an https policy the secret is bound to.
value(OPTIONAL) The value substituted for the pattern. Left out, the stored one is kept; a new secret needs it. Never returned.
bound_to_policies(OPTIONAL) The https policies whose requests the secret is substituted
into. Empty, it applies to every https policy covering its hostnames.
SecretResponse
statusThe status of the response.
The response data for this request.
op_time_usThe operation time in microseconds.
messageAn optional message providing additional information about the status.
A list of errors which may have occurred during the request.
SetNearCapacity
policyThe policy the set belongs to.
portThe port the set belongs to.
entriesThe addresses in it.
maxelemThe most it can hold.
fullWhether it is full.
StatusData
uptime_msWhole milliseconds since the control plane started.
policy_countThe number of policies in force.
secret_countThe number of secrets in force.
What the packet layer enforces.
The generations published and loaded.
failednull while the shield can say what it enforces. Set when applying a
policy set failed: the shield denies all traffic and refuses every write.
StatusResponse
statusThe status of the response.
The response data for this request.
op_time_usThe operation time in microseconds.
messageAn optional message providing additional information about the status.
A list of errors which may have occurred during the request.