Skip to content

fix: remove incorrect escaping from $basearch in the Datadog Security CLI repository URL #38130

Open
nikhilvarpe wants to merge 2 commits into
DataDog:masterfrom
nikhilvarpe:patch-1
Open

fix: remove incorrect escaping from $basearch in the Datadog Security CLI repository URL #38130
nikhilvarpe wants to merge 2 commits into
DataDog:masterfrom
nikhilvarpe:patch-1

Conversation

@nikhilvarpe

Copy link
Copy Markdown

Remove the unnecessary escape character before the $basearch variable in the Datadog Security CLI YUM repository URL for Red Hat/CentOS.

The escaped value ($basearch) caused YUM/DNF to generate an invalid repository path, resulting in a 404 error while fetching repository metadata. Using $basearch directly allows YUM/DNF to correctly resolve the system architecture (for example, x86_64) and access the appropriate package repository.

This change ensures that the Datadog Security CLI can be installed successfully using the package repository instructions for Red Hat/CentOS and other supported RPM-based systems.

The attached file consist of code snippet of the tested code : security-cli-code-snippet.txt

… CLI repository URL

Remove the unnecessary escape character before the $basearch variable in the Datadog Security CLI YUM repository URL.

The escaped value (\$basearch) caused YUM/DNF to construct an invalid repository path, resulting in a 404 error while fetching repository metadata. Using $basearch directly allows YUM/DNF to correctly resolve the system architecture (e.g., x86_64) and access the appropriate package repository.

This change restores successful repository metadata retrieval and enables the Datadog Security CLI package to be installed correctly on supported RPM-based systems.
@nikhilvarpe nikhilvarpe requested a review from a team as a code owner July 13, 2026 17:51
@maycmlee maycmlee self-assigned this Jul 13, 2026
@maycmlee

Copy link
Copy Markdown
Contributor

Hi @nikhilvarpe, thanks for opening this PR! We'll review and be back in touch.

@maycmlee maycmlee added the under_review Sent to someone outside of the docs team for review. label Jul 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

under_review Sent to someone outside of the docs team for review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants