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 personas #226

Merged
merged 7 commits into from
Dec 3, 2024
Merged

feat: add personas #226

merged 7 commits into from
Dec 3, 2024

Conversation

woodruffw
Copy link
Owner

@woodruffw woodruffw commented Dec 2, 2024

WIP.

This adds the concept of a 'persona' to the determinations set. The thinking here is that personas will model common sensitivity thresholds, allowing zizmor to move from a hard-coded "pedantic" persona to a more general filtering mechanism.

Right now, the personas are:

  1. auditor: someone doing secure code reviews, who is insensitive to false positives since everything is being reviewed manually
  2. pedantic: someone who is sensitive to false positives but is OK with true positives that are "code smells" rather than actionable weaknesses
  3. regular: someone who wants only actionable true positives (or as close to true positives as a given audit can provide)

@woodruffw woodruffw self-assigned this Dec 2, 2024
@woodruffw woodruffw added enhancement New feature or request cli labels Dec 3, 2024
@woodruffw woodruffw marked this pull request as ready for review December 3, 2024 01:19
@woodruffw woodruffw changed the title feat: add 'persona' concept feat: add personas Dec 3, 2024
@woodruffw woodruffw merged commit 7644555 into main Dec 3, 2024
4 checks passed
@woodruffw woodruffw deleted the ww/persona branch December 3, 2024 01:45
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.

1 participant