Skip to main content
NetApp Knowledge Base

CONTAP-769272: REST API GET /api/private/cli/vserver/export-policy/check-access returns incomplete results in ONTAP 9.16.1

Views:
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
core
Last Updated:

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
}

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.