Network Policy
GET /network-policy/subjects/{subject_kind}/{subject_id}
Changed onRequest
- Base URL/api (relative, and the document was published on a file host, not at the API’s origin)
- AuthHTTP bearer
Path parameters
subject_kindstring required
deployment, sandbox, service, function or job
subject_idinteger required
Environment id for deployments; row id otherwise
Response
What this workload may reach, and where it is enforced
Example response
{
"inbound_links": [
{
"action": "allow",
"direction": "egress",
"origin": "operator",
"peer_kind": "service",
"peer_ref": "12",
"protocol": "tcp",
"subject_kind": "sandbox"
}
],
"profile": {
"egress": "restricted",
"ingress": "open"
},
"rules": [
{
"action": "allow",
"direction": "egress",
"origin": "operator",
"peer_kind": "service",
"peer_ref": "12",
"protocol": "tcp",
"subject_kind": "sandbox"
}
]
}Changes
- breaking
removed the required property
extensionsfrom the response with the status - breaking
removed the required property
extensionsfrom the response with the status - breaking
removed the required property
extensionsfrom the response with the status
1 more change in this revision
- breaking