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

[UI] Replaced as the full and partial scan dates are displayed in the Details panel in Vulnerabilites/Inventory #4169

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

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@

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

## Wazuh v4.3.2 - Kibana 7.10.2, 7.16.x, 7.17.x - Revision 4301
## Wazuh v4.3.2 - Kibana 7.10.2, 7.16.x, 7.17.x - Revision 4303

### Changed

- Replaced as the full and partial scan dates are displayed in the `Details` panel of `Vulnerabilities/Inventory` [#4169](https://github.com/wazuh/wazuh-kibana-app/pull/4169)
AlexRuiz7 marked this conversation as resolved.
Show resolved Hide resolved

### Fixed

Expand Down
19 changes: 13 additions & 6 deletions public/components/agents/vuls/inventory.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ import {
import { ICustomBadges } from '../../wz-search-bar/components';
import { formatUIDate } from '../../../react-services';
import { VisualizationBasicWidgetSelector, VisualizationBasicWidget } from '../../common/charts/visualizations/basic';
import { WzStat } from '../../wz-stat';

interface Aggregation { title: number, description: string, titleColor: string }
interface pieStats { id: string, label: string, value: number }
Expand Down Expand Up @@ -243,14 +244,20 @@ export class Inventory extends Component {
</EuiFlexGroup>
<EuiFlexGroup style={{ marginTop: 'auto' }}>
<EuiFlexItem>
<EuiText>
<EuiIcon type="calendar" color={'primary'} /> Last full scan: {last_full_scan}
</EuiText>
<WzStat
title={last_full_scan}
description="Last full scan"
textAlign='center'
titleSize='xs'
/>
</EuiFlexItem>
<EuiFlexItem>
<EuiText>
<EuiIcon type="calendar" color={'primary'} /> Last partial scan: {last_partial_scan}
</EuiText>
<WzStat
title={last_partial_scan}
description="Last partial scan"
textAlign='center'
titleSize='xs'
/>
</EuiFlexItem>
</EuiFlexGroup>
</EuiFlexItem>
Expand Down