-
Notifications
You must be signed in to change notification settings - Fork 32
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
Modify the feed address to avoid its downloading and updating #5700
Comments
UpdateCurrently, by default the configuration does not specify a URL from which to download the vulnerability feed updates, but it does specify an update interval, which suggests it defaults to some predefined source.
The VD configuration block will look like this:
|
TestingOS
Wazuh version
Invalid path
Localhost
Deactivate feed update interval
|
UpdateAfter testing and talking with the team in charge of vulnerability detection in this thread. It fails when trying to find the non-existent file. Once VD fails, it continues to function correctly using the package feed. Configuration
Debug of offline-url error
Seeing that it works, it will be implemented and tested in the VD E2E test. |
UpdateChanges made in this branch: Running tests with CTI feed used so far comparing them with package feed tests. |
Update
|
UpdateWe check that everything goes as expected by activating the debug mode in the VD test in this build. Configuration
Decompression
Offline-url error and no download of CTI feed
Feed
Known issues: |
LGTM |
Description
With VD's E2E tests, it has been shown that the tests can take a long time if the feed in the package is out of date with the one in the CTI. In addition, if vulnerabilities change, they can give erroneous results when verifying the expected vulnerabilities.
The idea is to modify where the feed is downloaded from to a non-existent URL, e.g.
localhost
, to prevent the feed from being downloaded and updated. In this way, the test will use the feed that comes with the package and we will avoid wasting time updating it.Tasks
The text was updated successfully, but these errors were encountered: