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

Parameter documentation incomplete #23

Open
mikejwhat opened this issue Jun 28, 2024 · 1 comment
Open

Parameter documentation incomplete #23

mikejwhat opened this issue Jun 28, 2024 · 1 comment

Comments

@mikejwhat
Copy link

mikejwhat commented Jun 28, 2024

For example, under 'Very Common':

  • fail_on_severity
    • Only fail if flaws of Very High or High severity are found.

It's not obvious what I pass here? The usual command line argument 'Very High,High' doesn't seem to work.

There is no description for the 'Common' parameters also.

@nadimz
Copy link

nadimz commented Nov 7, 2024

The syntax "Very High, High" is correct according to the documentation in action.yaml:

fail_on_severity:
    description: 'Fail the pipeline job if the scan finds flaws of the specified severities. Enter a comma-separated list of severities in quotation marks.'

But you are right, there's currently a parsing bug and it doesn't work. I have PR #30 for it.

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