diff --git a/docs/rules/security-defined.md b/docs/rules/security-defined.md index b32ce4dd5..16ef1ab55 100644 --- a/docs/rules/security-defined.md +++ b/docs/rules/security-defined.md @@ -34,9 +34,17 @@ security: [] ## Configuration -| Option | Type | Description | -| -------- | ------ | ------------------------------------------------------------------------------------------ | -| severity | string | Possible values: `off`, `warn`, `error`. Default `error` (in `recommended` configuration). | +| Option | Type | Description | +| ---------- | --------------------------------------- | ------------------------------------------------------------------------------------------ | +| severity | string | Possible values: `off`, `warn`, `error`. Default `error` (in `recommended` configuration). | +| exceptions | [[Exception object](#exception-object)] | List of exceptions from the rule. | + +### Exception object + +| Option | Type | Description | +| ------- | -------- | ------------------------------------------------------------------------------------------- | +| path | string | **REQUIRED.** Excluded path. | +| methods | [string] | Optional list of operations to exclude. If not provided, the entire path is being excluded. | An example configuration: