An open API service indexing awesome lists of open source software.

https://github.com/mfreeman451/trivy-streamlit

A streamlit-based app for trivy scanner results 🔒
https://github.com/mfreeman451/trivy-streamlit

k8s scanner security streamlit-application trivy

Last synced: 3 months ago
JSON representation

A streamlit-based app for trivy scanner results 🔒

Awesome Lists containing this project

README

          

# trivy-streamlit

![trivy-ui](https://raw.githubusercontent.com/mfreeman451/trivy-streamlit/main/assets/scanResults.png)

This is a simple UI to display JSON generated by the opensource scanner `trivy` from AquaSecurity,
supported by the community.

Thanks to AquaSecurity for providing this great tool.

https://github.com/aquasecurity/trivy

## 🏗️ Dependencies

* trivy
* python3
* pip3

It is beyond the scope of this document to explain how to install either of those. 🗡️

## ⚙️ Generating JSON with trivy

### k8s

```bash
trivy k8s --format json -o results.json --scanners=vuln --severity=CRITICAL --report=all cluster
```

### image

```bash
trivy image --format json -o results.json --scanners=vuln --severity=CRITICAL --report=all docker.io/grafana/grafana:10.2.2
```

## Installation

### 🛞 Install from pypi

```bash
pip install trivy-streamlit
```