Skip to content

Commit

Permalink
fix: remove debugging from semgrep parser
Browse files Browse the repository at this point in the history
  • Loading branch information
BacchusJackson committed May 16, 2024
1 parent 9953904 commit 728b7aa
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.6.2] - 2024-05-15

### Changed

- Remove debug information from semgrep decoding

## [0.6.1] - 2024-05-15

### Changed
Expand Down
2 changes: 0 additions & 2 deletions pkg/artifacts/v1/semgrep.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package artifacts

import (
"fmt"
"log/slog"
"strings"
)

Expand Down Expand Up @@ -70,7 +69,6 @@ func (s *SemgrepResults) ShortCheckID() string {
}

func (s *SemgrepMetadata) OwaspIDs() string {
slog.Info(s.Shortlink, "type", fmt.Sprintf("%T", s.Owasp))
switch v := s.Owasp.(type) {
case string:
return v
Expand Down
2 changes: 1 addition & 1 deletion test/semgrep-sast-report.json

Large diffs are not rendered by default.

0 comments on commit 728b7aa

Please sign in to comment.