Esx. Settings. Hosts. Configuration. Audit Records List

Esx. Settings. Hosts. Configuration. Audit Records List

Retrieves audit information about the configuration actions performed on the standalone host.

Warning: this operation is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.

Returns an authorization error if you do not have all of the privileges described as follows:

  • Operation execution requires VcIntegrity.StandaloneHostConfiguration.View.
  • The resource HostSystem referenced by the parameter host requires VcIntegrity.StandaloneHostConfiguration.View.
Request
URI
GET
https://{api_host}/esx/settings/hosts/{host}/configuration/audit-records
COPY
Path Parameters
string
host
Required

Identifier of the host.

The parameter must be an identifier for the resource type: HostSystem.

Query Parameters
filters
Optional

used to filter the audit records.

If missing or null returns all available audit records associated with host

string of array
operations
Optional

List of audit records that match the given operations An operation in operations can be any of

  • Export
  • Remediate
  • Checkcompliance
  • Precheck
  • Transition-Enable
  • Draft-List
  • Draft-Create
  • Draft-ImportFromHost
  • Draft-Get
  • Draft-ExportConfig
  • Draft-Update
  • Draft-ShowChanges
  • Draft-CheckCompliance
  • Draft-Precheck
  • Draft-Delete
  • Draft-Apply
  • Draft-GetSchema

Warning: this property is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.

If missing or null or empty, records with any operation match the filter.

string of array
usernames
Optional

List of audit records that match the given users

Warning: this property is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.

If missing or null or empty, records with any users match the filter.

string
start
Optional

List of audit records that match the given start time i.e. occurred after the DateTime start.

Warning: this property is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.

string
end
Optional

List of audit records that match the given end time i.e. occurred before the DateTime end.

Warning: this property is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.


Authentication
This operation uses the following authentication methods.
Responses
200

audit information about the standalone host

Returns Array of Esx.Settings.Hosts.Configuration.AuditRecords.Info of type(s) application/json
[
    "Esx.Settings.Hosts.Configuration.AuditRecords.Info Object"
]

400

If the host is not a standalone host.

Returns Vapi.Std.Errors.InvalidArgument of type(s) application/json
"Vapi.Std.Errors.InvalidArgument Object"

401

If the caller is not authenticated.

Returns Vapi.Std.Errors.Unauthenticated of type(s) application/json
"Vapi.Std.Errors.Unauthenticated Object"

403

If the user doesn't not have the required privileges.

Returns Vapi.Std.Errors.Unauthorized of type(s) application/json
"Vapi.Std.Errors.Unauthorized Object"

404

If there is no host associated with

Returns Vapi.Std.Errors.NotFound of type(s) application/json
"Vapi.Std.Errors.NotFound Object"

503

If the service is not available.

Returns Vapi.Std.Errors.ServiceUnavailable of type(s) application/json
"Vapi.Std.Errors.ServiceUnavailable Object"

Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/esx/settings/hosts/{host}/configuration/audit-records