Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb34ee61

Browse files
committed
advice audit log retention according to docs
1 parentb5e66fa commitb34ee61

File tree

5 files changed

+10
-5
lines changed

5 files changed

+10
-5
lines changed

‎cli/testdata/coder_server_--help.golden‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -710,7 +710,9 @@ that data type.
710710

711711
--audit-logs-retention duration, $CODER_AUDIT_LOGS_RETENTION (default: 0)
712712
How long audit log entries are retained. Set to 0 to use the global
713-
retention value, or to disable if global is also 0.
713+
retention value, or to disable if global is also 0. We advise keeping
714+
audit logs for at least a year, and in accordance with your compliance
715+
requirements.
714716

715717
--connection-logs-retention duration, $CODER_CONNECTION_LOGS_RETENTION (default: 0)
716718
How long connection log entries are retained. Set to 0 to use the

‎cli/testdata/server-config.yaml.golden‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -767,7 +767,8 @@ retention:
767767
# (default: 0, type: duration)
768768
global: 0s
769769
# How long audit log entries are retained. Set to 0 to use the global retention
770-
# value, or to disable if global is also 0.
770+
# value, or to disable if global is also 0. We advise keeping audit logs for at
771+
# least a year, and in accordance with your compliance requirements.
771772
# (default: 0, type: duration)
772773
audit_logs: 0s
773774
# How long connection log entries are retained. Set to 0 to use the global

‎codersdk/deployment.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3405,7 +3405,7 @@ Write out the current server config as YAML to stdout.`,
34053405
},
34063406
{
34073407
Name:"Audit Logs Retention",
3408-
Description:"How long audit log entries are retained. Set to 0 to use the global retention value, or to disable if global is also 0.",
3408+
Description:"How long audit log entries are retained. Set to 0 to use the global retention value, or to disable if global is also 0. We advise keeping audit logs for at least a year, and in accordance with your compliance requirements.",
34093409
Flag:"audit-logs-retention",
34103410
Env:"CODER_AUDIT_LOGS_RETENTION",
34113411
Value:&c.Retention.AuditLogs,

‎docs/reference/cli/server.md‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎enterprise/cli/testdata/coder_server_--help.golden‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -711,7 +711,9 @@ that data type.
711711

712712
--audit-logs-retention duration, $CODER_AUDIT_LOGS_RETENTION (default: 0)
713713
How long audit log entries are retained. Set to 0 to use the global
714-
retention value, or to disable if global is also 0.
714+
retention value, or to disable if global is also 0. We advise keeping
715+
audit logs for at least a year, and in accordance with your compliance
716+
requirements.
715717

716718
--connection-logs-retention duration, $CODER_CONNECTION_LOGS_RETENTION (default: 0)
717719
How long connection log entries are retained. Set to 0 to use the

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp