ComplianceAsCode / ComplianceAsCode/content

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

Open
#11,619 0 comments 0 reactions 0 assignees View on GitHub
triaged
Dominant language
Shell
Stars
2.8k
Forks
828
Avg merge
3d 8m
Merged PRs (30d)
80

Description

#### 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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.