trust-rules

Create a trust rule

post/v1/trust-rules

Request body

toolstring required
patternstring required
risk'low' | 'medium' | 'high' required
descriptionstring required
scope'everywhere'

Compatibility field. Trust rules apply workspace-wide: the engine matches on (tool, pattern) only, so a narrower scope cannot be honored and any value other than "everywhere" is rejected rather than stored broader than the consent it records.

Response

Successful response

Changes

Changed in 4 of the 17 revisions of this API.22