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

feat: added resetToGeneration audit endpoint #1101

Merged
merged 22 commits into from
May 31, 2024

Conversation

wwills2
Copy link
Collaborator

@wwills2 wwills2 commented May 24, 2024

this pr adds the ability to remove all audit table records after a given generation or time stamp, allows for resets for specific orgUid's, and allows the inclusion or exclusion of the home Org.

2 new endpoints:

  • audit/resetToTimestamp: accepts a unix timestamp in ms, an optional orgUId, and and optional boolean to include the home org in the reset
  • audit/resetToGeneration accepts a generation number, an optional orgUId, and and optional boolean to include the home org in the reset

@wwills2 wwills2 requested a review from TheLastCicada May 27, 2024 20:59
@wwills2 wwills2 self-assigned this May 27, 2024
fix: handled data base is locked error
@TheLastCicada TheLastCicada merged commit 319e2a9 into develop May 31, 2024
9 checks passed
@TheLastCicada TheLastCicada deleted the reset-audit-table-to-generation branch May 31, 2024 18:43
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