Actions34
- Account Actions
- Audit Actions
- Certificate Actions
- Key Manager Actions
- Login Messages Actions
- Role Actions
- SSH Actions
Audit → Get
AI-generatedSummary
Retrieve the audit configuration from a specified NetApp ONTAP cluster via its REST API.
Inputs
- Cluster Host (required) — The hostname or IP address of the ONTAP cluster management LIF.
- Port — HTTPS port for the ONTAP REST API; defaults to 443.
- Options — Optional settings, including 'Fields' to specify a comma-separated list of audit configuration fields to include in the response (use '*' for all).
Output shape
a single JSON object representing the current audit configuration settings from the ONTAP cluster.
The operation sends a GET request to the '/security/audit' endpoint of the ONTAP REST API and returns the audit configuration details. The optional 'Fields' parameter controls which fields are included in the response. No pagination is needed since this fetches a single resource configuration.
Examples
Example 1: Retrieve complete audit configuration from a cluster
Specify the cluster host and optionally the port, leave 'Fields' empty or set to '*'. The node outputs the audit configuration object as JSON.