Skip to main content

Compliance

Portfolio Compliance scores every repository against a pack of rules. Fork a pack, turn rules on or off, change their mode and scope, add your own, confirm facts, file waivers, and apply pack updates.

๐Ÿ“„๏ธUpdate rule

Changes only the fields sent on a rule of the organization's own pack (on or off, mode, scope, content) and rescores from stored scans; a managed pack's rule returns 409 `fork_to_edit`, except for the operator, whose edit publishes the managed pack's next release and offers it to every organization on the pack or a fork of it. An invalid edit returns 422 naming the field, gate and lock return 422 `mode_not_available`, and nudge needs the rule's oracles to have passed on a scan, else 422 `oracle_failed`. Requires permission to edit compliance for the whole organization.