(Kibana 6.8.6) Bump Wazuh version to 3.11.2 (#2008)

* Add validator true to -- within a commentary

* Increased list filesize limit and fixed typo

* Update package.json

* Update Changelog

* Update Readme.md
This commit is contained in:
Alberto Andújar 2020-01-17 16:45:47 +01:00 committed by Juanca Rodríguez
parent 7c10def01e
commit cb528bf34d
5 changed files with 29 additions and 11 deletions

View File

@ -2,6 +2,20 @@
All notable changes to the Wazuh app project will be documented in this file.
## Wazuh v3.11.2 - Kibana v6.8.6, v7.3.2, v7.5.1 - Revision 481
### Added
- Support for Wazuh v3.11.2
### Changed
- Increased list filesize limit for the CDB-list [#1993](https://github.com/wazuh/wazuh-kibana-app/pull/1993)
### Fixed
- The xml validator now correctly handles the `--` string within comments [#1980](https://github.com/wazuh/wazuh-kibana-app/pull/1980)
## Wazuh v3.11.1 - Kibana v6.8.6, v7.3.2, v7.5.1 - Revision 581

View File

@ -30,8 +30,8 @@ Visualize and analyze Wazuh alerts stored in Elasticsearch using our Kibana app
## Requisites
- Wazuh HIDS 3.11.1
- Wazuh RESTful API 3.11.1
- Wazuh HIDS 3.11.2
- Wazuh RESTful API 3.11.2
- Kibana 6.8.6
- Elasticsearch 6.8.6
@ -42,13 +42,13 @@ Install the app
- With sudo:
```
sudo -u kibana /usr/share/kibana/bin/kibana-plugin install https://packages.wazuh.com/wazuhapp/wazuhapp-3.11.1_6.8.6.zip
sudo -u kibana /usr/share/kibana/bin/kibana-plugin install https://packages.wazuh.com/wazuhapp/wazuhapp-3.11.2_6.8.6.zip
```
- Without sudo:
```
su -c '/usr/share/kibana/bin/kibana-plugin install https://packages.wazuh.com/wazuhapp/wazuhapp-3.11.1_6.8.6.zip' kibana
su -c '/usr/share/kibana/bin/kibana-plugin install https://packages.wazuh.com/wazuhapp/wazuhapp-3.11.2_6.8.6.zip' kibana
```
Restart Kibana
@ -105,13 +105,13 @@ Install the app
- With sudo:
```
sudo -u kibana /usr/share/kibana/bin/kibana-plugin install https://packages.wazuh.com/wazuhapp/wazuhapp-3.11.1_6.8.6.zip
sudo -u kibana /usr/share/kibana/bin/kibana-plugin install https://packages.wazuh.com/wazuhapp/wazuhapp-3.11.2_6.8.6.zip
```
- Without sudo:
```
su -c '/usr/share/kibana/bin/kibana-plugin install https://packages.wazuh.com/wazuhapp/wazuhapp-3.11.1_6.8.6.zip' kibana
su -c '/usr/share/kibana/bin/kibana-plugin install https://packages.wazuh.com/wazuhapp/wazuhapp-3.11.2_6.8.6.zip' kibana
```
Restart Kibana
@ -225,6 +225,9 @@ service kibana restart
| 6.8.6 | 3.11.1 | <https://packages.wazuh.com/wazuhapp/wazuhapp-3.11.1_6.8.6.zip> |
| 7.3.2 | 3.11.1 | <https://packages.wazuh.com/wazuhapp/wazuhapp-3.11.1_7.3.2.zip> |
| 7.5.1 | 3.11.1 | <https://packages.wazuh.com/wazuhapp/wazuhapp-3.11.1_7.5.1.zip> |
| 6.8.6 | 3.11.2 | <https://packages.wazuh.com/wazuhapp/wazuhapp-3.11.2_6.8.6.zip> |
| 7.3.2 | 3.11.2 | <https://packages.wazuh.com/wazuhapp/wazuhapp-3.11.2_7.3.2.zip> |
| 7.5.1 | 3.11.2 | <https://packages.wazuh.com/wazuhapp/wazuhapp-3.11.2_7.5.1.zip> |
## Contribute

View File

@ -1,8 +1,8 @@
{
"name": "wazuh",
"version": "3.11.1",
"revision": "0481",
"code": "0481-0",
"version": "3.11.2",
"revision": "0482",
"code": "0482-0",
"kibana": {
"version": "6.8.6"
},

View File

@ -36,7 +36,7 @@ export class UploadFiles extends Component {
uploadErrors: false,
errorPopover: false
};
this.maxSize = 307200; // 300Kb
this.maxSize = 5120000; // 5Mb
}
onChange = files => {
@ -293,7 +293,7 @@ export class UploadFiles extends Component {
{this.checkOverSize() > 0 && (
<Fragment>
{this.renderWarning(
`The max size per file allowd is ${this.maxSize / 1024} Kb`
`The max size per file allowed is ${this.maxSize / 1024} Kb`
)}
</Fragment>
)}

View File

@ -87,6 +87,7 @@ app.directive('wzXmlFileEditor', function() {
let xml = replaceIllegalXML(text);
xml = xml.replace(/..xml.+\?>/, '');
xml = xml.replace(/\\</gm, '');
xml = xml.replace(/<!--[\s\S\n]*?-->/gm, '');
const xmlDoc = parser.parseFromString(
`<file>${xml}</file>`,
'text/xml'