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

feat: add --min-severity #193

Merged
merged 3 commits into from
Nov 24, 2024
Merged

feat: add --min-severity #193

merged 3 commits into from
Nov 24, 2024

Conversation

woodruffw
Copy link
Owner

@woodruffw woodruffw commented Nov 24, 2024

This adds --min-severity, which can be given
a severity level to filter any findings below
that level.

For example:

zizmor --min-severity=high

will filter any findings below "high," i.e."
findings at unknown, informational, low,
or medium.

Closes #60.

This adds `--min-severity`, which can be given
a severity level to filter any findings below
that level.

For example:

```
zizmor --min-severity=high
```

will filter any findings below "high," i.e."
findings at unknown, informational, low,
or medium.
@woodruffw woodruffw added enhancement New feature or request cli labels Nov 24, 2024
@woodruffw woodruffw self-assigned this Nov 24, 2024
@woodruffw woodruffw merged commit 93b866f into main Nov 24, 2024
4 checks passed
@woodruffw woodruffw deleted the ww/min-sev branch November 24, 2024 18:11
Ninja3047 added a commit to Ninja3047/zizmor that referenced this pull request Nov 24, 2024
This adds `--min-confidence`, similar to
`--min-severity` (woodruffw#193), which can be given a
confidence level to filter any findings below that
specific confidence level.

For example:

```
zizmor --min-confidence=high
```
will filter any finding below "high", i.e.
findings at unknown, low, or medium confidence.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add option to only show findings at given level
1 participant