Insufficient validations for policy
Fixed in Releases:
Found in Releases:
It is possible to create an invalid policy with API call or hammer.
hammer policy create --name invalid --scap-content-id 19 --scap-content-profile-id 1 --period monthly --weekday abcdefcreates policy although weekday is clearly and invalid value. Since 'period' is 'monthly', 'weekday' should not be accepted at all and 'day_of_month' should be required instead.
#2 Updated by Ondřej Pražák almost 3 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset foreman_openscap:foreman_openscap|1ceea8607961c8a5e829d8d25875221dd6304b02.