diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 7e7a3fb1..7d50ccbf 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -43,6 +43,10 @@ jobs: - name: rush regen-ruleindex run: node common/scripts/install-run-rush.js regen-ruleindex + - name: Verify generated files are up-to-date + run: git diff --exit-code + shell: bash + - name: rush pack if: contains(matrix.os, 'ubuntu') run: node common/scripts/install-run-rush.js pack diff --git a/packages/rulesets/generated/spectral/az-arm.js b/packages/rulesets/generated/spectral/az-arm.js index a18cd4cc..5c6b2ac1 100644 --- a/packages/rulesets/generated/spectral/az-arm.js +++ b/packages/rulesets/generated/spectral/az-arm.js @@ -3783,7 +3783,7 @@ const ruleset = { description: `When defining the response model for an ARM PUT/GET/POST operation, any property that contains sensitive information (such as passwords, keys, tokens, credentials, or other secrets) must include the "x-ms-secret": true annotation. This ensures that secrets are properly identified and handled according to ARM security guidelines.`, message: "{{error}}", severity: "error", - resolved: false, + resolved: true, given: ["$.definitions.*.properties"], then: { function: XMSSecretInResponse,