-
Notifications
You must be signed in to change notification settings - Fork 196
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: switch to structured logging with
log/slog
and update err…
…or handling - Add `bearer.yml` file with rules to skip specific checks - Replace `log` package with `log/slog` in `sessions.go` - Simplify error format string in `sessions.go` - Update error logging in `sessions.go` to use `slog.Error` with structured logging and return `nil` on error Signed-off-by: appleboy <appleboy.tw@gmail.com>
- Loading branch information
Showing
2 changed files
with
8 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
rule: | ||
skip-rule: [go_gorilla_cookie_missing_http_only, go_gorilla_insecure_cookie] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters