summaryrefslogtreecommitdiff
path: root/jb-ui/src/api_fsb/docs/AuditLog.md
blob: 3d474571461515ad48b2701f82ab439253ff86a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# AuditLog

Table / Model for logging \"actions\" taken by a user or \"events\" that are related to a User

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **number** |  | [optional] [default to undefined]
**user_id** | **number** |  | [default to undefined]
**created** | **string** | When did this event occur | [optional] [default to undefined]
**level** | [**AuditLogLevel**](AuditLogLevel.md) | The level of importance for this event. Works the same as python logging levels. It is an integer 0 - 50, and implementers of this field could map it to the predefined levels: (`CRITICAL`, `ERROR`, `WARNING`, `INFO`, `DEBUG`).This is NOT the same concept as the \'strength\' of whatever event happened; it is just for sorting, filtering and display purposes. For e.g. multiple level 20 events != the \'importance\' of one level 40 event. | [default to undefined]
**event_type** | **string** |  | [default to undefined]
**event_msg** | **string** |  | [optional] [default to undefined]
**event_value** | **number** |  | [optional] [default to undefined]

## Example

```typescript
import { AuditLog } from './api';

const instance: AuditLog = {
    id,
    user_id,
    created,
    level,
    event_type,
    event_msg,
    event_value,
};
```

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)