Skip to content
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

Add audit logging resource and events for check plugin #3430

Merged
merged 3 commits into from
Oct 29, 2024

Conversation

cyinma
Copy link
Member

@cyinma cyinma commented Oct 29, 2024

this add the necessary audit logging types and events for the check plugin works

@cyinma cyinma requested a review from bufdev as a code owner October 29, 2024 19:26
@cyinma cyinma requested a review from mfridman October 29, 2024 19:26
Copy link
Contributor

github-actions bot commented Oct 29, 2024

The latest Buf updates on your PR. Results from workflow Buf CI / buf (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed✅ passedOct 29, 2024, 8:09 PM

@@ -115,6 +116,8 @@ enum EventType {
EVENT_TYPE_USER_AUTO_MERGED_FROM_NEW_IDP = 37;
EVENT_TYPE_DEVICE_AUTHORIZATION_GRANT_APPROVED = 41;
EVENT_TYPE_DEVICE_AUTHORIZATION_GRANT_DENIED = 42;
EVENT_TYPE_CHECK_PLUGIN_CREATED = 43;
Copy link
Member

@mfridman mfridman Oct 29, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why wouldn't this be a "plugin created" and then on the payload plugin created you have a "type" to represent the plugin type? It's all one action against the same RPC.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated, we will be reusing the resource and event type of alpha plugin then

@cyinma cyinma merged commit f9856b2 into main Oct 29, 2024
10 checks passed
@cyinma cyinma deleted the cyinma/plugin-audit branch October 29, 2024 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants