Skip to content

Add config to exclude source file from output #26

@OmegaJak

Description

@OmegaJak

I would like a way to remove the source file from the output in the console. While helpful for debugging, showing the full path and source file in production potentially opens you up to Full Path Disclosure vulnerabilities.

One way to do this would be to allow broader control over formatting in general like suggested in #13. Another would be a simple bool toggle inside the WASMLayerConfig.

I'll be raising a PR shortly doing the second implementation, since it's a lot easier 😉

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions