Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rhel: update security data url domain #1400

Merged
merged 1 commit into from
Aug 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading