From 400972e290c97f217cdf9b07189d217278c088af Mon Sep 17 00:00:00 2001 From: Tejaswi Salaigari Date: Mon, 9 Sep 2024 16:35:18 -0500 Subject: [PATCH] diabled rule TagsAreNotAllowedForProxyResources (#744) --- packages/rulesets/generated/spectral/az-arm.js | 1 + packages/rulesets/package.json | 2 +- packages/rulesets/src/spectral/az-arm.ts | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/rulesets/generated/spectral/az-arm.js b/packages/rulesets/generated/spectral/az-arm.js index 3d23960a..f608cafb 100644 --- a/packages/rulesets/generated/spectral/az-arm.js +++ b/packages/rulesets/generated/spectral/az-arm.js @@ -3700,6 +3700,7 @@ const ruleset = { rpcGuidelineCode: "RPC-Put-V1-31", description: "Tags should not be specified in the properties bag for proxy resources. Consider using a Tracked resource instead.", severity: "error", + stagingOnly: true, message: "{{error}}", resolved: true, formats: [oas2], diff --git a/packages/rulesets/package.json b/packages/rulesets/package.json index 68413e39..daa7192f 100644 --- a/packages/rulesets/package.json +++ b/packages/rulesets/package.json @@ -1,6 +1,6 @@ { "name": "@microsoft.azure/openapi-validator-rulesets", - "version": "2.1.2", + "version": "2.1.3", "description": "Azure OpenAPI Validator", "main": "dist/index.js", "scripts": { diff --git a/packages/rulesets/src/spectral/az-arm.ts b/packages/rulesets/src/spectral/az-arm.ts index 2505d461..3f62bf20 100644 --- a/packages/rulesets/src/spectral/az-arm.ts +++ b/packages/rulesets/src/spectral/az-arm.ts @@ -742,6 +742,7 @@ const ruleset: any = { rpcGuidelineCode: "RPC-Put-V1-31", description: "Tags should not be specified in the properties bag for proxy resources. Consider using a Tracked resource instead.", severity: "error", + stagingOnly: true, message: "{{error}}", resolved: true, formats: [oas2],