Skip to content

Add audit logging resource and events for check plugin#3430

Merged
cyinma merged 3 commits intomainfrom
cyinma/plugin-audit
Oct 29, 2024
Merged

Add audit logging resource and events for check plugin#3430
cyinma merged 3 commits intomainfrom
cyinma/plugin-audit

Conversation

@cyinma
Copy link
Copy Markdown
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
@github-actions
Copy link
Copy Markdown
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

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
Copy Markdown
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
Copy Markdown
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 requested review from bufdev and mfridman October 29, 2024 20:12
@cyinma cyinma merged commit f9856b2 into main Oct 29, 2024
@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