8000 feat: add resource_target to audit log search by Emyrk · Pull Request #8423 · coder/coder · GitHub
[go: up one dir, main page]

Skip to content

feat: add resource_target to audit log search #8423

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

Merged
merged 2 commits into from
Jul 11, 2023
Merged

Conversation

Emyrk
Copy link
Member
@Emyrk Emyrk commented Jul 11, 2023

Closes: #8050

@Emyrk Emyrk requested a review from johnstcn July 11, 2023 14:14
Copy link
Member
@johnstcn johnstcn left a comment

Choose a reason for hiding this comment

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

Missing a unit test 🤓

@Emyrk
Copy link
Member Author
Emyrk commented Jul 11, 2023

Fair...

The search package is tested, and the audit log db interaction should be tested elsewhere. So I'll just add a test that the query populates the correct audit log db param.

All edge cases are already covered by the search package. (Spaces, colons, other characters)

@Emyrk Emyrk requested a review from johnstcn July 11, 2023 14:58
@Emyrk Emyrk merged commit f67ccc9 into main Jul 11, 2023
@Emyrk Emyrk deleted the stevenmasley/audit_search branch July 11, 2023 17:05
@github-actions github-actions bot locked and limited conversation to collaborators Jul 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

audit: "resource_target is not a valid query param" conflicts with the docs
2 participants
0