Egress network policies
Get a project egress network policy
Get a project-scoped custom egress network policy by name. Requires project read access.
Get a project-scoped custom egress network policy by name. Requires project read access.
Authorization
apiKey AuthorizationBearer <token>
API key starting with tektona_. Create one at app-dev.tektona.ai under API Keys.
In: header
Path Parameters
org*string
Organization name
project*string
Project name
name*string
Policy name
Response Body
application/json
application/problem+json
curl -X GET "https://api-dev.tektona.ai/v1/orgs/string/projects/string/egress-network-policies/string"{ "$schema": "https://api-dev.tektona.ai/schemas/PolicyResponse.json", "allowed_cidrs": [ "string" ], "allowed_domains": [ "string" ], "denied_cidrs": [ "string" ], "denied_domains": [ "string" ], "description": "string", "display_name": "string", "display_reference": "string", "extends": "string", "name": "string", "reference": "string"}{ "$schema": "https://api-dev.tektona.ai/schemas/ErrorModel.json", "detail": "Property foo is required but is missing.", "errors": [ { "location": "string", "message": "string", "value": null } ], "instance": "https://example.com/error-log/abc123", "status": 400, "title": "Bad Request", "type": "https://example.com/errors/example"}