From 6b1ae1dbf001b8ee0ef1442e9e1db165b1a5079a Mon Sep 17 00:00:00 2001 From: Tony Murray Date: Fri, 9 Sep 2022 15:05:37 -0500 Subject: [PATCH] Do not allow sysDescr to be fetched in os module yaml (#14331) It has already been fetched, use sysDescr_regex --- misc/discovery_schema.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/misc/discovery_schema.json b/misc/discovery_schema.json index ad11cc95d9..279dc5bae4 100644 --- a/misc/discovery_schema.json +++ b/misc/discovery_schema.json @@ -365,7 +365,8 @@ "oids": { "type": ["string", "array"], "items": { - "type": "string" + "type": "string", + "pattern": "^((?!sysDescr\\.0|1\\.3\\.6\\.1\\.2\\.1\\.1\\.1\\.0).)*$" } }, "pre-cache": {