Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/rulesets/generated/spectral/az-arm.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down