AttackForge Enterprise & AttackForge Core
Powered By GitBook
GetApplicationAuditLogs
This method can be used for the following: Get exportable audit logs for the application.

Parameters

The following URL, Headers and Parameters are required for requests to this API endpoint. Where a parameter is optional, it will be indicated. Otherwise treat all parameters as mandatory.

Headers

1
GET /api/ss/auditlogs HTTP/1.1
2
Host: demo.attackforge.com
3
X-SSAPI-KEY: APIKey
4
Content-Type: application/json
5
Connection: close
Copied!

Example

The following example is a cURL request to get exportable application audit logs since last request/fetch.

Request

Include API Token instead of stars in 'X-SSAPI-KEY: ***************************************' parameter.
1
curl -X GET 'https://demo.attackforge.com/api/ss/auditlogs' -H 'Host: demo.attackforge.com' -H 'X-SSAPI-KEY: ***************************************' -H 'Content-Type: application/json' -H 'Connection: close'
Copied!

Response

Response contains an array of logs.
1
{
2
"count": 999,
3
"logs":[
4
{
5
"created_timestamp": "...",
6
"id": "...",
7
"user_id": "...",
8
"project_id": "...",
9
"source_ip_address": "...",
10
"event_action": "...",
11
"event_description": "...",
12
"event_details": "...",
13
"verbosity": 999,
14
"export": true
15
}
16
]
17
}
Copied!
Last modified 11mo ago