Skip to content

0040-yum-repos.d-add-Add Yum Repository File

Rule ID

  • 0040-yum-repos.d-add

Category

  • system

Level

  • warn

Compatible Versions

  • Linux

Description

  • Monitor the addition of configuration files in the /etc/yum-repos.d directory on the host.

Scan Frequency

  • disable

Rationale

  • Repo files are the configuration files for yum sources (software repositories) in Fedora. A repo file typically defines the details of one or more software repositories, such as where to download packages to install or upgrade. The settings in the repo file are read and applied by yum. Incorrect configuration can cause service unavailability.

Risk Items

  • Service unavailability

Audit Method

  • Verify whether files have been added in the /etc/yum-repos.d directory on the host. Run the following command to verify:
ls -l /etc/yum-repos.d

Remedy

  • If files have been added to /etc/yum-repos.d on the host, carefully check the host environment for signs of intrusion and change the host user password.

Impact

  • None

Default Value

  • None

References

  • None

CIS Controls

  • None

Feedback

Is this page helpful?