Skip to content

Commit

Permalink
chore(redhat): update url (#317)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaineK00n authored Dec 24, 2024
1 parent 3d7b539 commit df2b029
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion redhat/csaf/vex.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
const (
vexDir = "csaf-vex"
retry = 5
baseURL = "https://access.redhat.com/security/data/csaf/v2/vex/"
baseURL = "https://security.access.redhat.com/data/csaf/v2/vex/"
)

type Option func(*Config)
Expand Down
4 changes: 2 additions & 2 deletions redhat/oval/redhat.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ const (
ovalDir = "oval"
cpeDir = "cpe"

urlFormat = "https://www.redhat.com/security/data/oval/v2/%s"
urlFormat = "https://security.access.redhat.com/data/oval/v2/%s"
retry = 5
pulpManifest = "PULP_MANIFEST"

repoToCpeURL = "https://www.redhat.com/security/data/metrics/repository-to-cpe.json"
repoToCpeURL = "https://security.access.redhat.com/data/meta/v1/repository-to-cpe.json"

testsDir = "tests"
objectsDir = "objects"
Expand Down

0 comments on commit df2b029

Please sign in to comment.