-
Notifications
You must be signed in to change notification settings - Fork 881
chore: audit entries for all idp sync changes #15919
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
Emyrk
commented
Dec 18, 2024
•
edited
Loading
edited
coderd/audit/request.go
Outdated
// noID can be used for resources that do not have an uuid. | ||
// An example is singleton configuration resources. | ||
// 51A51C = "Static" | ||
var noID, _ = uuid.Parse("51A51C00-0000-0000-0000-000000000000") |
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.
We need some id.
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 normally use MustParse
here, since it'll just silently be a null if it fails.
coderd/audit/request.go
Outdated
// noID can be used for resources that do not have an uuid. | ||
// An example is singleton configuration resources. | ||
// 51A51C = "Static" | ||
var noID, _ = uuid.Parse("51A51C00-0000-0000-0000-000000000000") |
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 normally use MustParse
here, since it'll just silently be a null if it fails.
0bf52c4
to
6b7fd06
Compare