https://github.com/myseq/dashboard
Generic Dashboard
https://github.com/myseq/dashboard
python3 streamlit streamlit-dashboard
Last synced: 10 months ago
JSON representation
Generic Dashboard
- Host: GitHub
- URL: https://github.com/myseq/dashboard
- Owner: myseq
- Created: 2025-01-16T08:16:23.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-01-16T09:49:38.000Z (12 months ago)
- Last Synced: 2025-01-25T16:15:28.013Z (12 months ago)
- Topics: python3, streamlit, streamlit-dashboard
- Language: Python
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Baseline Compliance Dashboard
This Streamlit application presents a **Baseline Dashboard** based on compliance scan results provided in CSV format.
## Features
- Provides an overview of compliance data for quick analysis.
- Displays compliance scan results in an interactive dashboard.
- Calculate the compliance status automatic.
- Filters results by **Operating System (OS)** and **Compliance Status**.
- Display the details of those pass/fail controls.
- Provide an overview compliance scan for host.
## Prerequisites
- Python installed on your system.
- CSV file containing compliance scan data with the following mandatory columns:
- `Hostname`
- `OS`
- `Control`
- `Result`
## Installation
1. Clone the repository:
```bash
$ git clone
$ cd
```
2. Install required Python packages:
```console
$ python3 -m venv venv
$ source venv/bin/activate
(venv) $ pip3 install -r requirements.txt
```
## Usage
1. Place your compliance scan CSV file in the project directory.
1. Run the Streamlit app:
```console
(venv) $ streamlit run app.py
```
1. Use the sidebar to filter data by:
- **Operating System** (e.g., Windows, Linux).
- **Compliance Status** (e.g., Compliant, Non-Compliant).
1. Select any host in the interactive DataFrame with row selection via index.
## Sample CSV Format
Note that the CSV file may contain more columns.
And only the 4 column names are below are mantatory.
```csv
Hostname,OS,Control,Result
host_a,win11,c1,pass
host_a,win11,c2,pass
host_a,win11,c3,pass
host_b,rhel9,c1,pass
host_b,rhel9,c2,fail
host_b,rhel9,c3,fail
host_c,ws2022,c1,pass
host_c,ws2022,c2,pass
```
---
Enjoy using the Baseline Compliance Dashboard!