Outsider Stage 0.5
실제 봉인된 Outsider Stage 0.5 개입 체인을 재생하고 검증합니다
ReadonlyREST는 공식 Elasticsearch·Kibana와 호환되는 검증된 보안 솔루션으로, 설정이 간편합니다
ReadonlyREST is a battle tested, smart, quick to configure security solution that is compatible with the official Elasticsearch and Kibana pro
보안TypeScript · ShellGitHub @beshu-tech온라인운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기End-to-end tests for ReadonlyREST plugins
저장소 README에서 가져옴
README 전체를 불러오는 중입니다.
README 전문 보기 ↗Prerequisites:
1.22.x or newer) - for running E2E tests27.x.x or newer) - for running ELK environment0.26.x or newer) - for running ECK environmentrunner.sh bootstraps the environment and runs Cypress E2E tests in one shot.
Docker-based environment:
./runner.sh --elk 8.15.2 --env docker
ECK environment (pass the ECK operator version after eck-):
./runner.sh --elk 7.17.24 --env eck-2.15.0
With specific ROR versions (default: latest):
./runner.sh --elk 9.3.0 --env docker --ror-es 1.69.0 --ror-kbn 1.69.0
With dev images (default: prod):
./runner.sh --elk 9.3.0 --env docker --ror-es 1.69.0-pre1 --ror-kbn 1.69.0-pre1 --mode dev
To only bootstrap the environment without running tests (useful for debugging):
./runner.sh --run bootstrap --elk 8.15.2 --env docker
You can bootstrap the test env and run tests separately (to not build the ES+KBN+ROR stack every test run).
To run the env:
(running the latest version of ROR from Docker Hub production repo)
./environments/elk-ror/start.sh --es "8.15.0" --kbn "8.15.2"
(running the given version of ROR from Docker Hub development repo)
./environments/elk-ror/start.sh --es "8.15.0" --kbn "8.15.2" --ror-es 1.62.0-pre5 --ror-kbn 1.62.0-pre5 --mode dev
or
(running the latest version of ROR from Docker Hub production repo)
./environments/eck-ror/start.sh --es "8.15.0" --kbn "8.15.2"
(running the given version of ROR from Docker Hub development repo)
./environments/eck-ror/start.sh --es "8.15.0" --kbn "8.15.2" --ror-es 1.62.0-pre5 --ror-kbn 1.62.0-pre5 --mode dev
To run tests on the env from a docker environment:
./e2e-tests/run-tests.sh "8.15.2" "elk-ror"
To run tests on the env from eck environment:
./e2e-tests/run-tests.sh "8.15.2" "eck-ror"
cd e2e-tests; yarn cypress open --env kibanaVersion=[KBN_VERSION]
Prerequisites:
26.x.x or newer)Bootstrapping test environment and running tests inside a docker container (you don't need to have Yarn installed on your host - it's a docker-compose based environment):
$ ./docker-based-ror-dev-env/runE2ETests8xInDocker.sh
$ ./docker-based-ror-dev-env/runE2ETests7xInDocker.sh
The test environment is created with the Docker Compose. All code is located in the environments/elk-ror folder. Currently, the latest version of ROR is downloaded for the sake of tests. In the future, we are going to improve it and build plugins from sources too.
The Cypress-based tests are located in the e2e-tests/cypress/e2e. Screenshots and videos for test runs will be stored in results/videos and results/snapshots folders.
If you prefer, you can use scripts from the docker-based-ror-dev-env folder to run them inside a docker container of the Docker-based ROR development environment image. It's not needed, but it can be helpful in the following cases:
The CI jobs pull the Docker Hub base images through pull-through caches, and then from Docker Hub.
Docker Hub limits pulls per IP address, a runner shares its address with other tenants, and a
neighbour over the limit makes our pull fail with a bare 429. A login does not prevent that,
because the limit ignores the account. A cache can also fail to serve an image, so each pull retries
and then goes to the next source.
.github/scripts/docker-hub-mirror.sh holds the list of caches. A local run pulls from Docker Hub, and
ROR_DOCKER_HUB_MIRROR=false switches the mirrors off in CI.
Remember that most of the tests assume that ROR KBN is run with the Enterprise license. You have to set it on your host as an environment variable ROR_ACTIVATION_KEY. You can obtain a trial activation key in the Customer Portal or use the developer one.