The directives which use a source-list can currently be configured with invalid values:

  • If n/a is the selected base value but no flags, additional sources, or automated sources are set for the directive
  • 'none' can be set as the base value even if automated sources are found

And not invalid, but not optimal:

  • Any base value with additional hosts; * data: is okay, * example.com is superfluous

Comments

gapple created an issue. See original summary.

  • gapple committed 1a5dab7 on 8.x-1.x
    Issue #2951928: Don't save additional directive values when base is '...

  • gapple committed 30c3c46 on 8.x-1.x
    Issue #2951928: Disable 'none' option for directives with auto sources
    
  • gapple committed bf22cdf on 8.x-1.x
    Issue #2951928: Don't store config for empty source-list directives
    
gapple’s picture

Status: Active » Fixed

- The 'none' option for a directive is now removed if any auto sources are discovered.
- Selecting 'n/a' but no other options for the directive will not result in any configuration for that directive being saved.

#2943755: Optimize policy source list will cleanup if additional hosts are provided when 'Any' is selected.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.