Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport 2.4] Fix github agents visualizations id #5069

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ All notable changes to the Wazuh app project will be documented in this file.
- Fixed vulnerabilities default last scan date formatter [#4975](https:/wazuh/wazuh-kibana-app/pull/4975)
- A solaris command has been fixed [5035](https:/wazuh/wazuh-kibana-app/pull/5035)
- Fixed commands: Aix, OpenSUSE, Alpine, Suse11, Fedora, HP, Oracle Linux 5, Amazon Linux 2, Centos5. Changed the word 'or higher' in buttons to '+'.Fixed validations for Hp, Solaris and Alpine. [5045](https:/wazuh/wazuh-kibana-app/pull/5045)
- Fixed error in Github module PDF report. [5069](https:/wazuh/wazuh-kibana-app/pull/5069)

### Removed

Expand Down
8 changes: 4 additions & 4 deletions public/components/visualize/agent-visualizations.js
Original file line number Diff line number Diff line change
Expand Up @@ -660,12 +660,12 @@ export const agentVisualizations = {
vis: [
{
title: 'Alerts evolution by organization',
id: 'Wazuh-App-Overview-GitHub-Alerts-Evolution-By-Organization',
id: 'Wazuh-App-Agents-GitHub-Alerts-Evolution-By-Organization',
width: 60
},
{
title: 'Top 5 organizations by alerts',
id: 'Wazuh-App-Overview-GitHub-Top-5-Organizations-By-Alerts',
id: 'Wazuh-App-Agents-GitHub-Top-5-Organizations-By-Alerts',
width: 40
}
]
Expand All @@ -675,12 +675,12 @@ export const agentVisualizations = {
vis: [
{
title: 'Top alerts by action type and organization',
id: 'Wazuh-App-Overview-GitHub-Alert-Action-Type-By-Organization',
id: 'Wazuh-App-Agents-GitHub-Alert-Action-Type-By-Organization',
width: 40
},
{
title: 'Users with more alerts',
id: 'Wazuh-App-Overview-GitHub-Users-With-More-Alerts',
id: 'Wazuh-App-Agents-GitHub-Users-With-More-Alerts',
width: 60
}
]
Expand Down
10 changes: 5 additions & 5 deletions server/integration-files/visualizations/agents/agents-github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

export default [
{
_id: 'Wazuh-App-Overview-GitHub-Alerts-Evolution-By-Organization',
_id: 'Wazuh-App-Agents-GitHub-Alerts-Evolution-By-Organization',
_source: {
title: 'Alerts evolution by organization',
visState: JSON.stringify({
Expand Down Expand Up @@ -152,7 +152,7 @@ export default [
_type: 'visualization',
},
{
_id: 'Wazuh-App-Overview-GitHub-Top-5-Organizations-By-Alerts',
_id: 'Wazuh-App-Agents-GitHub-Top-5-Organizations-By-Alerts',
_source: {
title: 'Top 5 organizations by alerts',
visState: JSON.stringify({
Expand Down Expand Up @@ -207,7 +207,7 @@ export default [
_type: 'visualization',
},
{
_id: 'Wazuh-App-Overview-GitHub-Users-With-More-Alerts',
_id: 'Wazuh-App-Agents-GitHub-Users-With-More-Alerts',
_source: {
title: 'Users with more alerts',
visState: JSON.stringify({
Expand Down Expand Up @@ -341,7 +341,7 @@ export default [
_type: 'visualization',
},
{
_id: 'Wazuh-App-Overview-GitHub-Alert-Action-Type-By-Organization',
_id: 'Wazuh-App-Agents-GitHub-Alert-Action-Type-By-Organization',
_source: {
title: 'Top alerts by alert action type and organization',
visState: JSON.stringify({
Expand Down Expand Up @@ -412,7 +412,7 @@ export default [
_type: 'visualization',
},
{
_id: 'Wazuh-App-Overview-GitHub-Alert-Summary',
_id: 'Wazuh-App-Agents-GitHub-Alert-Summary',
_source: {
title: 'Alerts summary',
visState: JSON.stringify({
Expand Down