content icon indicating copy to clipboard operation
content copied to clipboard

The `products` key in `rule_dirs.json` contains all products

Open Mab879 opened this issue 1 year ago • 0 comments

Description of problem:

The products key is no longer useful to figure out what product a rule is applicable to.

SCAP Security Guide Version:

b895bce65b0d16d14bab9dadbd2f8e145d77e298

Operating System Version:

N/A

Steps to Reproduce:

  1. ./utils/rule_dir_json.py
  2. cat build/rule_dirs.json | jq '.["apt_conf_disallow_unauthenticated"]'.products

Actual Results:

A list of all products

Expected Results:

Applicable products only listed.

Additional Information/Debugging Steps:

Related to prodtype removal.

Mab879 avatar Feb 22 '24 14:02 Mab879