Skip to content

Commit

Permalink
plugins: homebrew: Add "brew audit" to allowlist
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Coster <[email protected]>
  • Loading branch information
MTCoster committed Oct 3, 2024
1 parent 36e4bf4 commit 1590938
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions plugins/homebrew/brew.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,15 @@ func HomebrewCLI() schema.Executable {
NeedsAuth: needsauth.IfAll(
needsauth.NotForHelpOrVersion(),
needsauth.IfAny(
needsauth.ForCommand("search"),
needsauth.ForCommand("audit"),
needsauth.ForCommand("bump"),
needsauth.ForCommand("bump-cask-pr"),
needsauth.ForCommand("bump-formula-pr"),
needsauth.ForCommand("update"),
needsauth.ForCommand("upgrade"),
needsauth.ForCommand("install"),
needsauth.ForCommand("reinstall"),
needsauth.ForCommand("search"),
needsauth.ForCommand("update"),
needsauth.ForCommand("upgrade"),
),
),
Uses: []schema.CredentialUsage{
Expand Down

0 comments on commit 1590938

Please sign in to comment.