Skip to content

Add Template Argument Support #1

Description

@blue42-david

We like your tool and want to use it to create a security report to provide to our customers.
Thus we only need it to display the columns ID, Security tool, Impact, Title and Status.
Configured like this, the report only uses halve of the page available due to the max-width: 400px restriction on all tbody td.
This means Title is cut of after 400px even though there is a lot of unused space on the page.

It would be nice if the default template.ejs file could be overwritten via user input (e.g. via the config).

An alternative could be to implement some kind of CSS magic in the default template.ejs file. But I think letting the user define a custom template.ejs file is a more elegant solution.

Fields part in our config:

  "fields": {
    "ID": "$.id",
    "Security tool": "$.tool",
    "Impact": "SEVERITY",
    "Title": "$.title",
    "Status": "$.display_status"
  }

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions