API
CLI
GET /v1beta/projects/{project}/services/{service}/security
Example response
200 OK
Details about the security rules for the service.
JSON
{
"credentials": [
{
"username": "admin",
"password": "password123",
"ports": [
"port-1"
],
"type": "basic-auth"
}
],
"policies": [
{
"addresses": [
"127.0.0.1"
],
"action": "DENY",
"ports": [
"port-1"
]
}
]
}