Project

General

Profile

Actions

Support #3407

closed

Exclusion of source after removal from update.yaml

Added by Tiago F. over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Affected Versions:
Label:

Description

How to reproduce:

Add

sources:
- A
- B
- C

Run suricata-update.

Edit update.yaml and remove "B". On next run, suricata-update will still fetch the removed (from update.yaml) source.

Expected behavior: suricata-update should consider entries that were removed from update.yaml as sources that should be removed/disabled.

Actions #1

Updated by Jason Ish over 4 years ago

Can you run the 'list-enabled-sources' command? Maybe the same source was added/enabled with the add-source or enable-source command which does not store its configuration in update.yaml.

Actions #2

Updated by Tiago F. over 4 years ago

Jason Ish wrote:

Can you run the 'list-enabled-sources' command? Maybe the same source was added/enabled with the add-source or enable-source command which does not store its configuration in update.yaml.

Hey Jason,

That was exactly it. I incorrectly assumed update.yaml was going to take precedence over everything, but like you mentioned, as soon as I listed the sources, I was given sources from both locations (update.yaml and suricata-update itself).

Thank you!

Actions #3

Updated by Shivani Bhardwaj over 4 years ago

  • Tracker changed from Bug to Support
  • Status changed from New to Closed
Actions

Also available in: Atom PDF