It seems compliance_framework_setting projects edit API attribute is not documented
Problem to solve
It seems there is a compliance_framework_setting
projects edit API attribute which is not documented. I have found out this because I made a wrong API call without correctly named API attribute and I got back a list of accepted attributes (see #348695 (closed)).
The REST API does not have the ability to update a project's compliance frameworks, not did it ever.
Proposal
- Remove
compliance_framework_setting
from the list of available updatable attributes on the project REST API.
Reproduction
- As a project owner, attempt to update a project using an HTTP call such as this:
PUT /api/v4/projects/32171669?INVALID_PARAM=3123 HTTP/1.1
- Note that
compliance_framework_setting
exists in the allowable list of parameters. It should not be there.
Edited by Max Woolf