-
Notifications
You must be signed in to change notification settings - Fork 186
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
Disable synced by default #5143
Disable synced by default #5143
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to the Issue, the Registration date
and Last keep alive
fields should also be disabled by default
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nitpick: There are more files that contain references to IP and OS that we could be interested to change too.
Some of them:
- common/csv-key-equivalence.ts
- public/components/overview/office-panel/config/main-view-config.tsx
- public/components/visualize/visualizations.js (IP by Users)
- public/controllers/management/components/management/configuration/global-configuration/global-configuration-remote.js
- public/templates/management/management.html
- server/controllers/wazuh-reporting.ts
- server/integration-files/visualizations/overview/overview-hipaa.ts
- server/integration-files/visualizations/overview/overview-office.ts
- common/csv-key-equivalence.ts Review where it is affecting to
- common/compliance-requirements/pci-requirements.ts Not sure if this we could change it or should not changed.
- public/controllers/agent/components/agents-table.js
- public/controllers/management/components/management/configuration/vulnerabilities/vulnerabilities-providers.js
- public/controllers/overview/components/overview-actions/agents-selection-table.js
- server/lib/reporting/agent-configuration.ts
- server/lib/reporting/extended-information.ts
- public/controllers/management/components/management/groups/group-agents-table.js
Fix:
- public/components/management/cluster/node-list.tsx
- public/controllers/management/components/management/status/status-agent-info.js
None found
None found
The space is too small and reducing "Operating system" to "OS" is worthwhile
The "OS" in line 84 is justified to optimize the table space, as the manager name or agent name can be quite lengthy.
Thanks for the suggestions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Table designThe proposal to optimize the agents table is to make use of the euiBasicTable property side effectThe |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Replace OS to Operating system and IP to IP address Agents table 🟢 Agents Inventory PDF report 🟢 Groups agents table 🟢 Agent overview 🟢 Management cluster 🟢 Office365 Panel 🟢 Global Configuration Remote 🟢 Explore Agent modal 🟢 Redistribute Agents Table column widths automatically 🔴 |
Chrome Firefox Safari |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
This reverts commit 311622a.
The backport to
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-4.4-7.10 4.4-7.10
# Navigate to the new working tree
cd .worktrees/backport-4.4-7.10
# Create a new branch
git switch --create backport-5143-to-4.4-7.10
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 311622afdc953d61bd594795b684436c914b3760
# Push it to GitHub
git push --set-upstream origin backport-5143-to-4.4-7.10
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-4.4-7.10 Then, create a pull request where the |
* Disable synced by default * Fix column default properties * Add changelog * Remove synced KPI from management status * Fix typos, agent table width style and os.platform * Replace OS to operating system and IP to IP address * Change OS to operating system * Fix agent table layout * Change IP to IP address in cluster overview * Fix extendedInformation * Fix style columnsSelectedCheckboxs * Remove truncate property of columns * Add table overflow auto * Change OS version to flexItem * Change OS version gutter size (cherry picked from commit 311622a)
* Disable synced by default * Fix column default properties * Add changelog * Remove synced KPI from management status * Fix typos, agent table width style and os.platform * Replace OS to operating system and IP to IP address * Change OS to operating system * Fix agent table layout * Change IP to IP address in cluster overview * Fix extendedInformation * Fix style columnsSelectedCheckboxs * Remove truncate property of columns * Add table overflow auto * Change OS version to flexItem * Change OS version gutter size (cherry picked from commit 311622a)
Disable synced by default (#5143) * Disable synced by default * Fix column default properties * Add changelog * Remove synced KPI from management status * Fix typos, agent table width style and os.platform * Replace OS to operating system and IP to IP address * Change OS to operating system * Fix agent table layout * Change IP to IP address in cluster overview * Fix extendedInformation * Fix style columnsSelectedCheckboxs * Remove truncate property of columns * Add table overflow auto * Change OS version to flexItem * Change OS version gutter size (cherry picked from commit 311622a) Co-authored-by: Federico Rodriguez <federico.rodriguez@wazuh.com> Co-authored-by: Antonio <34042064+Desvelao@users.noreply.github.com>
* Disable synced by default (#5143) * Disable synced by default * Fix column default properties * Add changelog * Remove synced KPI from management status * Fix typos, agent table width style and os.platform * Replace OS to operating system and IP to IP address * Change OS to operating system * Fix agent table layout * Change IP to IP address in cluster overview * Fix extendedInformation * Fix style columnsSelectedCheckboxs * Remove truncate property of columns * Add table overflow auto * Change OS version to flexItem * Change OS version gutter size (cherry picked from commit 311622a) * fix: fix renamed os to operating system Co-authored-by: Antonio David Gutiérrez <antonio.gutierrez@wazuh.com>
Description
Hi team,
This PR:
Synced
-Registration Date
-Last Keep Alive
fields of the Agents table and removes the metric on the top of the view. Even though it is disabled, it still can be enabled by checking the field in the table settings.IP
and the textOS
toIP address
and toOperating system
throughout the app.Issues Resolved
Closes #5141
Evidence
Tests
Synced field - Registration Date - Last Keep Alive
synced
fieldSynced
percentageReplace
OS
toOperating system
andIP
toIP address
Agents table
Agents Inventory PDF report
Groups agents table
Agent overview
Management cluster
Nodes
linkOffice365 Panel
Global Configuration Remote
Explore Agent modal
Redistribute Agents Table column widths automatically
Verify all main agents operating system have the proper icon in the table
Check List
yarn test:jest