Metadata-Version: 2.1
Name: trivy-streamlit
Version: 0.7
Summary: A simple streamlit app for trivy security scanner JSON output
Home-page: https://github.com/mfreeman451/trivy-streamlit
Author: Michael Freeman
Author-email: mfreeman451@gmail.com
License: Apache-2.0
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Topic :: Security
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: streamlit

# 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
```
