-
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
[Security Solution][Endpoint] Search responses without a specific namespace to show pending actions #123741
[Security Solution][Endpoint] Search responses without a specific namespace to show pending actions #123741
Conversation
Pinging @elastic/security-onboarding-and-lifecycle-mgt (Team:Onboarding and Lifecycle Mgt) |
ca1235c
to
964f6e6
Compare
964f6e6
to
eb6b4e4
Compare
x-pack/plugins/security_solution/server/endpoint/utils/audit_log_helpers.ts
Outdated
Show resolved
Hide resolved
0457753
to
f006eb1
Compare
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 left a question, but giving it a 👍
export const logsEndpointResponsesRegex = new RegExp( | ||
`(^\.ds-\.logs-endpoint\.action\.responses-default-).+` | ||
`(^\.ds-\.logs-endpoint\.action\.responses-\\w+-).+` |
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.
Do you really need \\w+
here?
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.
Not really! Just matching the name is enough. Will clean it up in a follow up PR
💚 Build Succeeded
Metrics [docs]
History
To update your PR or re-run it, just comment with: cc @ashokaditya |
…espace to show pending actions (elastic#123741) * search responses without a specific namespace to show pending actions fixes elastic/issues/123707 * search over all endpoint response indices irrespective of namespace suffix fixes elastic/issues/123707 * match namespace suffixes for endpoint action and response indices fixes elastic/issues/123707 (cherry picked from commit dfd8bfb)
…espace to show pending actions (elastic#123741) * search responses without a specific namespace to show pending actions fixes elastic/issues/123707 * search over all endpoint response indices irrespective of namespace suffix fixes elastic/issues/123707 * match namespace suffixes for endpoint action and response indices fixes elastic/issues/123707 (cherry picked from commit dfd8bfb)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…espace to show pending actions (#123741) (#123769) * search responses without a specific namespace to show pending actions fixes /issues/123707 * search over all endpoint response indices irrespective of namespace suffix fixes /issues/123707 * match namespace suffixes for endpoint action and response indices fixes /issues/123707 (cherry picked from commit dfd8bfb) Co-authored-by: Ashokaditya <1849116+ashokaditya@users.noreply.github.com>
…espace to show pending actions (#123741) (#123770) * search responses without a specific namespace to show pending actions fixes /issues/123707 * search over all endpoint response indices irrespective of namespace suffix fixes /issues/123707 * match namespace suffixes for endpoint action and response indices fixes /issues/123707 (cherry picked from commit dfd8bfb) Co-authored-by: Ashokaditya <1849116+ashokaditya@users.noreply.github.com>
Summary
Searches response docs in the endpoint response index pattern to determine pending action response counts.
Checklist
Delete any items that are not applicable to this PR.