-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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 to space deletion #123378
Conversation
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.
Self review
x-pack/plugins/spaces/server/spaces_client/spaces_client.mock.ts
Outdated
Show resolved
Hide resolved
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.
Finished a first pass, tag me again when CI is green and you're ready for another round!
x-pack/plugins/security/server/spaces/secure_spaces_client_wrapper.ts
Outdated
Show resolved
Hide resolved
x-pack/plugins/security/server/spaces/secure_spaces_client_wrapper.ts
Outdated
Show resolved
Hide resolved
Pinging @elastic/kibana-security (Team:Security) |
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 noticed a couple more things, shouldn't take long to address!
x-pack/plugins/spaces/server/spaces_client/spaces_client.test.ts
Outdated
Show resolved
Hide resolved
x-pack/plugins/security/server/spaces/secure_spaces_client_wrapper.ts
Outdated
Show resolved
Hide resolved
💚 Build Succeeded
Metrics [docs]History
To update your PR or re-run it, just comment with: |
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.
LGTM!
* Add audit logging to space deletion * Fix outcome * Delete all non-global saved objects * Added suggestions from code review * Fix tests (cherry picked from commit 5819cfb)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
Looks like this PR is causing TSC errors in CI because 0491214 was merged in shortly beforehand. https://buildkite.com/elastic/kibana-hourly/builds/8512#de3c1516-38a1-4a97-9df1-018716509b4b
|
This reverts commit 5819cfb.
Here is the revert: cd06e5f |
Resolves #107589
Summary
Add audit events for deleted saved objects
Before
After