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.
Updated by The Foreman Bot over 8 years ago
- Status changed from New to Ready For Testing
- Assignee set to Ondřej Pražák
- Pull request https://github.com/theforeman/foreman_openscap/pull/179 added
Updated by Ondřej Pražák over 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset foreman_openscap:foreman_openscap|1ceea8607961c8a5e829d8d25875221dd6304b02.
Updated by Marek Hulán over 8 years ago
- Project changed from 36 to OpenSCAP
- Target version set to 1.6.0
- Translation missing: en.field_release set to 180
- Triaged set to No
Actions