rule response

This commit is contained in:
Hemachandar committed 2026-01-27 19:58:41 +05:30
1 parent d1c0af0908
commit 4582994e3b
1 file changed
+13
@@ -103,6 +103,19 @@ class Rule extends Model
'example' => APP_DATABASE_ATTRIBUTE_DATETIME,
'array' => false,
])
->addRule('actions', [
'type' => self::TYPE_ARRAY,
'description' => 'Additional actions required from the user when rule status is "action_required"',
'default' => [],
'example' => [
[
'challengeType' => 'managed-dns',
'recordType' => 'CNAME',
'recordName' => '_acme-challenge',
'recordValue' => 'test.fastly-validations.com',
],
],
])
;
}