Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ec3920b

Browse files
authoredNov 28, 2024··
effective audit-log config
1 parent 1142fae commit ec3920b

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed
 

Diff for: ‎guides/data-privacy/audit-logging.md

+16-16
Original file line numberDiff line numberDiff line change
@@ -42,24 +42,24 @@ npm add @cap-js/audit-logging
4242

4343
1. Sets <Config>cds.requires.audit-log: true</Config>
4444

45-
2. Which in turn activates the `audit-log` configuration **presets**:
45+
2. Which in turn activates the effective `audit-log` configuration via **presets**:
4646
```jsonc
4747
{
48-
"audit-log": {
49-
"handle": [ "READ", "WRITE" ],
50-
"outbox": true
51-
"[development]": {
52-
"impl": "@cap-js/audit-logging/srv/log2console"
53-
},
54-
"[hybrid]": {
55-
"impl": "@cap-js/audit-logging/srv/log2restv2",
56-
"vcap": { "label": "auditlog" }
57-
},
58-
"[production]": {
59-
"impl": "@cap-js/audit-logging/srv/log2restv2",
60-
"vcap": { "label": "auditlog" }
61-
}
62-
}
48+
"audit-log": {
49+
"handle": ["READ", "WRITE"],
50+
"outbox": true,
51+
"[development]": {
52+
"impl": "@cap-js/audit-logging/srv/log2console"
53+
},
54+
"[hybrid]": {
55+
"impl": "@cap-js/audit-logging/srv/log2restv2",
56+
"vcap": { "label": "auditlog" }
57+
},
58+
"[production]": {
59+
"impl": "@cap-js/audit-logging/srv/log2restv2",
60+
"vcap": { "label": "auditlog" }
61+
}
62+
}
6363
}
6464
```
6565

0 commit comments

Comments
 (0)
Please sign in to comment.