Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restrict output width? #92

Open
below opened this issue Sep 13, 2024 · 1 comment
Open

Restrict output width? #92

below opened this issue Sep 13, 2024 · 1 comment

Comments

@below
Copy link

below commented Sep 13, 2024

I am running mobsfscan in a gitlab pipeline, but for some reason, mobsfscan assumes a very wide terminal.

I would like to restrict the width of the output.

stty fails, because input is not a terminal.

Are there ways inside or outside of mobsfscan to restrict the output width?

@ajinabraham
Copy link
Member

The width is assumed based on the internal libs and the length of the files/findings.

You could try using a different output format in this case.

 --json                set output format as JSON
  --sarif               set output format as SARIF 2.1.0
  --sonarqube           set output format compatible with SonarQube
  --html                set output format as HTML

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants