Skip to content

Allow Users to Override help: markdown SARIF ouput in custom rules #697

@boveus

Description

@boveus

Is your feature request related to a problem? Please describe.

There is not currently a way to modify the help: markdown: value in the SARIF. This refers to the text that will be displayed at the bottom of a GitHub Code Scanning alert (screenshot below). This value also refers to a hard coded to a link that points to the DevSkim repo. We cannot override this through the DevSkim tool itself, the rule, or actions options.

Image

Describe the solution you'd like
Allow this field to be customizable through the devskim custom rule syntax.

Describe alternatives you've considered
We have considered implementing some sort of post-processing of the SARIF to enable the behavior we expect, but this seems brittle.

Additional context
The rule we tested this is run with the following general architecture:

  • Devskim action
  • Devskim custom rules in an NPM package
  • Run devskim through the devskim actions workflow

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions