Skip to content

Package HTML and other report templates #1123

@anantshri

Description

@anantshri

Description

https://aquasecurity.github.io/trivy/v0.18.3/examples/report/ describes ways to generate reports such as HTML etc. However this at this point only works once we download the specific file from contrib folder.

What did you expect to happen?

If i am installing via deb or other package manager. I would expect the templates etc to be stored either in the binary itself or in the /usr/share locations.

What happened instead?

Templates are not present at all

Output of trivy -v:

Version: 0.19.1
Vulnerability DB:
  Type: Light
  Version: 1
  UpdatedAt: 2021-07-14 18:05:30.504390261 +0000 UTC
  NextUpdate: 2021-07-15 00:05:30.504390061 +0000 UTC
  DownloadedAt: 2021-07-14 19:50:26.016293 +0000 UTC

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions