Comments (7)
Hi @korallo159 ,
I am glad to hear that your issue has been addressed. I have created a separated issue for the summary feature and closing this. Could you please give us a star for support?
Regards,
Fatih
from scan2html.
Hi @korallo159 ,
Thank you for reporting the issue. I will quickly investigate and revert back to you.
Regards,
Fatih
from scan2html.
Can you use this command 'trivy scan2html k8s --report=all all -n my-namespace --format json -o results.json resultnew.html'? (ref: https://aquasecurity.github.io/trivy/v0.49/docs/target/kubernetes/)
And which version of scan2html (trivy scan2html -h) and which version of trivy? Also can you check the if you are getting a json like below?
{
"ClusterName": "minikube",
"Vulnerabilities": [
{
"Namespace": "default",
"Kind": "Deployment",
"Name": "app",
"Results": [
{
"Target": "ubuntu:latest (ubuntu 22.04)",
"Class": "os-pkgs",
"Type": "ubuntu",
"Vulnerabilities": [
{
"VulnerabilityID": "CVE-111-111",
.....
from scan2html.
`
scan2html v0.2.2
Usage: trivy scan2html [-h,--help] command target filename`
The json output looks different, I use latest trivy version.
{
"ClusterName": "",
"Resources": [
{
"Namespace": "",
"Kind": "ServiceAccount",
"Name": "default",
"Metadata": {
"ImageConfig": {
"architecture": "",
"created": "0001-01-01T00:00:00Z",
"os": "",
"rootfs": {
"type": "",
"diff_ids": null
},
"config": {}
}
},
"Results": [
{
"Target": "ServiceAccount/default",
"Class": "config",
"Type": "kubernetes",
"MisconfSummary": {
"Successes": 102,
"Failures": 0,
"Exceptions": 0
}
}
]
},
{
....
from scan2html.
Thanks for the reply @korallo159 , I am still investigating this issue. Please, could you try this command 'trivy scan2html k8s --report=all all -n my-namespace --format json -o results.json resultnew.html' and see if the result changes
from scan2html.
Hi @korallo159 ,
Thanks for your patience. I have fixed your issue with the latest release(v0.2.4). Please follow these steps:
- trivy plugin uninstall scan2html
- trivy plugin install github.com/fatihtokus/scan2html
- trivy scan2html trivy k8s cluster interactive_result.html
Note: the command($trivy scan2html k8s --report=all all -n my-namespace resultnew.html) you use is creating a summary of the result which is not suitable for scan2html at the moment. But if you think that would be useful, we can support that as well, please let us know.
Regards,
Fatih
from scan2html.
Hi, I generated and I confirm that I see contents now
I think it would be nice to have also summary in html.
Thank you
from scan2html.
Related Issues (20)
- feat: Integrate with plugin index of trivy HOT 1
- feat: add a dashboard
- feat: add a menu on the left hand side
- Secrets are not displaying in UI HOT 3
- Exit code is not capturing properly HOT 4
- Feature Request: Reading multiple reports at the same time HOT 9
- feat: Load a report from a Url as a request parameter
- feat: Load multiple reports from a Url as request parameters
- feat: Select automatically the menu(vulns, secrets etc) that has data
- feat: add summary of findings per severity on vulnerabilities, misconfigurations and secrets pages
- feat: add filters per severity on vulnerabilities, misconfigurations and secrets pages
- html report not readable HOT 6
- Feature Request: HOT 4
- Show CVSS score in the vulnerability table
- Add OpenSSF scorecard score badge
- Solution References Info in Vulnerability and Misconfigurations Report HOT 2
- Refactor scan2html.sh
- I cannot install the plugin - 404 Not Found HOT 3
- Additional columns in report HOT 2
- Support for Generating a Single Interactive Report and Loading multiple Trivy JSON Reports in scan2html
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scan2html.