Skip to main content
Version: latest

Retrieves the list of audit logs

GET 

/v1/edge-mgmt/edgehosts/current/audits

Retrieves the list of audit logs

Request

Query Parameters

    startTime date-time

    Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.

    endTime date-time

    Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.

    userUid string

    Specify the user uid, to retrieve the specific user audit logs

    resourceKind string

    Specify the resource name, to retrieve the specific resource audit logs

    actionType string

    Possible values: [create, update, delete, activity, action]

    limit int64

    Default value: 50

    limit is a maximum number of responses to return for a list call. Default and maximum value of the limit is 50. If more items exist, the server will set the continue field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results.

    offset int64

    offset is the next index number from which the response will start. The response offset value can be used along with continue token for the pagination.

    continue string

    continue token to paginate the subsequent data items

Responses

OK

Schema

    items

    object[]

    required

    List of audit message

  • Array [

  • metadata

    createTimestampdate-time

    CreationTimestamp is a timestamp representing the server time when this object was created.

    edgeHostIdstring

    edge host id

    spec

    Audit specifications

    actionTypestring

    Possible values: [create, update, delete, action, activity]

    actor

    Audit actor object

    actorTypestring

    Possible values: [user, system]

    uidstring

    id of actor

    messagestring

    Audit action message

    resource

    Audit resource object

    kindstring

    Audit resource type

    namestring

    Audit resource name

    uidstring

    Audit resource id

  • ]

  • listmeta

    object

    ListMeta describes metadata for the resource listing

    continuestring

    Next token for the pagination. Next token is equal to empty string indicates end of result set.

    limitinteger

    Number of records feteched

    offsetinteger

    The next offset for the pagination. Starting index for which next request will be placed.

Loading...