-
Notifications
You must be signed in to change notification settings - Fork 887
chore: autogenerate audit log documentation #5862
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@kylecarbs The below check is failing. Shall I add an exception to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I found only minor issues, so we can merge it soon 👍
ERROR: AGPL code cannot import enterprise!
Yup, an exception would be enough. You can include it in this PR, Kira.
@@ -9,7 +9,7 @@ source "$(dirname "${BASH_SOURCE[0]}")/lib.sh" | |||
cdroot | |||
|
|||
set +e | |||
find . -regex ".*\.go" | grep -v "./enterprise" | xargs grep -n "github.com/coder/coder/enterprise" | |||
find . -regex ".*\.go" | grep -v "./enterprise" | grep -v "./scripts/auditdocgen/main.go" | xargs grep -n "github.com/coder/coder/enterprise" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
grep -v "./scripts/auditdocgen/*.go"
- in case we add more .go files in the future.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea! I'll add this change in this PR.
Resolves #5356
We now autogenerate the resource table in our Audit Log documentation:
https://coder.com/docs/v2/0facafef8f0ea6e3ba065a79993c622fb378f108/admin/audit-logs