Skip to content

Commit 53053b6

Browse files
Documented audit_logs database table
Signed-off-by: Ihor Aleksandrychiev <ihor.aleksandrychiev@northern.tech>
1 parent 49d82af commit 53053b6

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

api/enterprise-api-ref/sql-schema/cfsettings.markdown

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,28 @@ published: true
66

77
Settings used by Mission Portal APIs, no reported data.
88

9+
## Table: audit_logs
10+
11+
Stores system logs about actions performed by users.
12+
13+
**Columns:**
14+
15+
* **id** *(bigint)*
16+
The unique identifier of audit log event, generated from a sequence.
17+
* **time** *(timestamp without a time zone)*
18+
Time when an event happened.
19+
* **action** *(text)*
20+
What was done (e.g., updated, created, deleted, deployed).
21+
* **object_type** *(text)*
22+
Type of affected object (e.g., user, role, build project).
23+
* **object_id** *(text)*
24+
Identifier of an affected object (e.g. user, role id, build project id), if applicable.
25+
* **details** *(json)*
26+
More details in the free-json format.
27+
* **ip_address** *(boolean)*
28+
IP address of the user who performed the action.
29+
30+
931
## Table: build_modules
1032

1133
Information about build modules available from the index (build.cfengine.com).

0 commit comments

Comments
 (0)