Skip to content

[Task]: Allow selecting a combination of channels scanner rules run on #16299

Description

@diox

Description

Part of Enterprise Add-ons project.

Follow-up for #14849

Scanner rules and query rule can currently run on a specific channel, listed or unlisted, or None. With a third enterprise channel added, we need a way to select any combination of channels:

  • None (all of them)
  • Listed only
  • Unlisted only
  • Enterprise only
  • Listed + Unlisted
  • Listed + Enterprise
  • Unlisted + Enterprise

It should be backwards-compatible with existing run_on_specific_channel parameter, so we should add the extra combinations as additional choices to that field. Ideally the widget to select this would be a <select multiple> with juste Listed, Unlisted and Enterprise and behind the scenes would transform values to make that work.

See also #14855

Acceptance Criteria

  • Scanner rules can run on listed, unlisted, enterprise channels, or any combination of the 3

┆Issue is synchronized with this Jira Task

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions