guardicore / guardicore/monkey

Inconsistency in format of machines in Security Report

Open
#2,902 0 comments 0 reactions 0 assignees View on GitHub
Bug Complexity: Low Impact: Medium UI
Dominant language
Python
Stars
7.1k
Forks
830
PR merge metrics
No merged PRs in 30d

Description

## Describe the bug
There's an inconsistency in the way machines are shown under "Scanned Servers" and "Breached Servers" in the Security Report. "Scanned Servers" shows the hostname followed by the IPs while "Breached Servers" only shows one IP.

## To Reproduce
Steps to reproduce the behavior:
1. Run the Agent to exploit at least one machine whose hostname exists.
2. Check the Security Report.

## Expected behavior
The machines should be shown in the same format in both the tables.

We can reuse https://github.com/guardicore/monkey/blob/6f776eef359fd353df78fe00c42bf181d9e94807/monkey/monkey_island/cc/ui/src/components/report-components/security/ScannedServers.js#L10-L12 in "Breached Servers".

## Screenshots
![image](https://user-images.githubusercontent.com/44770317/215749676-6180cf75-d971-4a87-8052-6d7afd54e30e.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.