Retrieve all Network Security Groups
Changed onGet all Network Security Groups for Tenant
Org must have a Tenant entity. User must have authorization role with TENANT_ADMIN suffix.
Request
- Base URLhttps://nico-rest-api.nico.svc.cluster.local
- URLhttps://nico-rest-api.nico.svc.cluster.local/v2/org/{org}/nico/network-security-group
- AuthHTTP bearer
Query parameters
Filter By Site ID
Filter Network Security Groups by Status
Search for matches across all Network Security Groups. Input will be matched against name, description, and status fields
Related entity to expand
One-indexed page number.
Page number for pagination query
Page size for pagination query
Ordering for pagination query
Include counts for the number objects that have attached the Network Security Group
Response
OK
Example response
[
{
"id": "2a21cf79-ea5e-4d28-b585-2e78948fcefb",
"name": "Spark VPC Firewall",
"description": "Security policies for machines in Spark VPC",
"siteId": "56f1a3ed-3653-454f-b861-9136207be660",
"tenantId": "79595ebe-934f-4f19-bc74-c16aefd0c57a",
"status": "Pending",
"statusHistory": [
{
"status": "Ready",
"message": "processed network security group creation request",
"created": "2025-02-26T18:17:44.862879-05:00",
"updated": "2025-02-26T18:17:44.862879-05:00"
}
],
"rules": [
{
"name": "allow-http-from-public",
"direction": "INGRESS",
"sourcePortRange": "80-81",
"destinationPortRange": "180-181",
"protocol": "TCP",
"action": "PERMIT",
"priority": 55,
"sourcePrefix": "0.0.0.0/0",
"destinationPrefix": "1.1.1.1/0"
}
],
"labels": {
"flavor": "coconut"
},
"created": "2025-02-26T18:17:44.861317-05:00",
"updated": "2025-02-26T18:17:44.861317-05:00"
}
]Changes
- info
removed the
nicoenum value from theresponse property for the response status - info
removed the
nicoenum value from theresponse property for the response status - info
removed the
nicoenum value from theresponse property for the response status - info
removed the
nicoenum value from theresponse property for the response status
- info
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info