Skip to content

Commit 1a4ca14

Browse files
Skru på auditlogg for databasen.
Co-authored-by: Richard André Martinsen <[email protected]>
1 parent 647d453 commit 1a4ca14

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

nais/dev/nais.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,3 +81,8 @@ spec:
8181
pointInTimeRecovery: false
8282
tier: db-custom-1-3840
8383
type: POSTGRES_15
84+
flags:
85+
- name: cloudsql.enable_pgaudit
86+
value: "true"
87+
- name: pgaudit.log
88+
value: 'write'

nais/prod/nais.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,4 +71,9 @@ spec:
7171
hour: 4
7272
pointInTimeRecovery: true
7373
tier: db-custom-4-15360
74-
type: POSTGRES_15
74+
type: POSTGRES_15
75+
flags:
76+
- name: cloudsql.enable_pgaudit
77+
value: "true"
78+
- name: pgaudit.log
79+
value: 'write'

0 commit comments

Comments
 (0)