-
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
[Cloud Security] Cypress Test for Misconfiguration Preview and Table for Contextual Flyout #193125
Merged
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
f8ed329
initial push: added cypress test for Misconfiguration preview
animehart 80d3a01
[CI] Auto-commit changed files from 'node scripts/lint_ts_projects --…
kibanamachine 011fb8f
update cypress
animehart d19bbc2
Merge branch 'csp-cypress-hostname' of github.com:animehart/kibana in…
animehart df19df6
Merge branch 'main' into csp-cypress-hostname
animehart 6e0ae67
added user name contextual flyout cypress
animehart 1888ccd
pr comments
animehart 7c2f468
update notes about cypress
animehart 3964c64
Merge branch 'main' into csp-cypress-hostname
animehart 39e8233
Merge branch 'main' into csp-cypress-hostname
animehart c3879b2
Merge branch 'main' into csp-cypress-hostname
animehart 1b8db59
edit cypress test
animehart ef20875
start making csp cypress test to run on CI the proper way
animehart 519dec9
more cypress settings
animehart a04efbd
fix typo
animehart f21365a
[CI] Auto-commit changed files from 'node scripts/eslint --no-cache -…
kibanamachine 675f1c0
remove console log
animehart a6f95ea
fix conflit 1
animehart 499a692
fix conflict
animehart 5672e82
update readme
animehart 61b251e
fix
animehart bf1f173
Merge branch 'main' into csp-cypress-hostname
animehart 4c328bb
added groups so we can run Cypres on Flaky Test Runner
animehart 9292da7
fix conflict
animehart 602865d
pr Comments
animehart File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
.buildkite/pipelines/pull_request/security_solution/cloud_security_posture.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
steps: | ||
- command: .buildkite/scripts/steps/functional/cloud_security_posture.sh | ||
label: 'Cloud Security Posture Cypress Tests' | ||
agents: | ||
machineType: n2-standard-4 | ||
preemptible: true | ||
depends_on: | ||
- build | ||
- quick_checks | ||
timeout_in_minutes: 60 | ||
parallelism: 1 | ||
retry: | ||
automatic: | ||
- exit_status: '-1' | ||
limit: 1 | ||
|
||
- command: .buildkite/scripts/steps/functional/cloud_security_posture_serverless.sh | ||
label: 'Cloud Security Posture Cypress Tests on Serverless' | ||
agents: | ||
machineType: n2-standard-4 | ||
preemptible: true | ||
depends_on: | ||
- build | ||
- quick_checks | ||
timeout_in_minutes: 60 | ||
parallelism: 1 | ||
retry: | ||
automatic: | ||
- exit_status: '-1' | ||
limit: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
.buildkite/scripts/steps/functional/cloud_security_posture.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -euo pipefail | ||
|
||
source .buildkite/scripts/steps/functional/common.sh | ||
|
||
export JOB=kibana-cloud-security-posture-cypress | ||
export KIBANA_INSTALL_DIR=${KIBANA_BUILD_LOCATION} | ||
|
||
echo "--- Cloud Security Posture Workflows Cypress tests" | ||
|
||
cd x-pack/test/security_solution_cypress | ||
|
||
set +e | ||
|
||
yarn cypress:cloud_security_posture:run:ess; status=$?; yarn junit:merge || :; exit $status |
16 changes: 16 additions & 0 deletions
16
.buildkite/scripts/steps/functional/cloud_security_posture_serverless.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -euo pipefail | ||
|
||
source .buildkite/scripts/steps/functional/common.sh | ||
|
||
export JOB=kibana-cloud-security-posture-serverless-cypress | ||
export KIBANA_INSTALL_DIR=${KIBANA_BUILD_LOCATION} | ||
|
||
echo "--- Cloud Security Posture Workflows Cypress tests on Serverless" | ||
|
||
cd x-pack/test/security_solution_cypress | ||
|
||
set +e | ||
|
||
yarn cypress:cloud_security_posture:run:serverless; status=$?; yarn junit:merge || :; exit $status |
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
The README inside the
security_solution_cypress
folder should be updated as well.