From 963dbcf5c3f3794e4fab7d44446abe6426874243 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 16 Nov 2026 07:19:40 +0000 Subject: [PATCH] [create-pull-request] automated change --- src/cfengine_cli/syntax-description.json | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/src/cfengine_cli/syntax-description.json b/src/cfengine_cli/syntax-description.json index baf26eb..8323fd7 100644 --- a/src/cfengine_cli/syntax-description.json +++ b/src/cfengine_cli/syntax-description.json @@ -5226,6 +5226,28 @@ "status": "normal", "variadic": true }, + "isvalidip": { + "cached": false, + "category": "communication", + "collecting": false, + "maxArgs": 2, + "minArgs": 1, + "parameters": [ + { + "description": "String to validate as an IP address", + "range": ".*", + "type": "string" + }, + { + "description": "Only accept this IP version", + "range": "ipv4,ipv6", + "type": "option" + } + ], + "returnType": "context", + "status": "normal", + "variadic": true + }, "isvariable": { "cached": false, "category": "utils",