CONTAP-769272: REST API GET /api/private/cli/vserver/export-policy/check-access returns incomplete results in ONTAP 9.16.1
Issue
- In ONTAP 9.16.1, calling the REST API endpoint GET /api/private/cli/vserver/export-policy/check-access returns only a single record instead of the full set of matching paths.
- This is a regression from ONTAP 9.14.1, where the same API correctly returned all results in a records[] array with a num_records count.
Observed Behavior (9.16.1)
API returns a single flat object:
{
"vserver": "vs3",
"volume": "vol3",
"client_ip": "1.1.1.1",
"authentication_method": "none",
"protocol": "nfs3",
"access_type": "read",
"path": "/",
"policy": "default",
"rule_index": 1,
"access": "read"
}
Expected Behavior (9.14.1)
API returns a records[] array with all matching entries:
{
"records": [
{ "path": "/", "policy": "default", "rule_index": 1, "access": "read", ... },
{ "path": "/vol5", "policy": "pol5", "rule_index": 1, "access": "read", ... }
],
"num_records": 2
}
