Skip to content

Commit

Permalink
Update Security CLI to v1.4.1 (#718)
Browse files Browse the repository at this point in the history
  • Loading branch information
attiasas authored Jun 27, 2024
1 parent cc9563f commit 5d9c42c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ require (
github.com/jfrog/froggit-go v1.15.0
github.com/jfrog/gofrog v1.7.2
github.com/jfrog/jfrog-cli-core/v2 v2.53.1
github.com/jfrog/jfrog-cli-security v1.4.0
github.com/jfrog/jfrog-cli-security v1.4.1
github.com/jfrog/jfrog-client-go v1.41.0
github.com/jordan-wright/email v4.0.1-0.20210109023952-943e75fe5223+incompatible
github.com/owenrumney/go-sarif/v2 v2.3.1
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -900,8 +900,8 @@ github.com/jfrog/jfrog-apps-config v1.0.1 h1:mtv6k7g8A8BVhlHGlSveapqf4mJfonwvXYL
github.com/jfrog/jfrog-apps-config v1.0.1/go.mod h1:8AIIr1oY9JuH5dylz2S6f8Ym2MaadPLR6noCBO4C22w=
github.com/jfrog/jfrog-cli-core/v2 v2.53.1 h1:odwPJlrUVw7yKIYctVIn7/8YW/Ynwq4vvsmrXOzAAa8=
github.com/jfrog/jfrog-cli-core/v2 v2.53.1/go.mod h1:4iTSevmlThM1Aw5NAY4WyVxim5US4SkrmxHSHFimaqk=
github.com/jfrog/jfrog-cli-security v1.4.0 h1:dXz4nFnL8lV0iWIq9TQcoCQm1CS3PhXzdWyPGbSlgtw=
github.com/jfrog/jfrog-cli-security v1.4.0/go.mod h1:8Jmr6CBQIgB6zbyxuZLg/66x7M+7WWDkXBGCQPkw+j8=
github.com/jfrog/jfrog-cli-security v1.4.1 h1:7RKcpa3NLWPYuZaochpRr4LJ296B60P0+wZSibOcK4Q=
github.com/jfrog/jfrog-cli-security v1.4.1/go.mod h1:8Jmr6CBQIgB6zbyxuZLg/66x7M+7WWDkXBGCQPkw+j8=
github.com/jfrog/jfrog-client-go v1.41.0 h1:g5OTFvreOVQ6U/5LUXFJfA3Bc+AZCo2PO/EzCLxLbLE=
github.com/jfrog/jfrog-client-go v1.41.0/go.mod h1:AN+/mT2DIBE4oRZicJojqND2BEKLfA7f73i5rT3Lfcc=
github.com/jordan-wright/email v4.0.1-0.20210109023952-943e75fe5223+incompatible h1:jdpOPRN1zP63Td1hDQbZW73xKmzDvZHzVdNYxhnTMDA=
Expand Down
5 changes: 3 additions & 2 deletions utils/params.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@ import (
"context"
"errors"
"fmt"
"github.com/jfrog/jfrog-cli-security/jas"
"net/http"
"net/url"
"os"
"path/filepath"
"strconv"
"strings"

"github.com/jfrog/jfrog-cli-security/commands/audit/sca"

"github.com/jfrog/frogbot/v2/utils/outputwriter"
xrutils "github.com/jfrog/jfrog-cli-security/utils"

Expand Down Expand Up @@ -102,7 +103,7 @@ func (p *Project) setDefaultsIfNeeded() error {
}
if len(p.PathExclusions) == 0 {
if p.PathExclusions, _ = readArrayParamFromEnv(PathExclusionsEnv, ";"); len(p.PathExclusions) == 0 {
p.PathExclusions = jas.DefaultExcludePatterns
p.PathExclusions = sca.DefaultScaExcludePatterns
}
}
if p.UseWrapper == nil {
Expand Down

0 comments on commit 5d9c42c

Please sign in to comment.