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

[Defend Workflows] Fix osquery tests 8.9 #156850

Merged
merged 10 commits into from
May 8, 2023

Conversation

tomsonpl
Copy link
Contributor

@tomsonpl tomsonpl commented May 5, 2023

There have been some changes introduced in 8.9 that make our Osquery tests fail. This PR should solve the issues.

@tomsonpl tomsonpl added chore Team:Defend Workflows “EDR Workflows” sub-team of Security Solution Feature:Osquery Security Solution Osquery feature v8.9.0 labels May 5, 2023
@tomsonpl tomsonpl self-assigned this May 5, 2023
@tomsonpl tomsonpl marked this pull request as ready for review May 5, 2023 15:11
@tomsonpl tomsonpl requested a review from a team as a code owner May 5, 2023 15:11
@tomsonpl tomsonpl requested review from ashokaditya and parkiino May 5, 2023 15:11
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-defend-workflows (Team:Defend Workflows)

@tomsonpl tomsonpl added the release_note:skip Skip the PR/issue when compiling release notes label May 5, 2023
@@ -11,12 +11,14 @@ export const DEFAULT_QUERY = 'select * from processes;';
export const BIG_QUERY = 'select * from processes, users limit 110;';

export const selectAllAgents = () => {
cy.react('AgentsTable').find('input').should('not.be.disabled');
Copy link
Contributor Author

@tomsonpl tomsonpl May 8, 2023

Choose a reason for hiding this comment

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

I refactored this to stop using cy.react because not everywhere cypress react selector is available (event details flyout).

@tomsonpl tomsonpl requested review from patrykkopycinski and szwarckonrad and removed request for ashokaditya and parkiino May 8, 2023 12:01
@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

Unknown metric groups

ESLint disabled line counts

id before after diff
enterpriseSearch 19 21 +2
securitySolution 398 401 +3
total +5

Total ESLint disabled count

id before after diff
enterpriseSearch 20 22 +2
securitySolution 478 481 +3
total +5

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @tomsonpl

@tomsonpl tomsonpl merged commit 2b0c44f into elastic:main May 8, 2023
@kibanamachine kibanamachine added the backport:skip This commit does not require backporting label May 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting chore Feature:Osquery Security Solution Osquery feature release_note:skip Skip the PR/issue when compiling release notes Team:Defend Workflows “EDR Workflows” sub-team of Security Solution v8.9.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants