You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/admin/audit-logs.md
+53
Original file line number
Diff line number
Diff line change
@@ -43,6 +43,59 @@ The supported filters are:
43
43
-`date_to` - The inclusive end date with format `YYYY-MM-DD`.
44
44
-`build_reason` - To be used with `resource_type:workspace_build`, the [initiator](https://pkg.go.dev/github.com/coder/coder/codersdk#BuildReason) behind the build start or stop.
45
45
46
+
## Capturing/Exporting Audit Logs
47
+
48
+
In addition to the user interface, there are multiple ways to consume or query audit trails.
49
+
50
+
## REST API
51
+
52
+
Audit logs can be accessed through our REST API. You can find detailed information about this in our [endpoint documentation](../api/audit#get-audit-logs).
53
+
54
+
## Service Logs
55
+
56
+
Audit trails are also dispatched as service logs and can be captured and categorized using any log management tool such as [Splunk](https://splunk.com).
57
+
58
+
Example of a [JSON formatted](../cli/server#--log-json) audit log entry:
Copy file name to clipboardExpand all lines: examples/templates/envbox/README.md
+14
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,20 @@ The following environment variables can be used to configure various aspects of
27
27
|`CODER_CPUS`| Dictates the number of CPUs to allocate the inner container. It is recommended to set this using the Kubernetes [Downward API](https://kubernetes.io/docs/tasks/inject-data-application/environment-variable-expose-pod-information/#use-container-fields-as-values-for-environment-variables). | false |
28
28
|`CODER_MEMORY`| Dictates the max memory (in bytes) to allocate the inner container. It is recommended to set this using the Kubernetes [Downward API](https://kubernetes.io/docs/tasks/inject-data-application/environment-variable-expose-pod-information/#use-container-fields-as-values-for-environment-variables). | false |
29
29
30
+
# Migrating Existing Envbox Templates
31
+
32
+
Due to the [deprecation and removal of legacy parameters](https://coder.com/docs/v2/latest/templates/parameters#legacy)
33
+
it may be necessary to migrate existing envbox templates on newer versions of
34
+
Coder. Consult the [migration](https://coder.com/docs/v2/latest/templates/parameters#migration)
35
+
documentation for details on how to do so.
36
+
37
+
To supply values to existing existing Terraform variables you can specify the
0 commit comments