Skip to content

Commit 74c0ce4

Browse files
asteriscosyenienserranoAlexRuiz7TosttiDesvelao
committed
Migrate main to 2.19.1.0 (#211)
* Compatibility with opensearch 2.18.0 (#135) * Compatibility with opensearch 2.17.1 (#128) * Add compatibility with OpenSearch 2.11.0 (#31) * Bump version Security Dashboards Plugin 2.9.0.0 (#21) * Upgrade to version 2.8.0 of Security Dashboards Plugin (#20) * Patch actions and workflows. Skip integration tests that fail (#4) * Change plugin name in actions and workflows * Patch install-dashboards action * Change jest config path * Skip tests --------- Co-authored-by: Alex Ruiz Becerra <[email protected]> Co-authored-by: yenienserrano <[email protected]> * Change Wazuh logo and titles (#3) * Change Wazuh logo and titles * Don't force custom logo to have 100% width * Add comment * Fix lint * Fix prettier * Update snapshots --------- Signed-off-by: Ian Yenien Serrano <[email protected]> Co-authored-by: yenienserrano <[email protected]> Co-authored-by: Ian Yenien Serrano <[email protected]> * Disable tenant popup (#5) Co-authored-by: Alex Ruiz Becerra <[email protected]> * Replace readme (#16) * Replace readme * Replace Opensearch to Wazuh * Update README.md Signed-off-by: Ian Yenien Serrano <[email protected]> --------- Signed-off-by: Ian Yenien Serrano <[email protected]> * Add GitHub workflow for automated build (#15) * Manual build * Workflow for automated build * Update .github/workflows/dev-environment.yml Signed-off-by: Álex Ruiz <[email protected]> --------- Signed-off-by: Álex Ruiz <[email protected]> Co-authored-by: Álex Ruiz <[email protected]> * Create codeql.yml Signed-off-by: Álex Ruiz <[email protected]> * Revert changes in cypress-test.yml * Revert changes in integration-test.yml * Fix integration test * Fix cypress test tenancy disabled --------- Signed-off-by: Ian Yenien Serrano <[email protected]> Signed-off-by: Álex Ruiz <[email protected]> Co-authored-by: Federico Rodriguez <[email protected]> Co-authored-by: Alex Ruiz Becerra <[email protected]> Co-authored-by: Álex Ruiz <[email protected]> * Skip overview page test * Skip test for issue * Skip test for issue --------- Signed-off-by: Ian Yenien Serrano <[email protected]> Signed-off-by: Álex Ruiz <[email protected]> Co-authored-by: Federico Rodriguez <[email protected]> Co-authored-by: Alex Ruiz Becerra <[email protected]> Co-authored-by: Álex Ruiz <[email protected]> * Fix home image and lint * Fix lint * Fix snapshot * Fix integration test * Revert selector --------- Signed-off-by: Ian Yenien Serrano <[email protected]> Signed-off-by: Álex Ruiz <[email protected]> Co-authored-by: Ian Yenien Serrano <[email protected]> Co-authored-by: Federico Rodriguez <[email protected]> Co-authored-by: yenienserrano <[email protected]> * Update of the GitHub actions to create the packages (#33) * Update Build manual Github action * Add wazuh version in package.json * Update package.json Signed-off-by: Ian Yenien Serrano <[email protected]> --------- Signed-off-by: Ian Yenien Serrano <[email protected]> * Change order of security in left menu (#36) * Change order of security in left menu * Fix cypress test * Fix repository tests (#46) * Initial commit * Removed Windows and Mac tests * Fix oidc test * Fix SAML test * Bump version 4.10.0 revision 00 (#53) * Support Wazuh 5.0.0 * Merge 4.9.1 into 4.10.0 (#102) (#121) * 2.13 release notes (opensearch-project#1832) (opensearch-project#1837) * 2.13 release notes * Fix style and package * Fix style and package * Fix link --------- (cherry picked from commit 7c8058f) * Add required ml permissions to support new roles (opensearch-project#1838) (opensearch-project#1844) * Add required ml permissions to support new roles * Add ml permissions * Remove internal ml action permissions * Add back internal ml action permissions --------- (cherry picked from commit f0cd1cf) * Add compatibility with OpenSearch 2.11.0 (#31) * Bump version Security Dashboards Plugin 2.9.0.0 (#21) * Upgrade to version 2.8.0 of Security Dashboards Plugin (#20) * Patch actions and workflows. Skip integration tests that fail (#4) * Change plugin name in actions and workflows * Patch install-dashboards action * Change jest config path * Skip tests --------- * Change Wazuh logo and titles (#3) * Change Wazuh logo and titles * Don't force custom logo to have 100% width * Add comment * Fix lint * Fix prettier * Update snapshots --------- * Disable tenant popup (#5) * Replace readme (#16) * Replace readme * Replace Opensearch to Wazuh * Update README.md --------- * Add GitHub workflow for automated build (#15) * Manual build * Workflow for automated build * Update .github/workflows/dev-environment.yml --------- * Create codeql.yml * Revert changes in cypress-test.yml * Revert changes in integration-test.yml * Fix integration test * Fix cypress test tenancy disabled --------- * Skip overview page test * Skip test for issue * Skip test for issue --------- * Fix home image and lint * Fix lint * Fix snapshot * Fix integration test * Revert selector --------- * Update of the GitHub actions to create the packages (#33) * Update Build manual Github action * Add wazuh version in package.json * Update package.json --------- * Change order of security in left menu (#36) * Change order of security in left menu * Fix cypress test * Fix repository tests (#46) * Initial commit * Removed Windows and Mac tests * Fix oidc test * Fix SAML test * Bump 4.9.0 to revision 01 (#56) * chore: bump 4.9.0 revision 02 (#64) * Bump revision 03 (#74) * chore: bump to 4.9.1 revision 00 (#76) * Update the security policy (#95) * change: update the security policy * fix: security policy * Update repository security policy (#97) * chore(bump): revision 4.9.1 01 (#99) --------- Signed-off-by: Ian Yenien Serrano <[email protected]> Signed-off-by: Álex Ruiz <[email protected]> Co-authored-by: Antonio <[email protected]> Co-authored-by: opensearch-trigger-bot[bot] <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> Co-authored-by: Stephen Crawford <[email protected]> Co-authored-by: Sicheng Song <[email protected]> Co-authored-by: Álex Ruiz <[email protected]> Co-authored-by: Ian Yenien Serrano <[email protected]> Co-authored-by: Federico Rodriguez <[email protected]> Co-authored-by: yenienserrano <[email protected]> * Remove checkout cypress-test-tenancy-disabled.yml for consistency with opensearch --------- Signed-off-by: Ian Yenien Serrano <[email protected]> Signed-off-by: Álex Ruiz <[email protected]> Co-authored-by: Álex Ruiz <[email protected]> Co-authored-by: Federico Rodriguez <[email protected]> Co-authored-by: Nicolas Agustin Guevara Pihen <[email protected]> Co-authored-by: Tostti <[email protected]> Co-authored-by: Antonio <[email protected]> Co-authored-by: opensearch-trigger-bot[bot] <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> Co-authored-by: Stephen Crawford <[email protected]> Co-authored-by: Sicheng Song <[email protected]> * fix: rename Wazuh dashboard references and enhance reporting of security issues - Rename Wazuh Dashboard/s referecens to Wazuh dashboard. - Remove reference to creation of security issues --------- Signed-off-by: Ian Yenien Serrano <[email protected]> Signed-off-by: Álex Ruiz <[email protected]> Co-authored-by: Álex Ruiz <[email protected]> Co-authored-by: Federico Rodriguez <[email protected]> Co-authored-by: Nicolas Agustin Guevara Pihen <[email protected]> Co-authored-by: Tostti <[email protected]> Co-authored-by: Antonio <[email protected]> Co-authored-by: opensearch-trigger-bot[bot] <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> Co-authored-by: Stephen Crawford <[email protected]> Co-authored-by: Sicheng Song <[email protected]> Co-authored-by: Antonio David Gutiérrez <[email protected]> * Apply reference name change (#139) * fix: upgrade the version of GHA (#145) cherry-pick: e14778f * Change master to main (#185) * Add VERSION.json (#193) * Actions and workflows according to convention (#200) * replace legacy workflows with updated build configurations * refactor: update workflows to use new base environment configuration update workflows to use new base environment configuration Renames the base environment workflow file and updates references to use the new `5_builderprecompiled_base-dev-environment` workflow. Refactor improves clarity and maintainability of the workflow configurations. * Updates CodeQL workflow configuration for clarity Improves documentation and comments in the CodeQL workflow file for better readability and understanding. Adds sections for customization options and security analysis specifics. * adds detailed description to manual build workflow Enhances the workflow documentation to include: - Manual build initiation - Production package generation for dashboards plugin - Reuse of preconfigured build environment Improves maintenance and clarity for users initiating builds. * clarifies workflow documentation Improves comments in the manual build workflow for better clarity on the build process and Git reference usage. * updates base workflow documentation Enhances comments to clarify the workflow's purpose and steps Details Docker setup, command execution, and artifact upload * Improve build workflow documentation Enhances comments in the build workflow file to clarify the process of building a production-ready package on tag creation. * update build workflow description Simplifies the description of the manual build workflow by removing the specific reference to the `wazuh-security-dashboards-plugin`. * docs: enhance manual build workflow documentation with overview and key features * docs: correct plugin terminology in manual build workflow documentation * docs: update base workflow documentation with overview and key features * docs: enhance CodeQL workflow documentation with overview and key features * docs: update CodeQL workflow documentation for clarity and customization options * replace deprecated build workflow with updated tag-based build workflow * Rename and update build workflow Renames the workflow file for security plugin builds. Updates descriptions for better clarity and consistency. * Clarifies build workflow name for tag creation Renames the workflow to make it clear that it builds the app package upon tag creation. * Update descriptions in GitHub Actions workflow Refines descriptions for better clarity and consistency in the GitHub Actions workflow configuration file. * Update .github/workflows/5_builderpackage_security_plugin.yml Co-authored-by: Antonio <[email protected]> Signed-off-by: Guido Modarelli <[email protected]> --------- Signed-off-by: Guido Modarelli <[email protected]> Co-authored-by: Antonio <[email protected]> --------- Signed-off-by: Ian Yenien Serrano <[email protected]> Signed-off-by: Álex Ruiz <[email protected]> Signed-off-by: Guido Modarelli <[email protected]> Co-authored-by: Ian Yenien Serrano <[email protected]> Co-authored-by: Álex Ruiz <[email protected]> Co-authored-by: Nicolas Agustin Guevara Pihen <[email protected]> Co-authored-by: Tostti <[email protected]> Co-authored-by: Antonio <[email protected]> Co-authored-by: opensearch-trigger-bot[bot] <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> Co-authored-by: Stephen Crawford <[email protected]> Co-authored-by: Sicheng Song <[email protected]> Co-authored-by: Antonio David Gutiérrez <[email protected]> Co-authored-by: Guido Modarelli <[email protected]>
1 parent f383368 commit 74c0ce4

33 files changed

+508
-125
lines changed

.github/actions/run-cypress-tests/action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ runs:
3535
plugin-name: ${{ env.PLUGIN_NAME }}
3636
plugin-version: ${{ env.PLUGIN_VERSION }}
3737
download-location: ${{ env.PLUGIN_NAME }}
38-
38+
3939
- name: Run Opensearch with A Single Plugin
4040
uses: derek-ho/start-opensearch@v6
4141
with:
@@ -48,7 +48,7 @@ runs:
4848

4949
# OSD bootstrap
5050
- name: Run Dashboard with Security Dashboards Plugin
51-
uses: derek-ho/setup-opensearch-dashboards@v1
51+
uses: derek-ho/setup-opensearch-dashboards@v3
5252
with:
5353
plugin_name: security-dashboards-plugin
5454
opensearch_dashboards_yml: ${{ inputs.dashboards_config_file }}
@@ -101,11 +101,11 @@ runs:
101101
shell: bash
102102

103103
- name: Run Cypress Tests with retry
104-
uses: Wandalen/wretry.action@v3.3.0
104+
uses: Wandalen/wretry.action@v3
105105
with:
106106
attempt_limit: 5
107107
attempt_delay: 2000
108108
command: |
109109
cd ./OpenSearch-Dashboards/plugins/security-dashboards-plugin
110110
yarn add cypress --save-dev
111-
eval ${{ inputs.yarn_command }}
111+
eval ${{ inputs.yarn_command }}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# This workflow is based on the `5_builderprecompiled_base-dev-environment` workflow.
2+
#
3+
# This workflow is designed to build a production-ready package whenever a tag is created in the repository (e.g., a tag like `v1.0.0`).
4+
#
5+
# This workflow:
6+
# - Listens for tag creation (e.g., `v1.0.0`).
7+
# - Builds the application using `yarn build`.
8+
# - Names the generated artifact according to the tag.
9+
# - Generates the production-ready package.
10+
11+
name: Build app package (on tag creation)
12+
13+
on:
14+
push:
15+
tags:
16+
- 'v*'
17+
jobs:
18+
build:
19+
name: Build app package (auto)
20+
uses: ./.github/workflows/5_builderprecompiled_base-dev-environment.yml
21+
with:
22+
reference: ${{ github.ref_name }}
23+
command: 'yarn build'
24+
artifact_name: 'wazuh-security-dashboards-plugin-${{ github.ref_name }}'
25+
artifact_path: './wazuh-security-plugin/build'
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# 📝 Based on: `5_builderprecompiled_base-dev-environment.yml`
2+
#
3+
# 📦 Manual Build Workflow for Wazuh Security Dashboard Plugin
4+
#
5+
# ⚡ Overview:
6+
# This workflow builds and tests production-ready packages for Wazuh Security Dashboard Plugin,
7+
# either manually or triggered by other workflows.
8+
#
9+
# 🚀 Key Features:
10+
# - 🖇️ Manual or Automated Builds: Supports manual execution or invocation from other workflows,
11+
# specifying any valid code reference (branch, tag, or commit SHA).
12+
# - 🏗️ Production-Ready Package Generation: Builds a production-ready package from the provided code reference.
13+
# - 🌐 Reusable Build Environment: Reuses a preconfigured build environment, ensuring consistency and easier maintenance.
14+
#
15+
16+
name: Build app package (on demand)
17+
18+
on:
19+
workflow_call:
20+
inputs:
21+
reference:
22+
required: true
23+
type: string
24+
description: Git reference (branch, tag, or commit SHA) to build from.
25+
default: main
26+
workflow_dispatch:
27+
inputs:
28+
reference:
29+
required: true
30+
type: string
31+
default: main
32+
description: Git reference (branch, tag, or commit SHA) to build from.
33+
34+
jobs:
35+
# Build an app package from the given source code reference.
36+
build:
37+
name: Build app package
38+
uses: ./.github/workflows/5_builderprecompiled_base-dev-environment.yml
39+
with:
40+
reference: ${{ inputs.reference }}
41+
command: 'yarn build'
42+
artifact_name: 'wazuh-security-dashboards-plugin'
43+
artifact_path: './wazuh-security-plugin/build'
44+
secrets: inherit
Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
# 📚 Base Workflow - Environment Setup and Command Execution
2+
#
3+
# ⚡ Overview:
4+
# This workflow serves as a reusable base for other workflows, providing a
5+
# standardized environment to execute custom commands (e.g., `yarn build`, `yarn test`)
6+
# on source code fetched from a specified Git reference.
7+
#
8+
# 🚀 Key Features:
9+
# - 💻 Docker-Based Environment Setup: Prepares a Docker environment with OpenSearch Dashboards or Kibana.
10+
# - ⚙️ Custom Command Execution: Runs any specified command on the downloaded source code.
11+
# - 📦 Artifact and Coverage Upload: Uploads build artifacts and test coverage results to GitHub when configured.
12+
#
13+
# 🔗 Designed for: Easy integration and reuse by other workflows.
14+
15+
name: Base workflow - Environment
16+
17+
on:
18+
workflow_call:
19+
inputs:
20+
reference:
21+
required: true
22+
type: string
23+
default: main
24+
description: Git reference (branch, tag, or commit SHA) to build from.
25+
command:
26+
required: true
27+
type: string
28+
default: 'yarn build'
29+
description: Command to run in the environment.
30+
docker_run_extra_args:
31+
type: string
32+
default: ''
33+
description: Additional parameters for the docker run command.
34+
required: false
35+
artifact_name:
36+
type: string
37+
default: ''
38+
description: Artifact name (will be automatically suffixed with .zip).
39+
required: false
40+
artifact_path:
41+
type: string
42+
default: ''
43+
description: Folder to include in the archive.
44+
required: false
45+
notify_jest_coverage_summary:
46+
type: boolean
47+
default: false
48+
required: false
49+
50+
jobs:
51+
# Deploy the plugin in a development environment and run a command
52+
# using a pre-built Docker image, hosted in Quay.io.
53+
deploy_and_run_command:
54+
name: Deploy and run command
55+
runs-on: ubuntu-latest
56+
steps:
57+
- name: Step 01 - Download the plugin's source code
58+
uses: actions/checkout@v4
59+
with:
60+
repository: wazuh/wazuh-security-dashboards-plugin
61+
ref: ${{ inputs.reference }}
62+
path: wazuh-security-plugin
63+
64+
# Fix source code ownership so the internal user of the Docker
65+
# container is also owner.
66+
- name: Step 02 - Change code ownership
67+
run: sudo chown 1000:1000 -R wazuh-security-plugin;
68+
69+
- name: Step 03 - Set up the environment and run the command
70+
run: |
71+
# Read the platform version from the package.json file
72+
echo "Reading the platform version from the package.json...";
73+
platform_version=$(jq -r '.opensearchDashboards.version | select(. != null)' wazuh-security-plugin/package.json);
74+
echo "Plugin platform version: $platform_version";
75+
76+
# Up the environment and run the command
77+
docker run -t --rm \
78+
-e OPENSEARCH_DASHBOARDS_VERSION=${platform_version} \
79+
-v `pwd`/wazuh-security-plugin:/home/node/kbn/plugins/wazuh-security-plugin \
80+
${{ inputs.docker_run_extra_args }} \
81+
quay.io/wazuh/osd-dev:${platform_version} \
82+
bash -c '
83+
yarn config set registry https://registry.yarnpkg.com;
84+
cd /home/node/kbn/plugins/wazuh-security-plugin && yarn && ${{ inputs.command }};
85+
'
86+
- name: Get the plugin version and format reference name
87+
run: |
88+
echo "githubReference=$(echo ${{ inputs.reference }} | sed 's/\//-/g')" >> $GITHUB_ENV
89+
echo "version=$(jq -r '.wazuh.version' $(pwd)/wazuh-security-plugin/package.json)" >> $GITHUB_ENV
90+
echo "revision=$(jq -r '.wazuh.revision' $(pwd)/wazuh-security-plugin/package.json)" >> $GITHUB_ENV
91+
92+
- name: Step 04 - Upload artifact to GitHub
93+
if: ${{ inputs.artifact_name && inputs.artifact_path }}
94+
uses: actions/upload-artifact@v4
95+
with:
96+
name: ${{ inputs.artifact_name }}_${{ env.version }}-${{ env.revision }}_${{ env.githubReference }}.zip
97+
path: ${{ inputs.artifact_path }}
98+
overwrite: true
99+
100+
- name: Step 05 - Upload coverage results to GitHub
101+
if: ${{ inputs.notify_jest_coverage_summary && github.event_name == 'pull_request' }}
102+
uses: AthleticNet/[email protected]
103+
with:
104+
token: ${{ secrets.GITHUB_TOKEN }}
105+
path: ./wazuh-security-plugin/target/test-coverage/coverage-summary.json
106+
title: 'Code coverage (Jest)'
Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
# CodeQL Workflow Configuration
2+
#
3+
# This workflow file will work for most projects without modifications; simply
4+
# commit it to your repository.
5+
#
6+
# ## Optional Customization
7+
# You may modify this file to:
8+
# - Adjust the set of analyzed languages.
9+
# - Add custom queries.
10+
# - Include custom build logic.
11+
#
12+
# ## ⚠️ Important Note
13+
# An attempt has been made to automatically detect the languages in your
14+
# repository. Please review the `language` matrix defined below to ensure it
15+
# includes the correct set of supported CodeQL languages.
16+
#
17+
# This workflow is used to perform code analysis with CodeQL:
18+
#
19+
# - 📅 Weekly analysis of code for vulnerabilities.
20+
# - 🔐 Applies static security analysis using CodeQL for JavaScript and
21+
# TypeScript.
22+
23+
name: Code analysis
24+
25+
on:
26+
push:
27+
branches: [ "main", "[0-9].[0-9]", "[0-9].x" ]
28+
pull_request:
29+
# The branches below must be a subset of the branches above
30+
branches: [ "main" ]
31+
schedule:
32+
- cron: '00 8 * * 5'
33+
workflow_dispatch:
34+
35+
jobs:
36+
analyze:
37+
name: Analyze
38+
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
39+
permissions:
40+
actions: read
41+
contents: read
42+
security-events: write
43+
44+
strategy:
45+
fail-fast: false
46+
matrix:
47+
language: [ 'javascript' ]
48+
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
49+
# Use only 'java' to analyze code written in Java, Kotlin or both
50+
# Use only 'javascript' to analyze code written in JavaScript, TypeScript or both
51+
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
52+
53+
steps:
54+
- name: Checkout repository
55+
uses: actions/checkout@v4
56+
57+
# Initializes the CodeQL tools for scanning.
58+
- name: Initialize CodeQL
59+
uses: github/codeql-action/init@v2
60+
with:
61+
languages: ${{ matrix.language }}
62+
# If you wish to specify custom queries, you can do so here or in a config file.
63+
# By default, queries listed here will override any specified in a config file.
64+
# Prefix the list here with "+" to use these queries and those in the config file.
65+
66+
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
67+
# queries: security-extended,security-and-quality
68+
69+
70+
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
71+
# If this step fails, then you should remove it and run the build manually (see below)
72+
- name: Autobuild
73+
uses: github/codeql-action/autobuild@v2
74+
75+
# ℹ️ Command-line programs to run using the OS shell.
76+
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
77+
78+
# If the Autobuild fails above, remove it and uncomment the following three lines.
79+
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
80+
81+
# - run: |
82+
# echo "Run, Build Application using script"
83+
# ./location_of_script_within_repo/buildscript.sh
84+
85+
- name: Perform CodeQL Analysis
86+
uses: github/codeql-action/analyze@v2
87+
with:
88+
category: "/language:${{matrix.language}}"

.github/workflows/auto-release.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,18 @@ jobs:
1414
steps:
1515
- name: GitHub App token
1616
id: github_app_token
17-
uses: tibdex/github-app-token@v1.5.0
17+
uses: tibdex/github-app-token@v2.1.0
1818
with:
1919
app_id: ${{ secrets.APP_ID }}
2020
private_key: ${{ secrets.APP_PRIVATE_KEY }}
21-
installation_id: 22958780
21+
# https://github.com/tibdex/github-app-token/releases/tag/v2.0.0
22+
# https://github.com/tibdex/github-app-token/compare/v1.5.0...v2.1.0#diff-1243c5424efaaa19bd8e813c5e6f6da46316e63761421b3e5f5c8ced9a36e6b6R11-R30
23+
installation_retrieval_mode: id
24+
installation_retrieval_payload: 22958780
2225
- name: Get tag
2326
id: tag
2427
uses: dawidd6/action-get-tag@v1
25-
- uses: actions/checkout@v2
28+
- uses: actions/checkout@v4
2629
- uses: ncipollo/release-action@v1
2730
with:
2831
github_token: ${{ steps.github_app_token.outputs.token }}

.github/workflows/backport.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,13 @@ jobs:
2020
with:
2121
app_id: ${{ secrets.APP_ID }}
2222
private_key: ${{ secrets.APP_PRIVATE_KEY }}
23-
installation_id: 22958780
23+
# https://github.com/tibdex/github-app-token/releases/tag/v2.0.0
24+
# https://github.com/tibdex/github-app-token/compare/v1.5.0...v2.1.0#diff-1243c5424efaaa19bd8e813c5e6f6da46316e63761421b3e5f5c8ced9a36e6b6R11-R30
25+
installation_retrieval_mode: id
26+
installation_retrieval_payload: 22958780
2427

2528
- name: Backport
26-
uses: VachaShah/backport@v2.2.0
29+
uses: VachaShah/backport@v2
2730
with:
2831
github_token: ${{ steps.github_app_token.outputs.token }}
2932
head_template: backport/backport-<%= number %>-to-<%= base %>

.github/workflows/cypress-test-multiauth-e2e.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222

2323
steps:
2424
- name: Checkout Branch
25-
uses: actions/checkout@v3
25+
uses: actions/checkout@v4
2626

2727
# Add SAML Configuration
2828
- name: Injecting SAML Configuration for Linux

.github/workflows/cypress-test-multidatasources-disabled-e2e.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121

2222
steps:
2323
- name: Checkout Branch
24-
uses: actions/checkout@v3
24+
uses: actions/checkout@v4
2525

2626
# Configure the Dashboard for multi datasources disabled (default)
2727
- name: Create OpenSearch Dashboards Config

.github/workflows/cypress-test-multidatasources-enabled-e2e.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121

2222
steps:
2323
- name: Checkout Branch
24-
uses: actions/checkout@v3
24+
uses: actions/checkout@v4
2525

2626
- name: Set env
2727
run: |

0 commit comments

Comments
 (0)