XAuditREST Resource

GET /xaudit/access_audit

Implements the traditional search functionalities for XAccessAudits

Response Body
media type data type description
application/json VXAccessAuditList (JSON)

Example

Request
GET /xaudit/access_audit
Content-Type: */*
Accept: application/json

                
...
                
              
Response
HTTP/1.1 200 OK
Content-Type: application/json

                
{
  "vXAccessAudits" : [ {
    "auditType" : 12345,
    "accessResult" : 12345,
    "accessType" : "...",
    "aclEnforcer" : "...",
    "agentId" : "...",
    "clientIP" : "...",
    "clientType" : "...",
    "policyId" : 12345,
    "repoName" : "...",
    "repoDisplayName" : "...",
    "repoType" : 12345,
    "serviceType" : "...",
    "serviceTypeDisplayName" : "...",
    "resultReason" : "...",
    "sessionId" : "...",
    "eventTime" : 12345,
    "requestUser" : "...",
    "action" : "...",
    "requestData" : "...",
    "resourcePath" : "...",
    "resourceType" : "...",
    "sequenceNumber" : 12345,
    "eventCount" : 12345,
    "eventDuration" : 12345,
    "tags" : "...",
    "clusterName" : "...",
    "myClassType" : 12345,
    "zoneName" : "...",
    "agentHost" : "...",
    "policyVersion" : 12345,
    "eventId" : "...",
    "id" : 12345,
    "createDate" : 12345,
    "updateDate" : 12345,
    "owner" : "...",
    "updatedBy" : "..."
  }, {
    "auditType" : 12345,
    "accessResult" : 12345,
    "accessType" : "...",
    "aclEnforcer" : "...",
    "agentId" : "...",
    "clientIP" : "...",
    "clientType" : "...",
    "policyId" : 12345,
    "repoName" : "...",
    "repoDisplayName" : "...",
    "repoType" : 12345,
    "serviceType" : "...",
    "serviceTypeDisplayName" : "...",
    "resultReason" : "...",
    "sessionId" : "...",
    "eventTime" : 12345,
    "requestUser" : "...",
    "action" : "...",
    "requestData" : "...",
    "resourcePath" : "...",
    "resourceType" : "...",
    "sequenceNumber" : 12345,
    "eventCount" : 12345,
    "eventDuration" : 12345,
    "tags" : "...",
    "clusterName" : "...",
    "myClassType" : 12345,
    "zoneName" : "...",
    "agentHost" : "...",
    "policyVersion" : 12345,
    "eventId" : "...",
    "id" : 12345,
    "createDate" : 12345,
    "updateDate" : 12345,
    "owner" : "...",
    "updatedBy" : "..."
  } ],
  "listSize" : 12345,
  "list" : [ { }, { } ],
  "startIndex" : 12345,
  "pageSize" : 12345,
  "totalCount" : 12345,
  "resultSize" : 12345,
  "sortType" : "...",
  "sortBy" : "..."
}
                
              

GET /xaudit/trx_log

Implements the traditional search functionalities for XTrxLogs

Response Body
media type data type description
application/json VXTrxLogList (JSON)

Example

Request
GET /xaudit/trx_log
Content-Type: */*
Accept: application/json

                
...
                
              
Response
HTTP/1.1 200 OK
Content-Type: application/json

                
{
  "vXTrxLogs" : [ {
    "objectClassType" : 12345,
    "objectId" : 12345,
    "parentObjectId" : 12345,
    "parentObjectClassType" : 12345,
    "parentObjectName" : "...",
    "objectName" : "...",
    "attributeName" : "...",
    "previousValue" : "...",
    "newValue" : "...",
    "transactionId" : "...",
    "action" : "...",
    "sessionId" : "...",
    "requestId" : "...",
    "sessionType" : "...",
    "id" : 12345,
    "createDate" : 12345,
    "updateDate" : 12345,
    "owner" : "...",
    "updatedBy" : "...",
    "myClassType" : 12345
  }, {
    "objectClassType" : 12345,
    "objectId" : 12345,
    "parentObjectId" : 12345,
    "parentObjectClassType" : 12345,
    "parentObjectName" : "...",
    "objectName" : "...",
    "attributeName" : "...",
    "previousValue" : "...",
    "newValue" : "...",
    "transactionId" : "...",
    "action" : "...",
    "sessionId" : "...",
    "requestId" : "...",
    "sessionType" : "...",
    "id" : 12345,
    "createDate" : 12345,
    "updateDate" : 12345,
    "owner" : "...",
    "updatedBy" : "...",
    "myClassType" : 12345
  } ],
  "listSize" : 12345,
  "list" : [ { }, { } ],
  "startIndex" : 12345,
  "pageSize" : 12345,
  "totalCount" : 12345,
  "resultSize" : 12345,
  "sortType" : "...",
  "sortBy" : "..."
}
                
              

POST /xaudit/trx_log

Request Body
media type data type
application/json VXTrxLog (JSON)
Response Body
media type data type description
application/json VXTrxLog (JSON)

Example

Request
POST /xaudit/trx_log
Content-Type: application/json
Accept: application/json

                
{
  "objectClassType" : 12345,
  "objectId" : 12345,
  "parentObjectId" : 12345,
  "parentObjectClassType" : 12345,
  "parentObjectName" : "...",
  "objectName" : "...",
  "attributeName" : "...",
  "previousValue" : "...",
  "newValue" : "...",
  "transactionId" : "...",
  "action" : "...",
  "sessionId" : "...",
  "requestId" : "...",
  "sessionType" : "...",
  "id" : 12345,
  "createDate" : 12345,
  "updateDate" : 12345,
  "owner" : "...",
  "updatedBy" : "...",
  "myClassType" : 12345
}
                
              
Response
HTTP/1.1 201 Created
Content-Type: application/json

                
{
  "objectClassType" : 12345,
  "objectId" : 12345,
  "parentObjectId" : 12345,
  "parentObjectClassType" : 12345,
  "parentObjectName" : "...",
  "objectName" : "...",
  "attributeName" : "...",
  "previousValue" : "...",
  "newValue" : "...",
  "transactionId" : "...",
  "action" : "...",
  "sessionId" : "...",
  "requestId" : "...",
  "sessionType" : "...",
  "id" : 12345,
  "createDate" : 12345,
  "updateDate" : 12345,
  "owner" : "...",
  "updatedBy" : "...",
  "myClassType" : 12345
}
                
              

PUT /xaudit/trx_log

Request Body
media type data type
application/json VXTrxLog (JSON)
Response Body
media type data type description
application/json VXTrxLog (JSON)

Example

Request
PUT /xaudit/trx_log
Content-Type: application/json
Accept: application/json

                
{
  "objectClassType" : 12345,
  "objectId" : 12345,
  "parentObjectId" : 12345,
  "parentObjectClassType" : 12345,
  "parentObjectName" : "...",
  "objectName" : "...",
  "attributeName" : "...",
  "previousValue" : "...",
  "newValue" : "...",
  "transactionId" : "...",
  "action" : "...",
  "sessionId" : "...",
  "requestId" : "...",
  "sessionType" : "...",
  "id" : 12345,
  "createDate" : 12345,
  "updateDate" : 12345,
  "owner" : "...",
  "updatedBy" : "...",
  "myClassType" : 12345
}
                
              
Response
HTTP/1.1 204 No Content
Content-Type: application/json

                
{
  "objectClassType" : 12345,
  "objectId" : 12345,
  "parentObjectId" : 12345,
  "parentObjectClassType" : 12345,
  "parentObjectName" : "...",
  "objectName" : "...",
  "attributeName" : "...",
  "previousValue" : "...",
  "newValue" : "...",
  "transactionId" : "...",
  "action" : "...",
  "sessionId" : "...",
  "requestId" : "...",
  "sessionType" : "...",
  "id" : 12345,
  "createDate" : 12345,
  "updateDate" : 12345,
  "owner" : "...",
  "updatedBy" : "...",
  "myClassType" : 12345
}
                
              

GET /xaudit/access_audit/count

Response Body
media type data type description
application/json VXLong (JSON)

Example

Request
GET /xaudit/access_audit/count
Content-Type: */*
Accept: application/json

                
...
                
              
Response
HTTP/1.1 200 OK
Content-Type: application/json

                
{
  "value" : 12345,
  "myClassType" : 12345
}
                
              

GET /xaudit/trx_log/count

Response Body
media type data type description
application/json VXLong (JSON)

Example

Request
GET /xaudit/trx_log/count
Content-Type: */*
Accept: application/json

                
...
                
              
Response
HTTP/1.1 200 OK
Content-Type: application/json

                
{
  "value" : 12345,
  "myClassType" : 12345
}
                
              

DELETE /xaudit/trx_log/{id}

Request Parameters
name type description constraints
id path long

Example

Request
DELETE /xaudit/trx_log/{id}
Content-Type: */*

                
...
                
              
Response
HTTP/1.1 204 No Content

              

GET /xaudit/trx_log/{id}

Request Parameters
name type description constraints
id path long
Response Body
media type data type description
application/json VXTrxLog (JSON)

Example

Request
GET /xaudit/trx_log/{id}
Content-Type: */*
Accept: application/json

                
...
                
              
Response
HTTP/1.1 200 OK
Content-Type: application/json

                
{
  "objectClassType" : 12345,
  "objectId" : 12345,
  "parentObjectId" : 12345,
  "parentObjectClassType" : 12345,
  "parentObjectName" : "...",
  "objectName" : "...",
  "attributeName" : "...",
  "previousValue" : "...",
  "newValue" : "...",
  "transactionId" : "...",
  "action" : "...",
  "sessionId" : "...",
  "requestId" : "...",
  "sessionType" : "...",
  "id" : 12345,
  "createDate" : 12345,
  "updateDate" : 12345,
  "owner" : "...",
  "updatedBy" : "...",
  "myClassType" : 12345
}