Skip to content

Commit

Permalink
rhel: update security data url domain
Browse files Browse the repository at this point in the history
  • Loading branch information
RTann committed Aug 29, 2024
1 parent 4011b96 commit 9c4175e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion rhel/repositoryscanner.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ const (
// DefaultRepo2CPEMappingURL is default URL with a mapping file provided by Red Hat.
//
//doc:url indexer
DefaultRepo2CPEMappingURL = "https://access.redhat.com/security/data/metrics/repository-to-cpe.json"
DefaultRepo2CPEMappingURL = "https://security.access.redhat.com/data/metrics/repository-to-cpe.json"
)

// Name implements [indexer.VersionedScanner].
Expand Down
2 changes: 1 addition & 1 deletion rhel/rhcc/scanner.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ type ScannerConfig struct {
// Hat.
//
//doc:url indexer
const DefaultName2ReposMappingURL = "https://access.redhat.com/security/data/metrics/container-name-repos-map.json"
const DefaultName2ReposMappingURL = "https://security.access.redhat.com/data/metrics/container-name-repos-map.json"

// Configure implements [indexer.RPCScanner].
func (s *scanner) Configure(ctx context.Context, f indexer.ConfigDeserializer, c *http.Client) error {
Expand Down
2 changes: 1 addition & 1 deletion rhel/rhcc/updater.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (

//doc:url updater
const (
dbURL = "https://access.redhat.com/security/data/metrics/cvemap.xml"
dbURL = "https://security.access.redhat.com/data/metrics/cvemap.xml"
cveURL = "https://access.redhat.com/security/cve/"
)

Expand Down
2 changes: 1 addition & 1 deletion rhel/updaterset.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
// DefaultManifest is the url for the Red Hat OVAL pulp repository.
//
//doc:url updater
const DefaultManifest = `https://access.redhat.com/security/data/oval/v2/PULP_MANIFEST`
const DefaultManifest = `https://security.access.redhat.com/data/oval/v2/PULP_MANIFEST`

// NewFactory creates a Factory making updaters based on the contents of the
// provided pulp manifest.
Expand Down
2 changes: 1 addition & 1 deletion rhel/vex/updater.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const (
// BaseURL is the base url for the Red Hat VEX security data.
//
//doc:url updater
BaseURL = "https://access.redhat.com/security/data/csaf/v2/vex/"
BaseURL = "https://security.access.redhat.com/data/csaf/v2/vex/"

latestFile = "archive_latest.txt"
changesFile = "changes.csv"
Expand Down

0 comments on commit 9c4175e

Please sign in to comment.