-
Notifications
You must be signed in to change notification settings - Fork 190
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '4931-fix-section-deploy-new-agent' into 4926-Fix-agent-…
…deployment-instructions-for-HPUX-and-Solaris
- Loading branch information
Showing
27 changed files
with
226 additions
and
33 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
name: Compatibility request | ||
about: Suggest supporting a new platform version (Elastic, OpenSearch) | ||
title: 'Compatibility with [Elastic | OpenSearch] (version)' | ||
labels: compatibility | ||
assignees: '' | ||
|
||
--- | ||
|
||
## Description | ||
We need to ensure the UI compatibility with the next version of Elastic vX.X | OpenSearch vX.X. | ||
This update is still being discussed, but we need to be aware of potential issues. | ||
|
||
For that, we need to: | ||
|
||
- [ ] Review opensearch and opensearch-dashboard latest stable changelog. | ||
- [ ] Identify improvements and potential impact on the UI. | ||
- [ ] Develop a testing environment to verify our components would work under this new build. | ||
|
||
|
||
## Issues | ||
- _List here the detected issues_ |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
Introduction | ||
|
||
## Footprint metrics information | ||
| | | | ||
|--------------------------------------|---| | ||
| **Main release candidate issue** | | | ||
| **Version** | | | ||
| **Release candidate #** | | | ||
| **Tag** | | | ||
| **Previous python unit tests issue** | - | | ||
|
||
## Test report procedure | ||
All individual test checks must be marked as: | ||
| | | | ||
|-------|------------------------------------------------------------------------------------------------------| | ||
| Pass | The test ran successfully. | | ||
| Xfail | The test was expected to fail and it failed. It must be properly justified and reported in an issue. | | ||
| Skip | The test was not run. It must be properly justified and reported in an issue. | | ||
| Fail | The test failed. A new issue must be opened to evaluate and address the problem. | | ||
|
||
|
||
All test results must have one the following statuses: | ||
| | | | ||
|-----------------|----------------------------------------------------------------------| | ||
| :green_circle: | All checks passed. | | ||
| :red_circle: | There is at least one failed check. | | ||
| :yellow_circle: | There is at least one expected fail or skipped test and no failures. | | ||
|
||
|
||
Any failing test must be properly addressed with a new issue, detailing the error and the possible cause. It must be included in the `Fixes` section of the current release candidate main issue. | ||
|
||
Any expected fail or skipped test must have an issue justifying the reason. All auditors must validate the justification for an expected fail or skipped test. | ||
|
||
An extended report of the test results must be attached as a zip or txt. This report can be used by the auditors to dig deeper into any possible failures and details. | ||
|
||
As for the coverage results, they must be added split by modules. Test files must not be included in the coverage report. | ||
|
||
All test coverage results must have one of the following statuses: | ||
|
||
## Checks | ||
| Status | Coverage | Modules | Version | | ||
|----------------|----------------|----------------|---------| | ||
| :green_square: | :green_square: | :green_square: | All | | ||
|
||
| | | | ||
|-----------------|--------| | ||
| :green_square: | >= 75% | | ||
| :yellow_square: | >= 50% | | ||
| :orange_square: | >= 25% | | ||
| :red_square: | < 25% | | ||
|
||
|
||
## Conclusions | ||
|
||
All tests have been executed and the results can be found here. | ||
<!-- | ||
| | | | | | ||
|----------------|-------------|---------------------|----------------| | ||
| **Status** | **Test** | **Failure type** | **Notes** | | ||
| | | | | | ||
--> | ||
|
||
All tests have passed and the fails have been reported or justified. I therefore conclude that this issue is finished and OK for this release candidate. | ||
|
||
|
||
## Auditors validation | ||
The definition of done for this one is the validation of the conclusions and the test results from all auditors. | ||
|
||
All checks from below must be accepted in order to close this issue. | ||
|
||
- [x] | ||
- [x] | ||
- [x] | ||
|
||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Dependency Review Action | ||
# | ||
# This Action will scan dependency manifest files that change as part of a Pull Request, surfacing known-vulnerable versions of the packages declared or updated in the PR. Once installed, if the workflow run is marked as required, PRs introducing known-vulnerable packages will be blocked from merging. | ||
# | ||
# Source repository: https://github.com/actions/dependency-review-action | ||
# Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement | ||
name: 'Dependency Review' | ||
on: [pull_request] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
dependency-review: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 'Checkout Repository' | ||
uses: actions/checkout@v3 | ||
- name: 'Dependency Review' | ||
uses: actions/dependency-review-action@v2 |
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,51 @@ | ||
# This workflow uses actions that are not certified by GitHub. | ||
# They are provided by a third-party and are governed by | ||
# separate terms of service, privacy policy, and support | ||
# documentation. | ||
# ESLint is a tool for identifying and reporting on patterns | ||
# found in ECMAScript/JavaScript code. | ||
# More details at https://github.com/eslint/eslint | ||
# and https://eslint.org | ||
|
||
name: ESLint | ||
|
||
on: | ||
push: | ||
branches: [ "master", "*.*-*.*", "*.*-*.*-wzd", "[0-9].[0-9]+" ] | ||
pull_request: | ||
# The branches below must be a subset of the branches above | ||
branches: [ "*.*-*.*", "*.*-*.*-wzd", "[0-9].[0-9]+" ] | ||
|
||
jobs: | ||
eslint: | ||
name: Run eslint scanning | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
security-events: write | ||
actions: read | ||
|
||
steps: | ||
|
||
# https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
# - https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#node-version-file | ||
- name: Install ESLint | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version-file: '.nvmrc' | ||
- run: yarn | ||
|
||
- name: Run ESLint | ||
run: yarn lint >> eslint-results.log | ||
continue-on-error: true | ||
|
||
# https://github.com/marketplace/actions/upload-a-build-artifact | ||
- name: Upload analysis results to GitHub | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: eslint-results | ||
path: eslint-results.log | ||
retention-days: 5 |
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 |
---|---|---|
|
@@ -28,6 +28,7 @@ on: | |
- 'master' | ||
- '*.*-*.*' | ||
- '*.*-*.*-wzd' | ||
- '[0-9].[0-9]+' | ||
|
||
jobs: | ||
# Run unit tests with Jest | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
FROM node:16.17.1 AS builder-kbn-7.17.7 | ||
RUN npm install --global @bazel/[email protected] | ||
USER node | ||
RUN git clone --depth 1 --branch v7.17.7 https://github.com/elastic/kibana /home/node/kbn | ||
RUN chown node.node /home/node/kbn | ||
|
||
WORKDIR /home/node/kbn | ||
RUN yarn kbn bootstrap | ||
RUN yarn config set registry http://host.docker.internal:4873 && \ | ||
sed -i 's/https:\/\/registry.yarnpkg.com/http:\/\/host.docker.internal:4873/g' yarn.lock | ||
RUN rm -rf /home/node/.cache/yarn && rm -rf /home/node/.cache/Cypress && rm -rf /home/node/.cache/ms-playwright | ||
RUN mkdir -p /home/node/kbn/data/wazuh/config | ||
|
||
FROM node:16.17.1 | ||
USER node | ||
COPY --from=builder-kbn-7.17.7 /home/node/ /home/node/ | ||
WORKDIR /home/node/kbn |
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
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
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
2 changes: 1 addition & 1 deletion
2
public/components/overview/mitre_attack_intelligence/all_resources_search_results.tsx
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
2 changes: 1 addition & 1 deletion
2
public/components/overview/mitre_attack_intelligence/resources.tsx
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.