Update the administrative audit settings for GET requests
Updates the administrative audit settings related to GET requests to adjust how those requests are tracked and logged.
HTTP method and endpoint
PATCH /security/audit
Introduced in
ONTAP 9.6
Usage notes
Updates administrative audit settings for GET requests. All of the fields are optional. An empty body will make no changes.
Request Body
| Name | Type | Description |
|---|---|---|
cli |
boolean |
Enable auditing of CLI GET Operations. Valid in PATCH |
http |
boolean |
Enable auditing of HTTP GET Operations. Valid in PATCH |
ontapi |
boolean |
Enable auditing of ONTAP API GET operations. Valid in PATCH
|
Response
Status: 200, Ok
| Name | Type | Description |
|---|---|---|
cli |
boolean |
Enable auditing of CLI GET Operations. Valid in PATCH |
http |
boolean |
Enable auditing of HTTP GET Operations. Valid in PATCH |
ontapi |
boolean |
Enable auditing of ONTAP API GET operations. Valid in PATCH
|
Error
Status: Default, Error
Definitions
See Definitions
href
| Name | Type | Description |
|---|---|---|
href |
string |
_links
security_audit
| Name | Type | Description |
|---|---|---|
cli |
boolean |
Enable auditing of CLI GET Operations. Valid in PATCH |
http |
boolean |
Enable auditing of HTTP GET Operations. Valid in PATCH |
ontapi |
boolean |
Enable auditing of ONTAP API GET operations. Valid in PATCH
|
error_arguments
| Name | Type | Description |
|---|---|---|
code |
string |
Argument code |
message |
string |
Message argument |
error
| Name | Type | Description |
|---|---|---|
arguments |
array[error_arguments] |
Message arguments |
code |
string |
Error code |
message |
string |
Error message |
target |
string |
The target parameter that caused the error. |