Actions
Bug #15476
closedInsufficient validations for policy
Difficulty:
Triaged:
No
Description
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.
Actions