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

Labels removed in pie chart #3898

Open
wants to merge 4 commits into
base: 4.3-7.16
Choose a base branch
from
Open
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 @@ -212,6 +212,7 @@ All notable changes to the Wazuh app project will be documented in this file.
- Changed user for sample data management [#3795](https://github.com/wazuh/wazuh-kibana-app/pull/3795)
- Changed agent install codeblock copy button and powershell terminal warning [#3792](https://github.com/wazuh/wazuh-kibana-app/pull/3792)
- Refactored as the plugin platform name and references is managed [#3811](https://github.com/wazuh/wazuh-kibana-app/pull/3811)
- Labels removed in the pie chart [#3898](https://github.com/wazuh/wazuh-kibana-app/pull/3898)
- Removed `Dashboard` tab for the `Vulnerabilities` modules [#3893](https://github.com/wazuh/wazuh-kibana-app/pull/3893)
- Display all fields in the `Table` tab when expading an alert row in the alerts tables of flyouts and the `Modules/Security Events/Dashboard` table [#3908](https://github.com/wazuh/wazuh-kibana-app/pull/3908)
- Refactored the table in `Vulnerabilities/Inventory` [#3196](https://github.com/wazuh/wazuh-kibana-app/pull/3196)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,7 @@ export default [
addLegend: true,
legendPosition: 'right',
isDonut: true,
labels: { show: false },
},
aggs: [
{ id: '1', enabled: true, type: 'count', schema: 'metric', params: {} },
Expand Down Expand Up @@ -387,6 +388,7 @@ export default [
addLegend: true,
legendPosition: 'right',
isDonut: true,
labels: { show: false },
},
aggs: [
{ id: '1', enabled: true, type: 'count', schema: 'metric', params: {} },
Expand Down Expand Up @@ -528,6 +530,7 @@ export default [
addLegend: true,
legendPosition: 'right',
isDonut: true,
labels: { show: false },
},
aggs: [
{ id: '1', enabled: true, type: 'count', schema: 'metric', params: {} },
Expand Down
7 changes: 5 additions & 2 deletions server/integration-files/visualizations/agents/agents-fim.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default [
addLegend: false,
legendPosition: 'right',
isDonut: true,
labels: { show: true, values: true, last_level: true, truncate: 100 },
labels: { show: false },
},
aggs: [
{ id: '1', enabled: true, type: 'count', schema: 'metric', params: {} },
Expand Down Expand Up @@ -71,7 +71,7 @@ export default [
addLegend: false,
legendPosition: 'right',
isDonut: true,
labels: { show: true, values: true, last_level: true, truncate: 100 },
labels: { show: false },
},
aggs: [
{ id: '1', enabled: true, type: 'count', schema: 'metric', params: {} },
Expand Down Expand Up @@ -245,6 +245,7 @@ export default [
addLegend: true,
legendPosition: 'right',
isDonut: true,
labels: { show: false },
},
aggs: [
{ id: '1', enabled: true, type: 'count', schema: 'metric', params: {} },
Expand Down Expand Up @@ -316,6 +317,7 @@ export default [
addLegend: true,
legendPosition: 'right',
isDonut: true,
labels: { show: false },
},
aggs: [
{ id: '1', enabled: true, type: 'count', schema: 'metric', params: {} },
Expand Down Expand Up @@ -381,6 +383,7 @@ export default [
addLegend: true,
legendPosition: 'right',
isDonut: true,
labels: { show: false },
},
aggs: [
{ id: '1', enabled: true, type: 'count', schema: 'metric', params: {} },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export default [
addLegend: true,
legendPosition: 'right',
isDonut: true,
labels: { show: false },
},
aggs: [
{ id: '1', enabled: true, type: 'count', schema: 'metric', params: {} },
Expand Down Expand Up @@ -61,6 +62,7 @@ export default [
addLegend: true,
legendPosition: 'right',
isDonut: true,
labels: { show: false },
},
aggs: [
{ id: '1', enabled: true, type: 'count', schema: 'metric', params: {} },
Expand Down Expand Up @@ -99,6 +101,7 @@ export default [
addLegend: true,
legendPosition: 'right',
isDonut: true,
labels: { show: false },
},
aggs: [
{ id: '1', enabled: true, type: 'count', schema: 'metric', params: {} },
Expand Down Expand Up @@ -137,7 +140,7 @@ export default [
addLegend: false,
legendPosition: 'right',
isDonut: true,
labels: { show: true, values: true, last_level: true, truncate: 100 },
labels: { show: false },
},
aggs: [
{ id: '1', enabled: true, type: 'count', schema: 'metric', params: {} },
Expand Down
4 changes: 2 additions & 2 deletions server/integration-files/visualizations/agents/agents-nist.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export default [
addLegend: true,
legendPosition: 'right',
isDonut: true,
labels: { show: false, values: true, last_level: true, truncate: 100 },
labels: { show: false },
dimensions: {
metric: { accessor: 0, format: { id: 'number' }, params: {}, aggType: 'count' },
},
Expand Down Expand Up @@ -264,7 +264,7 @@ export default [
addLegend: false,
legendPosition: 'right',
isDonut: true,
labels: { show: true, values: true, last_level: true, truncate: 100 },
labels: { show: false },
},
aggs: [
{ id: '1', enabled: true, type: 'count', schema: 'metric', params: {} },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ export default [
addLegend: true,
legendPosition: 'right',
isDonut: true,
labels: { show: false },
},
aggs: [
{ id: '1', enabled: true, type: 'count', schema: 'metric', params: {} },
Expand Down Expand Up @@ -283,6 +284,7 @@ export default [
addLegend: true,
legendPosition: 'right',
isDonut: true,
labels: { show: false },
},
aggs: [
{ id: '1', enabled: true, type: 'count', schema: 'metric', params: {} },
Expand Down Expand Up @@ -379,6 +381,7 @@ export default [
addLegend: true,
legendPosition: 'right',
isDonut: true,
labels: { show: false },
},
aggs: [
{ id: '1', enabled: true, type: 'count', schema: 'metric', params: {} },
Expand Down Expand Up @@ -470,6 +473,7 @@ export default [
addLegend: true,
legendPosition: 'right',
isDonut: true,
labels: { show: false },
},
aggs: [
{ id: '1', enabled: true, type: 'count', schema: 'metric', params: {} },
Expand Down Expand Up @@ -671,6 +675,7 @@ export default [
addLegend: true,
legendPosition: 'right',
isDonut: true,
labels: { show: false },
},
aggs: [
{ id: '1', enabled: true, type: 'count', schema: 'metric', params: {} },
Expand Down Expand Up @@ -736,6 +741,7 @@ export default [
addLegend: true,
legendPosition: 'right',
isDonut: true,
labels: { show: false },
},
aggs: [
{ id: '1', enabled: true, type: 'count', schema: 'metric', params: {} },
Expand Down
5 changes: 4 additions & 1 deletion server/integration-files/visualizations/agents/agents-pci.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export default [
addLegend: true,
legendPosition: 'right',
isDonut: true,
labels: { show: false },
},
aggs: [
{ id: '1', enabled: true, type: 'count', schema: 'metric', params: {} },
Expand Down Expand Up @@ -61,6 +62,7 @@ export default [
addLegend: true,
legendPosition: 'right',
isDonut: true,
labels: { show: false },
},
aggs: [
{ id: '1', enabled: true, type: 'count', schema: 'metric', params: {} },
Expand Down Expand Up @@ -99,6 +101,7 @@ export default [
addLegend: true,
legendPosition: 'right',
isDonut: true,
labels: { show: false },
},
aggs: [
{ id: '1', enabled: true, type: 'count', schema: 'metric', params: {} },
Expand Down Expand Up @@ -137,7 +140,7 @@ export default [
addLegend: false,
legendPosition: 'right',
isDonut: true,
labels: { show: true, values: true, last_level: true, truncate: 100 },
labels: { show: false },
},
aggs: [
{ id: '1', enabled: true, type: 'count', schema: 'metric', params: {} },
Expand Down
5 changes: 4 additions & 1 deletion server/integration-files/visualizations/agents/agents-tsc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export default [
addLegend: true,
legendPosition: 'right',
isDonut: true,
labels: { show: false },
},
aggs: [
{ id: '1', enabled: true, type: 'count', schema: 'metric', params: {} },
Expand Down Expand Up @@ -61,6 +62,7 @@ export default [
addLegend: true,
legendPosition: 'right',
isDonut: true,
labels: { show: false },
},
aggs: [
{ id: '1', enabled: true, type: 'count', schema: 'metric', params: {} },
Expand Down Expand Up @@ -99,6 +101,7 @@ export default [
addLegend: true,
legendPosition: 'right',
isDonut: true,
labels: { show: false },
},
aggs: [
{ id: '1', enabled: true, type: 'count', schema: 'metric', params: {} },
Expand Down Expand Up @@ -137,7 +140,7 @@ export default [
addLegend: false,
legendPosition: 'right',
isDonut: true,
labels: { show: true, values: true, last_level: true, truncate: 100 },
labels: { show: false },
},
aggs: [
{ id: '1', enabled: true, type: 'count', schema: 'metric', params: {} },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export default [
addLegend: true,
legendPosition: 'right',
isDonut: true,
labels: { show: false },
},
aggs: [
{ id: '1', enabled: true, type: 'count', schema: 'metric', params: {} },
Expand Down Expand Up @@ -61,6 +62,7 @@ export default [
addLegend: true,
legendPosition: 'right',
isDonut: true,
labels: { show: false },
},
aggs: [
{ id: '1', enabled: true, type: 'count', schema: 'metric', params: {} },
Expand Down Expand Up @@ -99,6 +101,7 @@ export default [
addLegend: true,
legendPosition: 'right',
isDonut: true,
labels: { show: false },
},
aggs: [
{ id: '1', enabled: true, type: 'count', schema: 'metric', params: {} },
Expand Down Expand Up @@ -137,6 +140,7 @@ export default [
addLegend: true,
legendPosition: 'right',
isDonut: true,
labels: { show: false },
},
aggs: [
{ id: '1', enabled: true, type: 'count', schema: 'metric', params: {} },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,8 @@ export default [
addTooltip: true,
addLegend: true,
legendPosition: 'right',
isDonut: false,
isDonut: true,
labels: { show: false },
},
aggs: [
{ id: '1', enabled: true, type: 'count', schema: 'metric', params: {} },
Expand Down
17 changes: 14 additions & 3 deletions server/integration-files/visualizations/overview/overview-oscap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,15 @@ export default [
_source: {
title: 'Agents',
visState: JSON.stringify({
params: { isDonut: false, shareYAxis: true, addTooltip: true, addLegend: true },
listeners: {},
type: 'pie',
params: {
isDonut: true,
shareYAxis: true,
addTooltip: true,
addLegend: true,
labels: { show: false }
},
aggs: [
{ type: 'count', enabled: true, id: '1', params: {}, schema: 'metric' },
{
Expand Down Expand Up @@ -231,11 +237,12 @@ export default [
title: 'Profiles',
visState: JSON.stringify({
params: {
isDonut: false,
isDonut: true,
legendPosition: 'right',
shareYAxis: true,
addTooltip: true,
addLegend: true,
labels: { show: false }
},
listeners: {},
type: 'pie',
Expand Down Expand Up @@ -302,11 +309,12 @@ export default [
title: 'Content',
visState: JSON.stringify({
params: {
isDonut: false,
isDonut: true,
legendPosition: 'right',
shareYAxis: true,
addTooltip: true,
addLegend: true,
labels: { show: false }
},
listeners: {},
type: 'pie',
Expand Down Expand Up @@ -375,6 +383,7 @@ export default [
addLegend: true,
legendPosition: 'right',
isDonut: true,
labels: { show: false },
},
aggs: [
{ id: '1', enabled: true, type: 'count', schema: 'metric', params: {} },
Expand Down Expand Up @@ -569,6 +578,7 @@ export default [
addLegend: true,
legendPosition: 'right',
isDonut: true,
labels: { show: false },
},
aggs: [
{ id: '1', enabled: true, type: 'count', schema: 'metric', params: {} },
Expand Down Expand Up @@ -634,6 +644,7 @@ export default [
addLegend: true,
legendPosition: 'right',
isDonut: true,
labels: { show: false },
},
aggs: [
{ id: '1', enabled: true, type: 'count', schema: 'metric', params: {} },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,8 @@ export default [
addTooltip: true,
addLegend: true,
legendPosition: 'right',
isDonut: false,
isDonut: true,
labels: { show: false }
},
aggs: [
{ id: '1', enabled: true, type: 'count', schema: 'metric', params: {} },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,8 @@ export default [
addTooltip: true,
addLegend: true,
legendPosition: 'right',
isDonut: false,
isDonut: true,
labels: { show: false },
},
aggs: [
{ id: '1', enabled: true, type: 'count', schema: 'metric', params: {} },
Expand Down