Powered by Algolia

    Audit Logs

    https://api.spectrocloud.com/v1alpha1/audits

    summary:
    Retrieves a list of audit logs
    Parameters:
    NameTypeDescriptionRequired
    startTimestringTime 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.no
    endTimestringTime 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.no
    userUidstringno
    projectUidstringno
    tenantUidstringno
    resourceKindstringno
    resourceUidstringno
    actionTypestringno
    limitintegerlimit is a maximum number of responses to return for a list call. 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.no
    continuestringcontinue token for the datasetno
    200
    OK
    {
    "items": [
    {
    "metadata": {
    "annotations": "object",
    "creationTimestamp": "date-time",
    "deletionTimestamp": "date-time",
    "labels": "object",
    "name": "string",
    "namespace": "string",
    "resourceVersion": "string",
    "selfLink": "string",
    "uid": "string"
    },
    "spec": {
    "actionMsg": "string",
    "actionType": "string",
    "actor": {
    "actorType": "string",
    "project": {
    "name": "string",
    "uid": "string"
    },
    "serviceName": "string",
    "user": {
    "emailId": "string",
    "firstName": "string",
    "lastName": "string",
    "org": "string",
    "uid": "string"
    }
    },
    "contentMsg": "string",
    "resource": {
    "kind": "string",
    "name": "string",
    "uid": "string"
    },
    "userMsg": "string"
    }
    }
    ],
    "listmeta": {
    "continue": "string",
    "count": "integer"
    }
    }

    https://api.spectrocloud.com/v1alpha1/audits/{uid}

    summary:
    Returns the specified audit log
    Path parameters:
    NameTypeDescriptionRequired
    uidstringyes
    200
    OK
    {
    "metadata": {
    "annotations": "object",
    "creationTimestamp": "date-time",
    "deletionTimestamp": "date-time",
    "labels": "object",
    "name": "string",
    "namespace": "string",
    "resourceVersion": "string",
    "selfLink": "string",
    "uid": "string"
    },
    "spec": {
    "actionMsg": "string",
    "actionType": "string",
    "actor": {
    "actorType": "string",
    "project": {
    "name": "string",
    "uid": "string"
    },
    "serviceName": "string",
    "user": {
    "emailId": "string",
    "firstName": "string",
    "lastName": "string",
    "org": "string",
    "uid": "string"
    }
    },
    "contentMsg": "string",
    "resource": {
    "kind": "string",
    "name": "string",
    "uid": "string"
    },
    "userMsg": "string"
    }
    }

    https://api.spectrocloud.com/v1alpha1/audits/{uid}/sysMsg

    summary:
    Returns the system message of the specified audit
    Path parameters:
    NameTypeDescriptionRequired
    uidstringyes
    200
    OK
    {
    "actionMsg": "string",
    "contentMsg": "string"
    }

    https://api.spectrocloud.com/v1alpha1/audits/{uid}/userMsg

    summary:
    Updates the specified user message for the specified audit
    Path parameters:
    NameTypeDescriptionRequired
    uidstringyes
    {
    "userMsg": "string"
    }
    204
    The resource was updated successfully