Sites

Create a deterministic rule

Validates the rule type and configuration, then creates a versioned rule for the selected site. Invalid configurations are rejected before an audit can run them.

post/v1/sites/{siteId}/rules

Request

  • Base URL: https://api.ironfang.com/audit
  • URL: https://api.ironfang.com/audit/v1/sites/{siteId}/rules
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Request body

configurationobject required
namestring required
rule_typestring required
severity'info' | 'warning' | 'failure' | 'critical'

Response

Rule created

Changes

No recorded changes to this operation across all 1 revision of this API.