Skip to content

Commit

Permalink
Merge tag 'v4.7.3-2.8.0' of https://github.com/wazuh/wazuh-kibana-app
Browse files Browse the repository at this point in the history
…into cloud/4.7-hl

Wazuh plugins for Wazuh dashboard v4.7.3-2.8.0
  • Loading branch information
Desvelao committed Mar 6, 2024
2 parents d19840e + 568f1e2 commit de97b8b
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 6 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@

All notable changes to the Wazuh app project will be documented in this file.

## Wazuh v4.7.3 - OpenSearch Dashboards 2.8.0 - Revision 02-hl

### Added

- Support for Wazuh 4.7.3

### Fixed

- Fixed CDB List import file feature [#6458](https://github.com/wazuh/wazuh-dashboard-plugins/pull/6458)

## Wazuh v4.7.2 - OpenSearch Dashboards 2.8.0 - Revision 02-hl

### Added
Expand Down
2 changes: 1 addition & 1 deletion plugins/main/opensearch_dashboards.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "wazuh",
"version": "4.7.2-02",
"version": "4.7.3-02",
"opensearchDashboardsVersion": "opensearchDashboards",
"configPath": [
"wazuh"
Expand Down
4 changes: 2 additions & 2 deletions plugins/main/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wazuh",
"version": "4.7.2",
"version": "4.7.3",
"revision": "02-hl",
"pluginPlatform": {
"version": "2.8.0"
Expand Down Expand Up @@ -83,4 +83,4 @@
"redux-mock-store": "^1.5.4",
"swagger-client": "^3.19.11"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export class ResourcesHandler {
fileName: string,
content: string,
overwrite: boolean,
relativeDirname: string,
relativeDirname?: string,
) {
try {
const result = await WzRequest.apiReq(
Expand All @@ -102,7 +102,9 @@ export class ResourcesHandler {
{
params: {
overwrite: overwrite,
relative_dirname: relativeDirname,
...(this.resource !== 'lists'
? { relative_dirname: relativeDirname }
: {}),
},
body: content.toString(),
origin: 'raw',
Expand All @@ -119,7 +121,7 @@ export class ResourcesHandler {
* @param {Resource} resource
* @param {String} fileName
*/
async deleteFile(fileName: string, relativeDirname: string = '') {
async deleteFile(fileName: string, relativeDirname?: string) {
try {
const result = await WzRequest.apiReq(
'DELETE',
Expand Down

0 comments on commit de97b8b

Please sign in to comment.