From d7aabf2c0ebf83752722c4548ccb924b91c300cf Mon Sep 17 00:00:00 2001 From: GalGoldi72 Date: Tue, 2 Jun 2026 17:07:11 +0300 Subject: [PATCH 1/3] Add SQL Vulnerability Assessment commands for Microsoft.Security 2026-04-01-preview Adds atomic commands for 'az security va sql' based on TypeSpec PR Azure/azure-rest-api-specs#41888. Commands added: - security va sql {create, delete, show, update} # settings - security va sql baseline {add, create, delete, list, show, update} - security va sql results {list, show} - security va sql scans {initiate-scan, list, show} - security va sql scans scan-operation-result show Single --resource-id argument replaces previous multi-arg combination. All commands tagged Preview. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- Commands/security/readme.md | 3 + Commands/security/va/readme.md | 8 + Commands/security/va/sql/_create.md | 9 + Commands/security/va/sql/_delete.md | 9 + Commands/security/va/sql/_show.md | 9 + Commands/security/va/sql/_update.md | 9 + Commands/security/va/sql/baseline/_add.md | 9 + Commands/security/va/sql/baseline/_create.md | 9 + Commands/security/va/sql/baseline/_delete.md | 9 + Commands/security/va/sql/baseline/_list.md | 9 + Commands/security/va/sql/baseline/_show.md | 9 + Commands/security/va/sql/baseline/_update.md | 9 + Commands/security/va/sql/baseline/readme.md | 23 + Commands/security/va/sql/readme.md | 28 ++ Commands/security/va/sql/results/_list.md | 9 + Commands/security/va/sql/results/_show.md | 9 + Commands/security/va/sql/results/readme.md | 11 + .../security/va/sql/scans/_initiate-scan.md | 9 + Commands/security/va/sql/scans/_list.md | 9 + Commands/security/va/sql/scans/_show.md | 9 + Commands/security/va/sql/scans/readme.md | 19 + .../sql/scans/scan-operation-result/_show.md | 9 + .../sql/scans/scan-operation-result/readme.md | 8 + .../2026-04-01-preview.json | 1 + .../2026-04-01-preview.xml | 372 ++++++++++++++++ .../2026-04-01-preview.json | 1 + .../2026-04-01-preview.xml | 199 +++++++++ .../2026-04-01-preview.json | 1 + .../2026-04-01-preview.xml | 402 ++++++++++++++++++ .../2026-04-01-preview.json | 1 + .../2026-04-01-preview.xml | 108 +++++ .../2026-04-01-preview.json | 1 + .../2026-04-01-preview.xml | 88 ++++ .../2026-04-01-preview.json | 1 + .../2026-04-01-preview.xml | 83 ++++ .../2026-04-01-preview.json | 1 + .../2026-04-01-preview.xml | 107 +++++ .../2026-04-01-preview.json | 1 + .../2026-04-01-preview.xml | 177 ++++++++ .../2026-04-01-preview.json | 1 + .../2026-04-01-preview.xml | 176 ++++++++ 41 files changed, 1965 insertions(+) create mode 100644 Commands/security/va/readme.md create mode 100644 Commands/security/va/sql/_create.md create mode 100644 Commands/security/va/sql/_delete.md create mode 100644 Commands/security/va/sql/_show.md create mode 100644 Commands/security/va/sql/_update.md create mode 100644 Commands/security/va/sql/baseline/_add.md create mode 100644 Commands/security/va/sql/baseline/_create.md create mode 100644 Commands/security/va/sql/baseline/_delete.md create mode 100644 Commands/security/va/sql/baseline/_list.md create mode 100644 Commands/security/va/sql/baseline/_show.md create mode 100644 Commands/security/va/sql/baseline/_update.md create mode 100644 Commands/security/va/sql/baseline/readme.md create mode 100644 Commands/security/va/sql/readme.md create mode 100644 Commands/security/va/sql/results/_list.md create mode 100644 Commands/security/va/sql/results/_show.md create mode 100644 Commands/security/va/sql/results/readme.md create mode 100644 Commands/security/va/sql/scans/_initiate-scan.md create mode 100644 Commands/security/va/sql/scans/_list.md create mode 100644 Commands/security/va/sql/scans/_show.md create mode 100644 Commands/security/va/sql/scans/readme.md create mode 100644 Commands/security/va/sql/scans/scan-operation-result/_show.md create mode 100644 Commands/security/va/sql/scans/scan-operation-result/readme.md create mode 100644 Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0/2026-04-01-preview.json create mode 100644 Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0/2026-04-01-preview.xml create mode 100644 Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L2Jhc2VsaW5lcnVsZXM=/2026-04-01-preview.json create mode 100644 Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L2Jhc2VsaW5lcnVsZXM=/2026-04-01-preview.xml create mode 100644 Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L2Jhc2VsaW5lcnVsZXMve30=/2026-04-01-preview.json create mode 100644 Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L2Jhc2VsaW5lcnVsZXMve30=/2026-04-01-preview.xml create mode 100644 Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5z/2026-04-01-preview.json create mode 100644 Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5z/2026-04-01-preview.xml create mode 100644 Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5zL2luaXRpYXRlc2Nhbg==/2026-04-01-preview.json create mode 100644 Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5zL2luaXRpYXRlc2Nhbg==/2026-04-01-preview.xml create mode 100644 Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5zL3NjYW5vcGVyYXRpb25yZXN1bHRzL3t9/2026-04-01-preview.json create mode 100644 Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5zL3NjYW5vcGVyYXRpb25yZXN1bHRzL3t9/2026-04-01-preview.xml create mode 100644 Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5zL3t9/2026-04-01-preview.json create mode 100644 Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5zL3t9/2026-04-01-preview.xml create mode 100644 Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5zL3t9L3NjYW5yZXN1bHRz/2026-04-01-preview.json create mode 100644 Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5zL3t9L3NjYW5yZXN1bHRz/2026-04-01-preview.xml create mode 100644 Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5zL3t9L3NjYW5yZXN1bHRzL3t9/2026-04-01-preview.json create mode 100644 Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5zL3t9L3NjYW5yZXN1bHRzL3t9/2026-04-01-preview.xml diff --git a/Commands/security/readme.md b/Commands/security/readme.md index b4a3b781e..be20838ac 100644 --- a/Commands/security/readme.md +++ b/Commands/security/readme.md @@ -15,3 +15,6 @@ Manage your security posture with Microsoft Defender for Cloud. - [setting](/Commands/security/setting/readme.md) : View your security settings. + +- [va](/Commands/security/va/readme.md) +: Manage Defender for Cloud vulnerability assessment. diff --git a/Commands/security/va/readme.md b/Commands/security/va/readme.md new file mode 100644 index 000000000..2fa1a0884 --- /dev/null +++ b/Commands/security/va/readme.md @@ -0,0 +1,8 @@ +# [Group] _security va_ + +Manage Defender for Cloud vulnerability assessment. + +## Subgroups + +- [sql](/Commands/security/va/sql/readme.md) +: Manage Defender for Cloud vulnerability assessment. diff --git a/Commands/security/va/sql/_create.md b/Commands/security/va/sql/_create.md new file mode 100644 index 000000000..2e9b502c8 --- /dev/null +++ b/Commands/security/va/sql/_create.md @@ -0,0 +1,9 @@ +# [Command] _security va sql create_ + +Create the SQL Vulnerability Assessment settings. + +## Versions + +### [2026-04-01-preview](/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0/2026-04-01-preview.xml) **Preview** + + diff --git a/Commands/security/va/sql/_delete.md b/Commands/security/va/sql/_delete.md new file mode 100644 index 000000000..4d256bdcc --- /dev/null +++ b/Commands/security/va/sql/_delete.md @@ -0,0 +1,9 @@ +# [Command] _security va sql delete_ + +Delete the SQL Vulnerability Assessment settings. + +## Versions + +### [2026-04-01-preview](/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0/2026-04-01-preview.xml) **Preview** + + diff --git a/Commands/security/va/sql/_show.md b/Commands/security/va/sql/_show.md new file mode 100644 index 000000000..0c3fa1313 --- /dev/null +++ b/Commands/security/va/sql/_show.md @@ -0,0 +1,9 @@ +# [Command] _security va sql show_ + +Get the SQL Vulnerability Assessment settings. + +## Versions + +### [2026-04-01-preview](/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0/2026-04-01-preview.xml) **Preview** + + diff --git a/Commands/security/va/sql/_update.md b/Commands/security/va/sql/_update.md new file mode 100644 index 000000000..c19737edf --- /dev/null +++ b/Commands/security/va/sql/_update.md @@ -0,0 +1,9 @@ +# [Command] _security va sql update_ + +Update the SQL Vulnerability Assessment settings. + +## Versions + +### [2026-04-01-preview](/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0/2026-04-01-preview.xml) **Preview** + + diff --git a/Commands/security/va/sql/baseline/_add.md b/Commands/security/va/sql/baseline/_add.md new file mode 100644 index 000000000..74aaffc13 --- /dev/null +++ b/Commands/security/va/sql/baseline/_add.md @@ -0,0 +1,9 @@ +# [Command] _security va sql baseline add_ + +Set a list of baseline rules. Will overwrite any previously existing results (for all rules). + +## Versions + +### [2026-04-01-preview](/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L2Jhc2VsaW5lcnVsZXM=/2026-04-01-preview.xml) **Preview** + + diff --git a/Commands/security/va/sql/baseline/_create.md b/Commands/security/va/sql/baseline/_create.md new file mode 100644 index 000000000..b28b55efa --- /dev/null +++ b/Commands/security/va/sql/baseline/_create.md @@ -0,0 +1,9 @@ +# [Command] _security va sql baseline create_ + +Create a Baseline for a rule in a database. Will overwrite any previously existing results. + +## Versions + +### [2026-04-01-preview](/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L2Jhc2VsaW5lcnVsZXMve30=/2026-04-01-preview.xml) **Preview** + + diff --git a/Commands/security/va/sql/baseline/_delete.md b/Commands/security/va/sql/baseline/_delete.md new file mode 100644 index 000000000..0b110c968 --- /dev/null +++ b/Commands/security/va/sql/baseline/_delete.md @@ -0,0 +1,9 @@ +# [Command] _security va sql baseline delete_ + +Delete a rule from the Baseline of a given database. + +## Versions + +### [2026-04-01-preview](/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L2Jhc2VsaW5lcnVsZXMve30=/2026-04-01-preview.xml) **Preview** + + diff --git a/Commands/security/va/sql/baseline/_list.md b/Commands/security/va/sql/baseline/_list.md new file mode 100644 index 000000000..226c97f3d --- /dev/null +++ b/Commands/security/va/sql/baseline/_list.md @@ -0,0 +1,9 @@ +# [Command] _security va sql baseline list_ + +List the results for all rules in the Baseline. + +## Versions + +### [2026-04-01-preview](/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L2Jhc2VsaW5lcnVsZXM=/2026-04-01-preview.xml) **Preview** + + diff --git a/Commands/security/va/sql/baseline/_show.md b/Commands/security/va/sql/baseline/_show.md new file mode 100644 index 000000000..572f5c13f --- /dev/null +++ b/Commands/security/va/sql/baseline/_show.md @@ -0,0 +1,9 @@ +# [Command] _security va sql baseline show_ + +Get the results for a given rule in the Baseline. + +## Versions + +### [2026-04-01-preview](/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L2Jhc2VsaW5lcnVsZXMve30=/2026-04-01-preview.xml) **Preview** + + diff --git a/Commands/security/va/sql/baseline/_update.md b/Commands/security/va/sql/baseline/_update.md new file mode 100644 index 000000000..7c786eb75 --- /dev/null +++ b/Commands/security/va/sql/baseline/_update.md @@ -0,0 +1,9 @@ +# [Command] _security va sql baseline update_ + +Update a Baseline for a rule in a database. Will overwrite any previously existing results. + +## Versions + +### [2026-04-01-preview](/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L2Jhc2VsaW5lcnVsZXMve30=/2026-04-01-preview.xml) **Preview** + + diff --git a/Commands/security/va/sql/baseline/readme.md b/Commands/security/va/sql/baseline/readme.md new file mode 100644 index 000000000..3bc98deb6 --- /dev/null +++ b/Commands/security/va/sql/baseline/readme.md @@ -0,0 +1,23 @@ +# [Group] _security va sql baseline_ + +View and manage Sql Vulnerability Assessment baseline. + +## Commands + +- [add](/Commands/security/va/sql/baseline/_add.md) +: Set a list of baseline rules. Will overwrite any previously existing results (for all rules). + +- [create](/Commands/security/va/sql/baseline/_create.md) +: Create a Baseline for a rule in a database. Will overwrite any previously existing results. + +- [delete](/Commands/security/va/sql/baseline/_delete.md) +: Delete a rule from the Baseline of a given database. + +- [list](/Commands/security/va/sql/baseline/_list.md) +: List the results for all rules in the Baseline. + +- [show](/Commands/security/va/sql/baseline/_show.md) +: Get the results for a given rule in the Baseline. + +- [update](/Commands/security/va/sql/baseline/_update.md) +: Update a Baseline for a rule in a database. Will overwrite any previously existing results. diff --git a/Commands/security/va/sql/readme.md b/Commands/security/va/sql/readme.md new file mode 100644 index 000000000..c77011e70 --- /dev/null +++ b/Commands/security/va/sql/readme.md @@ -0,0 +1,28 @@ +# [Group] _security va sql_ + +Manage Defender for Cloud vulnerability assessment. + +## Subgroups + +- [baseline](/Commands/security/va/sql/baseline/readme.md) +: View and manage Sql Vulnerability Assessment baseline. + +- [results](/Commands/security/va/sql/results/readme.md) +: View Sql Vulnerability Assessment scan results. + +- [scans](/Commands/security/va/sql/scans/readme.md) +: View Sql Vulnerability Assessment scan summaries. + +## Commands + +- [create](/Commands/security/va/sql/_create.md) +: Create the SQL Vulnerability Assessment settings. + +- [delete](/Commands/security/va/sql/_delete.md) +: Delete the SQL Vulnerability Assessment settings. + +- [show](/Commands/security/va/sql/_show.md) +: Get the SQL Vulnerability Assessment settings. + +- [update](/Commands/security/va/sql/_update.md) +: Update the SQL Vulnerability Assessment settings. diff --git a/Commands/security/va/sql/results/_list.md b/Commands/security/va/sql/results/_list.md new file mode 100644 index 000000000..3d0cf7503 --- /dev/null +++ b/Commands/security/va/sql/results/_list.md @@ -0,0 +1,9 @@ +# [Command] _security va sql results list_ + +List a list of scan results for a single scan record. + +## Versions + +### [2026-04-01-preview](/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5zL3t9L3NjYW5yZXN1bHRz/2026-04-01-preview.xml) **Preview** + + diff --git a/Commands/security/va/sql/results/_show.md b/Commands/security/va/sql/results/_show.md new file mode 100644 index 000000000..a16ba3767 --- /dev/null +++ b/Commands/security/va/sql/results/_show.md @@ -0,0 +1,9 @@ +# [Command] _security va sql results show_ + +Get the scan results of a single rule in a scan record. + +## Versions + +### [2026-04-01-preview](/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5zL3t9L3NjYW5yZXN1bHRzL3t9/2026-04-01-preview.xml) **Preview** + + diff --git a/Commands/security/va/sql/results/readme.md b/Commands/security/va/sql/results/readme.md new file mode 100644 index 000000000..dfe349e8f --- /dev/null +++ b/Commands/security/va/sql/results/readme.md @@ -0,0 +1,11 @@ +# [Group] _security va sql results_ + +View Sql Vulnerability Assessment scan results. + +## Commands + +- [list](/Commands/security/va/sql/results/_list.md) +: List a list of scan results for a single scan record. + +- [show](/Commands/security/va/sql/results/_show.md) +: Get the scan results of a single rule in a scan record. diff --git a/Commands/security/va/sql/scans/_initiate-scan.md b/Commands/security/va/sql/scans/_initiate-scan.md new file mode 100644 index 000000000..3951d92ac --- /dev/null +++ b/Commands/security/va/sql/scans/_initiate-scan.md @@ -0,0 +1,9 @@ +# [Command] _security va sql scans initiate-scan_ + +Initiates a vulnerability assessment scan. + +## Versions + +### [2026-04-01-preview](/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5zL2luaXRpYXRlc2Nhbg==/2026-04-01-preview.xml) **Preview** + + diff --git a/Commands/security/va/sql/scans/_list.md b/Commands/security/va/sql/scans/_list.md new file mode 100644 index 000000000..92d9cf53e --- /dev/null +++ b/Commands/security/va/sql/scans/_list.md @@ -0,0 +1,9 @@ +# [Command] _security va sql scans list_ + +List a list of scan records. + +## Versions + +### [2026-04-01-preview](/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5z/2026-04-01-preview.xml) **Preview** + + diff --git a/Commands/security/va/sql/scans/_show.md b/Commands/security/va/sql/scans/_show.md new file mode 100644 index 000000000..e33b4c3a0 --- /dev/null +++ b/Commands/security/va/sql/scans/_show.md @@ -0,0 +1,9 @@ +# [Command] _security va sql scans show_ + +Get the scan details of a single scan record. + +## Versions + +### [2026-04-01-preview](/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5zL3t9/2026-04-01-preview.xml) **Preview** + + diff --git a/Commands/security/va/sql/scans/readme.md b/Commands/security/va/sql/scans/readme.md new file mode 100644 index 000000000..224221119 --- /dev/null +++ b/Commands/security/va/sql/scans/readme.md @@ -0,0 +1,19 @@ +# [Group] _security va sql scans_ + +View Sql Vulnerability Assessment scan summaries. + +## Subgroups + +- [scan-operation-result](/Commands/security/va/sql/scans/scan-operation-result/readme.md) +: Manage Scan Operation Result + +## Commands + +- [initiate-scan](/Commands/security/va/sql/scans/_initiate-scan.md) +: Initiates a vulnerability assessment scan. + +- [list](/Commands/security/va/sql/scans/_list.md) +: List a list of scan records. + +- [show](/Commands/security/va/sql/scans/_show.md) +: Get the scan details of a single scan record. diff --git a/Commands/security/va/sql/scans/scan-operation-result/_show.md b/Commands/security/va/sql/scans/scan-operation-result/_show.md new file mode 100644 index 000000000..33134df3c --- /dev/null +++ b/Commands/security/va/sql/scans/scan-operation-result/_show.md @@ -0,0 +1,9 @@ +# [Command] _security va sql scans scan-operation-result show_ + +Get the result of a scan operation initiated by the InitiateScan action. + +## Versions + +### [2026-04-01-preview](/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5zL3NjYW5vcGVyYXRpb25yZXN1bHRzL3t9/2026-04-01-preview.xml) **Preview** + + diff --git a/Commands/security/va/sql/scans/scan-operation-result/readme.md b/Commands/security/va/sql/scans/scan-operation-result/readme.md new file mode 100644 index 000000000..642e53edf --- /dev/null +++ b/Commands/security/va/sql/scans/scan-operation-result/readme.md @@ -0,0 +1,8 @@ +# [Group] _security va sql scans scan-operation-result_ + +Manage Scan Operation Result + +## Commands + +- [show](/Commands/security/va/sql/scans/scan-operation-result/_show.md) +: Get the result of a scan operation initiated by the InitiateScan action. diff --git a/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0/2026-04-01-preview.json b/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0/2026-04-01-preview.json new file mode 100644 index 000000000..a8b7ec224 --- /dev/null +++ b/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0/2026-04-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/{resourceid}/providers/microsoft.security/sqlvulnerabilityassessments/default", "version": "2026-04-01-preview", "swagger": "mgmt-plane/security/ResourceProviders/SqlVulnerabilityAssessmentsAPI/Paths/L3tyZXNvdXJjZUlkfS9wcm92aWRlcnMvTWljcm9zb2Z0LlNlY3VyaXR5L3NxbFZ1bG5lcmFiaWxpdHlBc3Nlc3NtZW50cy9kZWZhdWx0/V/MjAyNi0wNC0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "security va sql", "commands": [{"name": "show", "version": "2026-04-01-preview", "resources": [{"id": "/{resourceid}/providers/microsoft.security/sqlvulnerabilityassessments/default", "version": "2026-04-01-preview", "swagger": "mgmt-plane/security/ResourceProviders/SqlVulnerabilityAssessmentsAPI/Paths/L3tyZXNvdXJjZUlkfS9wcm92aWRlcnMvTWljcm9zb2Z0LlNlY3VyaXR5L3NxbFZ1bG5lcmFiaWxpdHlBc3Nlc3NtZW50cy9kZWZhdWx0/V/MjAyNi0wNC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.resourceId", "options": ["resource-id"], "required": true, "help": {"short": "The fully qualified Azure Resource manager identifier of the resource."}}]}], "operations": [{"operationId": "SqlVulnerabilityAssessmentSettingsOperationGroup_Get", "http": {"path": "/{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceId", "arg": "$Path.resourceId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-04-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "dateTime", "name": "creationTime"}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"readOnly": true, "type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2026-04-01-preview", "resources": [{"id": "/{resourceid}/providers/microsoft.security/sqlvulnerabilityassessments/default", "version": "2026-04-01-preview", "swagger": "mgmt-plane/security/ResourceProviders/SqlVulnerabilityAssessmentsAPI/Paths/L3tyZXNvdXJjZUlkfS9wcm92aWRlcnMvTWljcm9zb2Z0LlNlY3VyaXR5L3NxbFZ1bG5lcmFiaWxpdHlBc3Nlc3NtZW50cy9kZWZhdWx0/V/MjAyNi0wNC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.resourceId", "options": ["resource-id"], "required": true, "help": {"short": "The fully qualified Azure Resource manager identifier of the resource."}}]}], "operations": [{"operationId": "SqlVulnerabilityAssessmentSettingsOperationGroup_Delete", "http": {"path": "/{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "resourceId", "arg": "$Path.resourceId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-04-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"readOnly": true, "type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2026-04-01-preview", "resources": [{"id": "/{resourceid}/providers/microsoft.security/sqlvulnerabilityassessments/default", "version": "2026-04-01-preview", "swagger": "mgmt-plane/security/ResourceProviders/SqlVulnerabilityAssessmentsAPI/Paths/L3tyZXNvdXJjZUlkfS9wcm92aWRlcnMvTWljcm9zb2Z0LlNlY3VyaXR5L3NxbFZ1bG5lcmFiaWxpdHlBc3Nlc3NtZW50cy9kZWZhdWx0/V/MjAyNi0wNC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.resourceId", "options": ["resource-id"], "required": true, "help": {"short": "The fully qualified Azure Resource manager identifier of the resource."}}]}, {"name": "Properties", "args": [{"type": "string", "var": "$resource.properties.state", "options": ["state"], "group": "Properties", "help": {"short": "Represents the state of a SQL Vulnerability Assessment."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}], "operations": [{"operationId": "SqlVulnerabilityAssessmentSettingsOperationGroup_CreateOrUpdate", "http": {"path": "/{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceId", "arg": "$Path.resourceId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-04-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "resource", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "state", "arg": "$resource.properties.state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "dateTime", "name": "creationTime"}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"readOnly": true, "type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2026-04-01-preview", "resources": [{"id": "/{resourceid}/providers/microsoft.security/sqlvulnerabilityassessments/default", "version": "2026-04-01-preview", "swagger": "mgmt-plane/security/ResourceProviders/SqlVulnerabilityAssessmentsAPI/Paths/L3tyZXNvdXJjZUlkfS9wcm92aWRlcnMvTWljcm9zb2Z0LlNlY3VyaXR5L3NxbFZ1bG5lcmFiaWxpdHlBc3Nlc3NtZW50cy9kZWZhdWx0/V/MjAyNi0wNC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.resourceId", "options": ["resource-id"], "required": true, "help": {"short": "The fully qualified Azure Resource manager identifier of the resource."}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "string", "var": "$resource.properties.state", "options": ["state"], "group": "Properties", "help": {"short": "Represents the state of a SQL Vulnerability Assessment."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}], "operations": [{"operationId": "SqlVulnerabilityAssessmentSettingsOperationGroup_Get", "http": {"path": "/{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceId", "arg": "$Path.resourceId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-04-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "dateTime", "name": "creationTime"}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"readOnly": true, "type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "resource", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "state", "arg": "$resource.properties.state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}], "clientFlatten": true}}}}, {"operationId": "SqlVulnerabilityAssessmentSettingsOperationGroup_CreateOrUpdate", "http": {"path": "/{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceId", "arg": "$Path.resourceId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-04-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "dateTime", "name": "creationTime"}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"readOnly": true, "type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0/2026-04-01-preview.xml b/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0/2026-04-01-preview.xml new file mode 100644 index 000000000..166c9d599 --- /dev/null +++ b/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0/2026-04-01-preview.xml @@ -0,0 +1,372 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L2Jhc2VsaW5lcnVsZXM=/2026-04-01-preview.json b/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L2Jhc2VsaW5lcnVsZXM=/2026-04-01-preview.json new file mode 100644 index 000000000..ec480c7e4 --- /dev/null +++ b/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L2Jhc2VsaW5lcnVsZXM=/2026-04-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/{resourceid}/providers/microsoft.security/sqlvulnerabilityassessments/default/baselinerules", "version": "2026-04-01-preview", "swagger": "mgmt-plane/security/ResourceProviders/SqlVulnerabilityAssessmentsAPI/Paths/L3tyZXNvdXJjZUlkfS9wcm92aWRlcnMvTWljcm9zb2Z0LlNlY3VyaXR5L3NxbFZ1bG5lcmFiaWxpdHlBc3Nlc3NtZW50cy9kZWZhdWx0L2Jhc2VsaW5lUnVsZXM=/V/MjAyNi0wNC0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "security va sql baseline", "commands": [{"name": "list", "version": "2026-04-01-preview", "resources": [{"id": "/{resourceid}/providers/microsoft.security/sqlvulnerabilityassessments/default/baselinerules", "version": "2026-04-01-preview", "swagger": "mgmt-plane/security/ResourceProviders/SqlVulnerabilityAssessmentsAPI/Paths/L3tyZXNvdXJjZUlkfS9wcm92aWRlcnMvTWljcm9zb2Z0LlNlY3VyaXR5L3NxbFZ1bG5lcmFiaWxpdHlBc3Nlc3NtZW50cy9kZWZhdWx0L2Jhc2VsaW5lUnVsZXM=/V/MjAyNi0wNC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.resourceId", "options": ["resource-id"], "required": true, "help": {"short": "The fully qualified Azure Resource manager identifier of the resource."}}, {"type": "string", "var": "$Query.databaseName", "options": ["database-name"], "help": {"short": "The name of the database to assess. Required when the API is called on the parent resource (e.g., server level) rather than on a specific database resource, since the database name is not part of the resource URI. This is the only way to assess system databases (e.g., master), which cannot be referenced directly in the resource URI."}}]}], "operations": [{"operationId": "SqlVulnerabilityAssessmentBaselineRules_List", "http": {"path": "/{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/baselineRules", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceId", "arg": "$Path.resourceId", "required": true}]}, "query": {"params": [{"type": "string", "name": "databaseName", "arg": "$Query.databaseName"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2026-04-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "latestScan"}, {"type": "array>", "name": "results", "item": {"type": "array", "item": {"type": "string"}}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"readOnly": true, "type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}, {"name": "add", "version": "2026-04-01-preview", "resources": [{"id": "/{resourceid}/providers/microsoft.security/sqlvulnerabilityassessments/default/baselinerules", "version": "2026-04-01-preview", "swagger": "mgmt-plane/security/ResourceProviders/SqlVulnerabilityAssessmentsAPI/Paths/L3tyZXNvdXJjZUlkfS9wcm92aWRlcnMvTWljcm9zb2Z0LlNlY3VyaXR5L3NxbFZ1bG5lcmFiaWxpdHlBc3Nlc3NtZW50cy9kZWZhdWx0L2Jhc2VsaW5lUnVsZXM=/V/MjAyNi0wNC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.resourceId", "options": ["resource-id"], "required": true, "help": {"short": "The fully qualified Azure Resource manager identifier of the resource."}}, {"type": "string", "var": "$Query.databaseName", "options": ["database-name"], "help": {"short": "The name of the database to assess. Required when the API is called on the parent resource (e.g., server level) rather than on a specific database resource, since the database name is not part of the resource URI. This is the only way to assess system databases (e.g., master), which cannot be referenced directly in the resource URI."}}]}, {"name": "Body", "args": [{"type": "boolean", "var": "$body.latestScan", "options": ["latest-scan"], "group": "Body", "help": {"short": "Take results from latest scan."}}, {"type": "object", "var": "$body.results", "options": ["results"], "group": "Body", "help": {"short": "Expected results to be inserted into the baseline. Leave this field empty if latestScan == true."}, "additionalProps": {"item": {"type": "array>", "item": {"type": "array", "item": {"type": "string"}}}}}]}], "operations": [{"operationId": "SqlVulnerabilityAssessmentBaselineRules_Add", "http": {"path": "/{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/baselineRules", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "resourceId", "arg": "$Path.resourceId", "required": true}]}, "query": {"params": [{"type": "string", "name": "databaseName", "arg": "$Query.databaseName"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2026-04-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "body", "props": [{"type": "boolean", "name": "latestScan", "arg": "$body.latestScan"}, {"type": "object", "name": "results", "arg": "$body.results", "additionalProps": {"item": {"type": "array>", "item": {"type": "array", "item": {"type": "string"}}}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "latestScan"}, {"type": "array>", "name": "results", "item": {"type": "array", "item": {"type": "string"}}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"readOnly": true, "type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L2Jhc2VsaW5lcnVsZXM=/2026-04-01-preview.xml b/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L2Jhc2VsaW5lcnVsZXM=/2026-04-01-preview.xml new file mode 100644 index 000000000..00468d95e --- /dev/null +++ b/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L2Jhc2VsaW5lcnVsZXM=/2026-04-01-preview.xml @@ -0,0 +1,199 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L2Jhc2VsaW5lcnVsZXMve30=/2026-04-01-preview.json b/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L2Jhc2VsaW5lcnVsZXMve30=/2026-04-01-preview.json new file mode 100644 index 000000000..5e938ee69 --- /dev/null +++ b/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L2Jhc2VsaW5lcnVsZXMve30=/2026-04-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/{resourceid}/providers/microsoft.security/sqlvulnerabilityassessments/default/baselinerules/{}", "version": "2026-04-01-preview", "swagger": "mgmt-plane/security/ResourceProviders/SqlVulnerabilityAssessmentsAPI/Paths/L3tyZXNvdXJjZUlkfS9wcm92aWRlcnMvTWljcm9zb2Z0LlNlY3VyaXR5L3NxbFZ1bG5lcmFiaWxpdHlBc3Nlc3NtZW50cy9kZWZhdWx0L2Jhc2VsaW5lUnVsZXMve3J1bGVJZH0=/V/MjAyNi0wNC0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "security va sql baseline", "commands": [{"name": "show", "version": "2026-04-01-preview", "resources": [{"id": "/{resourceid}/providers/microsoft.security/sqlvulnerabilityassessments/default/baselinerules/{}", "version": "2026-04-01-preview", "swagger": "mgmt-plane/security/ResourceProviders/SqlVulnerabilityAssessmentsAPI/Paths/L3tyZXNvdXJjZUlkfS9wcm92aWRlcnMvTWljcm9zb2Z0LlNlY3VyaXR5L3NxbFZ1bG5lcmFiaWxpdHlBc3Nlc3NtZW50cy9kZWZhdWx0L2Jhc2VsaW5lUnVsZXMve3J1bGVJZH0=/V/MjAyNi0wNC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.resourceId", "options": ["resource-id"], "required": true, "help": {"short": "The fully qualified Azure Resource manager identifier of the resource."}}, {"type": "string", "var": "$Path.ruleId", "options": ["rule-id"], "required": true, "help": {"short": "The rule Id."}}, {"type": "string", "var": "$Query.databaseName", "options": ["database-name"], "help": {"short": "The name of the database to assess. Required when the API is called on the parent resource (e.g., server level) rather than on a specific database resource, since the database name is not part of the resource URI. This is the only way to assess system databases (e.g., master), which cannot be referenced directly in the resource URI."}}]}], "operations": [{"operationId": "SqlVulnerabilityAssessmentBaselineRules_Get", "http": {"path": "/{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/baselineRules/{ruleId}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceId", "arg": "$Path.resourceId", "required": true}, {"type": "string", "name": "ruleId", "arg": "$Path.ruleId", "required": true}]}, "query": {"params": [{"type": "string", "name": "databaseName", "arg": "$Query.databaseName"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2026-04-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "latestScan"}, {"type": "array>", "name": "results", "item": {"type": "array", "item": {"type": "string"}}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"readOnly": true, "type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2026-04-01-preview", "resources": [{"id": "/{resourceid}/providers/microsoft.security/sqlvulnerabilityassessments/default/baselinerules/{}", "version": "2026-04-01-preview", "swagger": "mgmt-plane/security/ResourceProviders/SqlVulnerabilityAssessmentsAPI/Paths/L3tyZXNvdXJjZUlkfS9wcm92aWRlcnMvTWljcm9zb2Z0LlNlY3VyaXR5L3NxbFZ1bG5lcmFiaWxpdHlBc3Nlc3NtZW50cy9kZWZhdWx0L2Jhc2VsaW5lUnVsZXMve3J1bGVJZH0=/V/MjAyNi0wNC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.resourceId", "options": ["resource-id"], "required": true, "help": {"short": "The fully qualified Azure Resource manager identifier of the resource."}}, {"type": "string", "var": "$Path.ruleId", "options": ["rule-id"], "required": true, "help": {"short": "The rule Id."}}, {"type": "string", "var": "$Query.databaseName", "options": ["database-name"], "help": {"short": "The name of the database to assess. Required when the API is called on the parent resource (e.g., server level) rather than on a specific database resource, since the database name is not part of the resource URI. This is the only way to assess system databases (e.g., master), which cannot be referenced directly in the resource URI."}}]}], "operations": [{"operationId": "SqlVulnerabilityAssessmentBaselineRules_Delete", "http": {"path": "/{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/baselineRules/{ruleId}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "resourceId", "arg": "$Path.resourceId", "required": true}, {"type": "string", "name": "ruleId", "arg": "$Path.ruleId", "required": true}]}, "query": {"params": [{"type": "string", "name": "databaseName", "arg": "$Query.databaseName"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2026-04-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"readOnly": true, "type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2026-04-01-preview", "resources": [{"id": "/{resourceid}/providers/microsoft.security/sqlvulnerabilityassessments/default/baselinerules/{}", "version": "2026-04-01-preview", "swagger": "mgmt-plane/security/ResourceProviders/SqlVulnerabilityAssessmentsAPI/Paths/L3tyZXNvdXJjZUlkfS9wcm92aWRlcnMvTWljcm9zb2Z0LlNlY3VyaXR5L3NxbFZ1bG5lcmFiaWxpdHlBc3Nlc3NtZW50cy9kZWZhdWx0L2Jhc2VsaW5lUnVsZXMve3J1bGVJZH0=/V/MjAyNi0wNC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.resourceId", "options": ["resource-id"], "required": true, "help": {"short": "The fully qualified Azure Resource manager identifier of the resource."}}, {"type": "string", "var": "$Path.ruleId", "options": ["rule-id"], "required": true, "help": {"short": "The rule Id."}}, {"type": "string", "var": "$Query.databaseName", "options": ["database-name"], "help": {"short": "The name of the database to assess. Required when the API is called on the parent resource (e.g., server level) rather than on a specific database resource, since the database name is not part of the resource URI. This is the only way to assess system databases (e.g., master), which cannot be referenced directly in the resource URI."}}]}, {"name": "Resource", "args": [{"type": "boolean", "var": "$resource.latestScan", "options": ["latest-scan"], "group": "Resource", "help": {"short": "Take results from latest scan."}}, {"type": "array>", "var": "$resource.results", "options": ["results"], "group": "Resource", "help": {"short": "Expected results to be inserted into the baseline. Leave this field empty if latestScan == true."}, "item": {"type": "array", "item": {"type": "string"}}}]}], "operations": [{"operationId": "SqlVulnerabilityAssessmentBaselineRules_CreateOrUpdate", "http": {"path": "/{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/baselineRules/{ruleId}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceId", "arg": "$Path.resourceId", "required": true}, {"type": "string", "name": "ruleId", "arg": "$Path.ruleId", "required": true}]}, "query": {"params": [{"type": "string", "name": "databaseName", "arg": "$Query.databaseName"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2026-04-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "resource", "props": [{"type": "boolean", "name": "latestScan", "arg": "$resource.latestScan"}, {"type": "array>", "name": "results", "arg": "$resource.results", "item": {"type": "array", "item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "latestScan"}, {"type": "array>", "name": "results", "item": {"type": "array", "item": {"type": "string"}}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"readOnly": true, "type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2026-04-01-preview", "resources": [{"id": "/{resourceid}/providers/microsoft.security/sqlvulnerabilityassessments/default/baselinerules/{}", "version": "2026-04-01-preview", "swagger": "mgmt-plane/security/ResourceProviders/SqlVulnerabilityAssessmentsAPI/Paths/L3tyZXNvdXJjZUlkfS9wcm92aWRlcnMvTWljcm9zb2Z0LlNlY3VyaXR5L3NxbFZ1bG5lcmFiaWxpdHlBc3Nlc3NtZW50cy9kZWZhdWx0L2Jhc2VsaW5lUnVsZXMve3J1bGVJZH0=/V/MjAyNi0wNC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.resourceId", "options": ["resource-id"], "required": true, "help": {"short": "The fully qualified Azure Resource manager identifier of the resource."}}, {"type": "string", "var": "$Path.ruleId", "options": ["rule-id"], "required": true, "help": {"short": "The rule Id."}}, {"type": "string", "var": "$Query.databaseName", "options": ["database-name"], "help": {"short": "The name of the database to assess. Required when the API is called on the parent resource (e.g., server level) rather than on a specific database resource, since the database name is not part of the resource URI. This is the only way to assess system databases (e.g., master), which cannot be referenced directly in the resource URI."}}]}, {"name": "Resource", "args": [{"nullable": true, "type": "boolean", "var": "$resource.latestScan", "options": ["latest-scan"], "group": "Resource", "help": {"short": "Take results from latest scan."}}, {"nullable": true, "type": "array>", "var": "$resource.results", "options": ["results"], "group": "Resource", "help": {"short": "Expected results to be inserted into the baseline. Leave this field empty if latestScan == true."}, "item": {"nullable": true, "type": "array", "item": {"nullable": true, "type": "string"}}}]}], "operations": [{"operationId": "SqlVulnerabilityAssessmentBaselineRules_Get", "http": {"path": "/{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/baselineRules/{ruleId}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceId", "arg": "$Path.resourceId", "required": true}, {"type": "string", "name": "ruleId", "arg": "$Path.ruleId", "required": true}]}, "query": {"params": [{"type": "string", "name": "databaseName", "arg": "$Query.databaseName"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2026-04-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "latestScan"}, {"type": "array>", "name": "results", "item": {"type": "array", "item": {"type": "string"}}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"readOnly": true, "type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "resource", "props": [{"type": "boolean", "name": "latestScan", "arg": "$resource.latestScan"}, {"type": "array>", "name": "results", "arg": "$resource.results", "item": {"type": "array", "item": {"type": "string"}}}], "clientFlatten": true}}}}, {"operationId": "SqlVulnerabilityAssessmentBaselineRules_CreateOrUpdate", "http": {"path": "/{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/baselineRules/{ruleId}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceId", "arg": "$Path.resourceId", "required": true}, {"type": "string", "name": "ruleId", "arg": "$Path.ruleId", "required": true}]}, "query": {"params": [{"type": "string", "name": "databaseName", "arg": "$Query.databaseName"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2026-04-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "latestScan"}, {"type": "array>", "name": "results", "item": {"type": "array", "item": {"type": "string"}}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"readOnly": true, "type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L2Jhc2VsaW5lcnVsZXMve30=/2026-04-01-preview.xml b/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L2Jhc2VsaW5lcnVsZXMve30=/2026-04-01-preview.xml new file mode 100644 index 000000000..8f9c6ffd6 --- /dev/null +++ b/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L2Jhc2VsaW5lcnVsZXMve30=/2026-04-01-preview.xml @@ -0,0 +1,402 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5z/2026-04-01-preview.json b/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5z/2026-04-01-preview.json new file mode 100644 index 000000000..a5a90acf3 --- /dev/null +++ b/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5z/2026-04-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/{resourceid}/providers/microsoft.security/sqlvulnerabilityassessments/default/scans", "version": "2026-04-01-preview", "swagger": "mgmt-plane/security/ResourceProviders/SqlVulnerabilityAssessmentsAPI/Paths/L3tyZXNvdXJjZUlkfS9wcm92aWRlcnMvTWljcm9zb2Z0LlNlY3VyaXR5L3NxbFZ1bG5lcmFiaWxpdHlBc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5z/V/MjAyNi0wNC0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "security va sql scans", "commands": [{"name": "list", "version": "2026-04-01-preview", "resources": [{"id": "/{resourceid}/providers/microsoft.security/sqlvulnerabilityassessments/default/scans", "version": "2026-04-01-preview", "swagger": "mgmt-plane/security/ResourceProviders/SqlVulnerabilityAssessmentsAPI/Paths/L3tyZXNvdXJjZUlkfS9wcm92aWRlcnMvTWljcm9zb2Z0LlNlY3VyaXR5L3NxbFZ1bG5lcmFiaWxpdHlBc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5z/V/MjAyNi0wNC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.resourceId", "options": ["resource-id"], "required": true, "help": {"short": "The fully qualified Azure Resource manager identifier of the resource."}}, {"type": "string", "var": "$Query.databaseName", "options": ["database-name"], "help": {"short": "The name of the database to assess. Required when the API is called on the parent resource (e.g., server level) rather than on a specific database resource, since the database name is not part of the resource URI. This is the only way to assess system databases (e.g., master), which cannot be referenced directly in the resource URI."}}]}], "operations": [{"operationId": "ScanV2s_List", "http": {"path": "/{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/scans", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceId", "arg": "$Path.resourceId", "required": true}]}, "query": {"params": [{"type": "string", "name": "databaseName", "arg": "$Query.databaseName"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2026-04-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "database"}, {"type": "dateTime", "name": "endTime"}, {"type": "integer32", "name": "highSeverityFailedRulesCount"}, {"type": "boolean", "name": "isBaselineApplied"}, {"type": "dateTime", "name": "lastScanTime"}, {"type": "integer32", "name": "lowSeverityFailedRulesCount"}, {"type": "integer32", "name": "mediumSeverityFailedRulesCount"}, {"type": "string", "name": "server"}, {"type": "string", "name": "sqlVersion"}, {"type": "dateTime", "name": "startTime"}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Failed"}, {"value": "FailedToRun"}, {"value": "InProgress"}, {"value": "Passed"}]}}, {"type": "integer32", "name": "totalFailedRulesCount"}, {"type": "integer32", "name": "totalPassedRulesCount"}, {"type": "integer32", "name": "totalRulesCount"}, {"type": "string", "name": "triggerType", "enum": {"items": [{"value": "OnDemand"}, {"value": "Recurring"}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"readOnly": true, "type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5z/2026-04-01-preview.xml b/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5z/2026-04-01-preview.xml new file mode 100644 index 000000000..ca69962c2 --- /dev/null +++ b/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5z/2026-04-01-preview.xml @@ -0,0 +1,108 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5zL2luaXRpYXRlc2Nhbg==/2026-04-01-preview.json b/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5zL2luaXRpYXRlc2Nhbg==/2026-04-01-preview.json new file mode 100644 index 000000000..2cf664ab9 --- /dev/null +++ b/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5zL2luaXRpYXRlc2Nhbg==/2026-04-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/{resourceid}/providers/microsoft.security/sqlvulnerabilityassessments/default/scans/initiatescan", "version": "2026-04-01-preview", "swagger": "mgmt-plane/security/ResourceProviders/SqlVulnerabilityAssessmentsAPI/Paths/L3tyZXNvdXJjZUlkfS9wcm92aWRlcnMvTWljcm9zb2Z0LlNlY3VyaXR5L3NxbFZ1bG5lcmFiaWxpdHlBc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5zL2luaXRpYXRlU2Nhbg==/V/MjAyNi0wNC0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "security va sql scans", "commands": [{"name": "initiate-scan", "version": "2026-04-01-preview", "resources": [{"id": "/{resourceid}/providers/microsoft.security/sqlvulnerabilityassessments/default/scans/initiatescan", "version": "2026-04-01-preview", "swagger": "mgmt-plane/security/ResourceProviders/SqlVulnerabilityAssessmentsAPI/Paths/L3tyZXNvdXJjZUlkfS9wcm92aWRlcnMvTWljcm9zb2Z0LlNlY3VyaXR5L3NxbFZ1bG5lcmFiaWxpdHlBc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5zL2luaXRpYXRlU2Nhbg==/V/MjAyNi0wNC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.resourceId", "options": ["resource-id"], "required": true}, {"type": "string", "var": "$Query.databaseName", "options": ["database-name"]}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "SqlVulnerabilityAssessmentSettingsOperationGroup_InitiateScan", "http": {"path": "/{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/scans/initiateScan", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "resourceId", "arg": "$Path.resourceId", "required": true}]}, "query": {"params": [{"type": "string", "name": "databaseName", "arg": "$Query.databaseName"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2026-04-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "operationId"}, {"type": "string", "name": "scanStatus", "enum": {"items": [{"value": "Failed"}, {"value": "FailedToRun"}, {"value": "InProgress"}, {"value": "Passed"}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"statusCode": [202], "header": {"items": [{"name": "Location"}, {"name": "Retry-After"}]}}, {"isError": true, "body": {"json": {"schema": {"readOnly": true, "type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5zL2luaXRpYXRlc2Nhbg==/2026-04-01-preview.xml b/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5zL2luaXRpYXRlc2Nhbg==/2026-04-01-preview.xml new file mode 100644 index 000000000..f127a0b21 --- /dev/null +++ b/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5zL2luaXRpYXRlc2Nhbg==/2026-04-01-preview.xml @@ -0,0 +1,88 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + + + + +
+
+ +
+
+
diff --git a/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5zL3NjYW5vcGVyYXRpb25yZXN1bHRzL3t9/2026-04-01-preview.json b/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5zL3NjYW5vcGVyYXRpb25yZXN1bHRzL3t9/2026-04-01-preview.json new file mode 100644 index 000000000..12739e9bb --- /dev/null +++ b/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5zL3NjYW5vcGVyYXRpb25yZXN1bHRzL3t9/2026-04-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/{resourceid}/providers/microsoft.security/sqlvulnerabilityassessments/default/scans/scanoperationresults/{}", "version": "2026-04-01-preview", "swagger": "mgmt-plane/security/ResourceProviders/SqlVulnerabilityAssessmentsAPI/Paths/L3tyZXNvdXJjZUlkfS9wcm92aWRlcnMvTWljcm9zb2Z0LlNlY3VyaXR5L3NxbFZ1bG5lcmFiaWxpdHlBc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5zL3NjYW5PcGVyYXRpb25SZXN1bHRzL3tvcGVyYXRpb25JZH0=/V/MjAyNi0wNC0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "security va sql scans scan-operation-result", "commands": [{"name": "show", "version": "2026-04-01-preview", "resources": [{"id": "/{resourceid}/providers/microsoft.security/sqlvulnerabilityassessments/default/scans/scanoperationresults/{}", "version": "2026-04-01-preview", "swagger": "mgmt-plane/security/ResourceProviders/SqlVulnerabilityAssessmentsAPI/Paths/L3tyZXNvdXJjZUlkfS9wcm92aWRlcnMvTWljcm9zb2Z0LlNlY3VyaXR5L3NxbFZ1bG5lcmFiaWxpdHlBc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5zL3NjYW5PcGVyYXRpb25SZXN1bHRzL3tvcGVyYXRpb25JZH0=/V/MjAyNi0wNC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.operationId", "options": ["operation-id"], "required": true}, {"type": "string", "var": "$Path.resourceId", "options": ["resource-id"], "required": true}, {"type": "string", "var": "$Query.databaseName", "options": ["database-name"]}]}], "operations": [{"operationId": "SqlVulnerabilityAssessmentSettingsOperationGroup_GetScanOperationResult", "http": {"path": "/{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/scans/scanOperationResults/{operationId}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "operationId", "arg": "$Path.operationId", "required": true}, {"type": "string", "name": "resourceId", "arg": "$Path.resourceId", "required": true}]}, "query": {"params": [{"type": "string", "name": "databaseName", "arg": "$Query.databaseName"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2026-04-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "operationId"}, {"type": "string", "name": "scanStatus", "enum": {"items": [{"value": "Failed"}, {"value": "FailedToRun"}, {"value": "InProgress"}, {"value": "Passed"}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"readOnly": true, "type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5zL3NjYW5vcGVyYXRpb25yZXN1bHRzL3t9/2026-04-01-preview.xml b/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5zL3NjYW5vcGVyYXRpb25yZXN1bHRzL3t9/2026-04-01-preview.xml new file mode 100644 index 000000000..f36136419 --- /dev/null +++ b/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5zL3NjYW5vcGVyYXRpb25yZXN1bHRzL3t9/2026-04-01-preview.xml @@ -0,0 +1,83 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5zL3t9/2026-04-01-preview.json b/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5zL3t9/2026-04-01-preview.json new file mode 100644 index 000000000..79c24b67a --- /dev/null +++ b/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5zL3t9/2026-04-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/{resourceid}/providers/microsoft.security/sqlvulnerabilityassessments/default/scans/{}", "version": "2026-04-01-preview", "swagger": "mgmt-plane/security/ResourceProviders/SqlVulnerabilityAssessmentsAPI/Paths/L3tyZXNvdXJjZUlkfS9wcm92aWRlcnMvTWljcm9zb2Z0LlNlY3VyaXR5L3NxbFZ1bG5lcmFiaWxpdHlBc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5zL3tzY2FuSWR9/V/MjAyNi0wNC0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "security va sql scans", "commands": [{"name": "show", "version": "2026-04-01-preview", "resources": [{"id": "/{resourceid}/providers/microsoft.security/sqlvulnerabilityassessments/default/scans/{}", "version": "2026-04-01-preview", "swagger": "mgmt-plane/security/ResourceProviders/SqlVulnerabilityAssessmentsAPI/Paths/L3tyZXNvdXJjZUlkfS9wcm92aWRlcnMvTWljcm9zb2Z0LlNlY3VyaXR5L3NxbFZ1bG5lcmFiaWxpdHlBc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5zL3tzY2FuSWR9/V/MjAyNi0wNC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.resourceId", "options": ["resource-id"], "required": true, "help": {"short": "The fully qualified Azure Resource manager identifier of the resource."}}, {"type": "string", "var": "$Path.scanId", "options": ["scan-id"], "required": true, "help": {"short": "The scan Id. Type 'latest' to get the scan record for the latest scan."}}, {"type": "string", "var": "$Query.databaseName", "options": ["database-name"], "help": {"short": "The name of the database to assess. Required when the API is called on the parent resource (e.g., server level) rather than on a specific database resource, since the database name is not part of the resource URI. This is the only way to assess system databases (e.g., master), which cannot be referenced directly in the resource URI."}}]}], "operations": [{"operationId": "ScanV2s_Get", "http": {"path": "/{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/scans/{scanId}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceId", "arg": "$Path.resourceId", "required": true}, {"type": "string", "name": "scanId", "arg": "$Path.scanId", "required": true}]}, "query": {"params": [{"type": "string", "name": "databaseName", "arg": "$Query.databaseName"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2026-04-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "database"}, {"type": "dateTime", "name": "endTime"}, {"type": "integer32", "name": "highSeverityFailedRulesCount"}, {"type": "boolean", "name": "isBaselineApplied"}, {"type": "dateTime", "name": "lastScanTime"}, {"type": "integer32", "name": "lowSeverityFailedRulesCount"}, {"type": "integer32", "name": "mediumSeverityFailedRulesCount"}, {"type": "string", "name": "server"}, {"type": "string", "name": "sqlVersion"}, {"type": "dateTime", "name": "startTime"}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Failed"}, {"value": "FailedToRun"}, {"value": "InProgress"}, {"value": "Passed"}]}}, {"type": "integer32", "name": "totalFailedRulesCount"}, {"type": "integer32", "name": "totalPassedRulesCount"}, {"type": "integer32", "name": "totalRulesCount"}, {"type": "string", "name": "triggerType", "enum": {"items": [{"value": "OnDemand"}, {"value": "Recurring"}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"readOnly": true, "type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5zL3t9/2026-04-01-preview.xml b/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5zL3t9/2026-04-01-preview.xml new file mode 100644 index 000000000..eb8a4e1d9 --- /dev/null +++ b/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5zL3t9/2026-04-01-preview.xml @@ -0,0 +1,107 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5zL3t9L3NjYW5yZXN1bHRz/2026-04-01-preview.json b/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5zL3t9L3NjYW5yZXN1bHRz/2026-04-01-preview.json new file mode 100644 index 000000000..686135474 --- /dev/null +++ b/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5zL3t9L3NjYW5yZXN1bHRz/2026-04-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/{resourceid}/providers/microsoft.security/sqlvulnerabilityassessments/default/scans/{}/scanresults", "version": "2026-04-01-preview", "swagger": "mgmt-plane/security/ResourceProviders/SqlVulnerabilityAssessmentsAPI/Paths/L3tyZXNvdXJjZUlkfS9wcm92aWRlcnMvTWljcm9zb2Z0LlNlY3VyaXR5L3NxbFZ1bG5lcmFiaWxpdHlBc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5zL3tzY2FuSWR9L3NjYW5SZXN1bHRz/V/MjAyNi0wNC0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "security va sql results", "commands": [{"name": "list", "version": "2026-04-01-preview", "resources": [{"id": "/{resourceid}/providers/microsoft.security/sqlvulnerabilityassessments/default/scans/{}/scanresults", "version": "2026-04-01-preview", "swagger": "mgmt-plane/security/ResourceProviders/SqlVulnerabilityAssessmentsAPI/Paths/L3tyZXNvdXJjZUlkfS9wcm92aWRlcnMvTWljcm9zb2Z0LlNlY3VyaXR5L3NxbFZ1bG5lcmFiaWxpdHlBc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5zL3tzY2FuSWR9L3NjYW5SZXN1bHRz/V/MjAyNi0wNC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.resourceId", "options": ["resource-id"], "required": true, "help": {"short": "The fully qualified Azure Resource manager identifier of the resource."}}, {"type": "string", "var": "$Path.scanId", "options": ["scan-id"], "required": true, "help": {"short": "The scan Id."}}, {"type": "string", "var": "$Query.databaseName", "options": ["database-name"], "help": {"short": "The name of the database to assess. Required when the API is called on the parent resource (e.g., server level) rather than on a specific database resource, since the database name is not part of the resource URI. This is the only way to assess system databases (e.g., master), which cannot be referenced directly in the resource URI."}}]}], "operations": [{"operationId": "SqlVulnerabilityAssessmentScanResults_List", "http": {"path": "/{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/scans/{scanId}/scanResults", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceId", "arg": "$Path.resourceId", "required": true}, {"type": "string", "name": "scanId", "arg": "$Path.scanId", "required": true}]}, "query": {"params": [{"type": "string", "name": "databaseName", "arg": "$Query.databaseName"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2026-04-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "baselineAdjustedResult", "props": [{"type": "object", "name": "baseline", "props": [{"type": "array>", "name": "expectedResults", "item": {"type": "array", "item": {"type": "string"}}}, {"type": "dateTime", "name": "updatedTime"}]}, {"type": "array>", "name": "resultsNotInBaseline", "item": {"type": "array", "item": {"type": "string"}}}, {"type": "array>", "name": "resultsOnlyInBaseline", "item": {"type": "array", "item": {"type": "string"}}}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Finding"}, {"value": "InternalError"}, {"value": "NonFinding"}, {"value": "NotApplicable"}]}}]}, {"type": "boolean", "name": "isTrimmed"}, {"type": "array>", "name": "queryResults", "item": {"type": "array", "item": {"type": "string"}}}, {"type": "object", "name": "remediation", "props": [{"type": "boolean", "name": "automated"}, {"type": "string", "name": "description"}, {"type": "string", "name": "portalLink"}, {"type": "array", "name": "scripts", "item": {"type": "string"}}]}, {"type": "string", "name": "ruleId"}, {"type": "object", "name": "ruleMetadata", "props": [{"type": "array", "name": "benchmarkReferences", "item": {"type": "object", "props": [{"type": "string", "name": "benchmark"}, {"type": "string", "name": "reference"}]}}, {"type": "string", "name": "category"}, {"type": "string", "name": "description"}, {"type": "object", "name": "queryCheck", "props": [{"type": "array", "name": "columnNames", "item": {"type": "string"}}, {"type": "array>", "name": "expectedResult", "item": {"type": "array", "item": {"type": "string"}}}, {"type": "string", "name": "query"}]}, {"type": "string", "name": "rationale"}, {"type": "string", "name": "ruleId"}, {"type": "string", "name": "ruleType", "enum": {"items": [{"value": "BaselineExpected"}, {"value": "Binary"}, {"value": "NegativeList"}, {"value": "PositiveList"}]}}, {"type": "string", "name": "severity", "enum": {"items": [{"value": "High"}, {"value": "Informational"}, {"value": "Low"}, {"value": "Medium"}, {"value": "Obsolete"}]}}, {"type": "string", "name": "title"}]}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Finding"}, {"value": "InternalError"}, {"value": "NonFinding"}, {"value": "NotApplicable"}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"readOnly": true, "type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5zL3t9L3NjYW5yZXN1bHRz/2026-04-01-preview.xml b/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5zL3t9L3NjYW5yZXN1bHRz/2026-04-01-preview.xml new file mode 100644 index 000000000..e2ad87580 --- /dev/null +++ b/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5zL3t9L3NjYW5yZXN1bHRz/2026-04-01-preview.xml @@ -0,0 +1,177 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5zL3t9L3NjYW5yZXN1bHRzL3t9/2026-04-01-preview.json b/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5zL3t9L3NjYW5yZXN1bHRzL3t9/2026-04-01-preview.json new file mode 100644 index 000000000..6a1835555 --- /dev/null +++ b/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5zL3t9L3NjYW5yZXN1bHRzL3t9/2026-04-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/{resourceid}/providers/microsoft.security/sqlvulnerabilityassessments/default/scans/{}/scanresults/{}", "version": "2026-04-01-preview", "swagger": "mgmt-plane/security/ResourceProviders/SqlVulnerabilityAssessmentsAPI/Paths/L3tyZXNvdXJjZUlkfS9wcm92aWRlcnMvTWljcm9zb2Z0LlNlY3VyaXR5L3NxbFZ1bG5lcmFiaWxpdHlBc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5zL3tzY2FuSWR9L3NjYW5SZXN1bHRzL3tzY2FuUmVzdWx0SWR9/V/MjAyNi0wNC0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "security va sql results", "commands": [{"name": "show", "version": "2026-04-01-preview", "resources": [{"id": "/{resourceid}/providers/microsoft.security/sqlvulnerabilityassessments/default/scans/{}/scanresults/{}", "version": "2026-04-01-preview", "swagger": "mgmt-plane/security/ResourceProviders/SqlVulnerabilityAssessmentsAPI/Paths/L3tyZXNvdXJjZUlkfS9wcm92aWRlcnMvTWljcm9zb2Z0LlNlY3VyaXR5L3NxbFZ1bG5lcmFiaWxpdHlBc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5zL3tzY2FuSWR9L3NjYW5SZXN1bHRzL3tzY2FuUmVzdWx0SWR9/V/MjAyNi0wNC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.resourceId", "options": ["resource-id"], "required": true, "help": {"short": "The fully qualified Azure Resource manager identifier of the resource."}}, {"type": "string", "var": "$Path.scanId", "options": ["scan-id"], "required": true, "help": {"short": "The scan Id."}}, {"type": "string", "var": "$Path.scanResultId", "options": ["scan-result-id"], "required": true, "help": {"short": "The rule Id of the results."}}, {"type": "string", "var": "$Query.databaseName", "options": ["database-name"], "help": {"short": "The name of the database to assess. Required when the API is called on the parent resource (e.g., server level) rather than on a specific database resource, since the database name is not part of the resource URI. This is the only way to assess system databases (e.g., master), which cannot be referenced directly in the resource URI."}}]}], "operations": [{"operationId": "SqlVulnerabilityAssessmentScanResults_Get", "http": {"path": "/{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/scans/{scanId}/scanResults/{scanResultId}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceId", "arg": "$Path.resourceId", "required": true}, {"type": "string", "name": "scanId", "arg": "$Path.scanId", "required": true}, {"type": "string", "name": "scanResultId", "arg": "$Path.scanResultId", "required": true}]}, "query": {"params": [{"type": "string", "name": "databaseName", "arg": "$Query.databaseName"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2026-04-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "baselineAdjustedResult", "props": [{"type": "object", "name": "baseline", "props": [{"type": "array>", "name": "expectedResults", "item": {"type": "array", "item": {"type": "string"}}}, {"type": "dateTime", "name": "updatedTime"}]}, {"type": "array>", "name": "resultsNotInBaseline", "item": {"type": "array", "item": {"type": "string"}}}, {"type": "array>", "name": "resultsOnlyInBaseline", "item": {"type": "array", "item": {"type": "string"}}}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Finding"}, {"value": "InternalError"}, {"value": "NonFinding"}, {"value": "NotApplicable"}]}}]}, {"type": "boolean", "name": "isTrimmed"}, {"type": "array>", "name": "queryResults", "item": {"type": "array", "item": {"type": "string"}}}, {"type": "object", "name": "remediation", "props": [{"type": "boolean", "name": "automated"}, {"type": "string", "name": "description"}, {"type": "string", "name": "portalLink"}, {"type": "array", "name": "scripts", "item": {"type": "string"}}]}, {"type": "string", "name": "ruleId"}, {"type": "object", "name": "ruleMetadata", "props": [{"type": "array", "name": "benchmarkReferences", "item": {"type": "object", "props": [{"type": "string", "name": "benchmark"}, {"type": "string", "name": "reference"}]}}, {"type": "string", "name": "category"}, {"type": "string", "name": "description"}, {"type": "object", "name": "queryCheck", "props": [{"type": "array", "name": "columnNames", "item": {"type": "string"}}, {"type": "array>", "name": "expectedResult", "item": {"type": "array", "item": {"type": "string"}}}, {"type": "string", "name": "query"}]}, {"type": "string", "name": "rationale"}, {"type": "string", "name": "ruleId"}, {"type": "string", "name": "ruleType", "enum": {"items": [{"value": "BaselineExpected"}, {"value": "Binary"}, {"value": "NegativeList"}, {"value": "PositiveList"}]}}, {"type": "string", "name": "severity", "enum": {"items": [{"value": "High"}, {"value": "Informational"}, {"value": "Low"}, {"value": "Medium"}, {"value": "Obsolete"}]}}, {"type": "string", "name": "title"}]}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Finding"}, {"value": "InternalError"}, {"value": "NonFinding"}, {"value": "NotApplicable"}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"readOnly": true, "type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5zL3t9L3NjYW5yZXN1bHRzL3t9/2026-04-01-preview.xml b/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5zL3t9L3NjYW5yZXN1bHRzL3t9/2026-04-01-preview.xml new file mode 100644 index 000000000..640dcdd5d --- /dev/null +++ b/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5zL3t9L3NjYW5yZXN1bHRzL3t9/2026-04-01-preview.xml @@ -0,0 +1,176 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From b751eb452e5da8a8309f264b4f22d512b5e73e41 Mon Sep 17 00:00:00 2001 From: GalGoldi72 Date: Tue, 2 Jun 2026 21:41:09 +0300 Subject: [PATCH 2/3] [Security] Add --rule-id alias to `security va sql results show` Adds `rule-id` as a primary option for the scanResultId argument on `az security va sql results show`, with `scan-result-id` kept as a secondary alias. This aligns with the `baseline` commands which use `--rule-id` for the same logical concept and matches Copilot review feedback on Azure/azure-cli#33482. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .../2026-04-01-preview.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5zL3t9L3NjYW5yZXN1bHRzL3t9/2026-04-01-preview.xml b/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5zL3t9L3NjYW5yZXN1bHRzL3t9/2026-04-01-preview.xml index 640dcdd5d..dc1129990 100644 --- a/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5zL3t9L3NjYW5yZXN1bHRzL3t9/2026-04-01-preview.xml +++ b/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L3NjYW5zL3t9L3NjYW5yZXN1bHRzL3t9/2026-04-01-preview.xml @@ -11,7 +11,7 @@ - + From 4fcbef4e168460c4581b5501da4def415c2cfeea Mon Sep 17 00:00:00 2001 From: GalGoldi72 Date: Tue, 2 Jun 2026 23:08:52 +0300 Subject: [PATCH 3/3] [Security] Remove `security va sql baseline update` The AAZ-generated `update` command uses the standard GET -> patch instance -> PUT flow. The Microsoft.Security `sqlVulnerabilityAssessments/default/baselineRules` service has an asymmetric request/response shape: PUT accepts only a flat `{ latestScan, results }` body, but GET returns the ARM-canonical `{ properties: { latestScan, results }, ... }` shape. The generic-update flow therefore PUTs a mixed payload that the service rejects with `400 UnsupportedProperties: 'properties'`. Verified directly against the live API: PUT { latestScan: true } -> 200 OK PUT { properties: { latestScan: true } } -> 400 UnsupportedProperties Because `baseline create` is the same PUT endpoint and is a full upsert, removing `update` does not reduce functionality. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- Commands/security/va/sql/baseline/_update.md | 9 - Commands/security/va/sql/baseline/readme.md | 3 - .../2026-04-01-preview.json | 2 +- .../2026-04-01-preview.xml | 175 +----------------- 4 files changed, 2 insertions(+), 187 deletions(-) delete mode 100644 Commands/security/va/sql/baseline/_update.md diff --git a/Commands/security/va/sql/baseline/_update.md b/Commands/security/va/sql/baseline/_update.md deleted file mode 100644 index 7c786eb75..000000000 --- a/Commands/security/va/sql/baseline/_update.md +++ /dev/null @@ -1,9 +0,0 @@ -# [Command] _security va sql baseline update_ - -Update a Baseline for a rule in a database. Will overwrite any previously existing results. - -## Versions - -### [2026-04-01-preview](/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L2Jhc2VsaW5lcnVsZXMve30=/2026-04-01-preview.xml) **Preview** - - diff --git a/Commands/security/va/sql/baseline/readme.md b/Commands/security/va/sql/baseline/readme.md index 3bc98deb6..f1b5fc384 100644 --- a/Commands/security/va/sql/baseline/readme.md +++ b/Commands/security/va/sql/baseline/readme.md @@ -18,6 +18,3 @@ View and manage Sql Vulnerability Assessment baseline. - [show](/Commands/security/va/sql/baseline/_show.md) : Get the results for a given rule in the Baseline. - -- [update](/Commands/security/va/sql/baseline/_update.md) -: Update a Baseline for a rule in a database. Will overwrite any previously existing results. diff --git a/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L2Jhc2VsaW5lcnVsZXMve30=/2026-04-01-preview.json b/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L2Jhc2VsaW5lcnVsZXMve30=/2026-04-01-preview.json index 5e938ee69..d4abad25e 100644 --- a/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L2Jhc2VsaW5lcnVsZXMve30=/2026-04-01-preview.json +++ b/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L2Jhc2VsaW5lcnVsZXMve30=/2026-04-01-preview.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/{resourceid}/providers/microsoft.security/sqlvulnerabilityassessments/default/baselinerules/{}", "version": "2026-04-01-preview", "swagger": "mgmt-plane/security/ResourceProviders/SqlVulnerabilityAssessmentsAPI/Paths/L3tyZXNvdXJjZUlkfS9wcm92aWRlcnMvTWljcm9zb2Z0LlNlY3VyaXR5L3NxbFZ1bG5lcmFiaWxpdHlBc3Nlc3NtZW50cy9kZWZhdWx0L2Jhc2VsaW5lUnVsZXMve3J1bGVJZH0=/V/MjAyNi0wNC0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "security va sql baseline", "commands": [{"name": "show", "version": "2026-04-01-preview", "resources": [{"id": "/{resourceid}/providers/microsoft.security/sqlvulnerabilityassessments/default/baselinerules/{}", "version": "2026-04-01-preview", "swagger": "mgmt-plane/security/ResourceProviders/SqlVulnerabilityAssessmentsAPI/Paths/L3tyZXNvdXJjZUlkfS9wcm92aWRlcnMvTWljcm9zb2Z0LlNlY3VyaXR5L3NxbFZ1bG5lcmFiaWxpdHlBc3Nlc3NtZW50cy9kZWZhdWx0L2Jhc2VsaW5lUnVsZXMve3J1bGVJZH0=/V/MjAyNi0wNC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.resourceId", "options": ["resource-id"], "required": true, "help": {"short": "The fully qualified Azure Resource manager identifier of the resource."}}, {"type": "string", "var": "$Path.ruleId", "options": ["rule-id"], "required": true, "help": {"short": "The rule Id."}}, {"type": "string", "var": "$Query.databaseName", "options": ["database-name"], "help": {"short": "The name of the database to assess. Required when the API is called on the parent resource (e.g., server level) rather than on a specific database resource, since the database name is not part of the resource URI. This is the only way to assess system databases (e.g., master), which cannot be referenced directly in the resource URI."}}]}], "operations": [{"operationId": "SqlVulnerabilityAssessmentBaselineRules_Get", "http": {"path": "/{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/baselineRules/{ruleId}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceId", "arg": "$Path.resourceId", "required": true}, {"type": "string", "name": "ruleId", "arg": "$Path.ruleId", "required": true}]}, "query": {"params": [{"type": "string", "name": "databaseName", "arg": "$Query.databaseName"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2026-04-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "latestScan"}, {"type": "array>", "name": "results", "item": {"type": "array", "item": {"type": "string"}}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"readOnly": true, "type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2026-04-01-preview", "resources": [{"id": "/{resourceid}/providers/microsoft.security/sqlvulnerabilityassessments/default/baselinerules/{}", "version": "2026-04-01-preview", "swagger": "mgmt-plane/security/ResourceProviders/SqlVulnerabilityAssessmentsAPI/Paths/L3tyZXNvdXJjZUlkfS9wcm92aWRlcnMvTWljcm9zb2Z0LlNlY3VyaXR5L3NxbFZ1bG5lcmFiaWxpdHlBc3Nlc3NtZW50cy9kZWZhdWx0L2Jhc2VsaW5lUnVsZXMve3J1bGVJZH0=/V/MjAyNi0wNC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.resourceId", "options": ["resource-id"], "required": true, "help": {"short": "The fully qualified Azure Resource manager identifier of the resource."}}, {"type": "string", "var": "$Path.ruleId", "options": ["rule-id"], "required": true, "help": {"short": "The rule Id."}}, {"type": "string", "var": "$Query.databaseName", "options": ["database-name"], "help": {"short": "The name of the database to assess. Required when the API is called on the parent resource (e.g., server level) rather than on a specific database resource, since the database name is not part of the resource URI. This is the only way to assess system databases (e.g., master), which cannot be referenced directly in the resource URI."}}]}], "operations": [{"operationId": "SqlVulnerabilityAssessmentBaselineRules_Delete", "http": {"path": "/{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/baselineRules/{ruleId}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "resourceId", "arg": "$Path.resourceId", "required": true}, {"type": "string", "name": "ruleId", "arg": "$Path.ruleId", "required": true}]}, "query": {"params": [{"type": "string", "name": "databaseName", "arg": "$Query.databaseName"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2026-04-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"readOnly": true, "type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2026-04-01-preview", "resources": [{"id": "/{resourceid}/providers/microsoft.security/sqlvulnerabilityassessments/default/baselinerules/{}", "version": "2026-04-01-preview", "swagger": "mgmt-plane/security/ResourceProviders/SqlVulnerabilityAssessmentsAPI/Paths/L3tyZXNvdXJjZUlkfS9wcm92aWRlcnMvTWljcm9zb2Z0LlNlY3VyaXR5L3NxbFZ1bG5lcmFiaWxpdHlBc3Nlc3NtZW50cy9kZWZhdWx0L2Jhc2VsaW5lUnVsZXMve3J1bGVJZH0=/V/MjAyNi0wNC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.resourceId", "options": ["resource-id"], "required": true, "help": {"short": "The fully qualified Azure Resource manager identifier of the resource."}}, {"type": "string", "var": "$Path.ruleId", "options": ["rule-id"], "required": true, "help": {"short": "The rule Id."}}, {"type": "string", "var": "$Query.databaseName", "options": ["database-name"], "help": {"short": "The name of the database to assess. Required when the API is called on the parent resource (e.g., server level) rather than on a specific database resource, since the database name is not part of the resource URI. This is the only way to assess system databases (e.g., master), which cannot be referenced directly in the resource URI."}}]}, {"name": "Resource", "args": [{"type": "boolean", "var": "$resource.latestScan", "options": ["latest-scan"], "group": "Resource", "help": {"short": "Take results from latest scan."}}, {"type": "array>", "var": "$resource.results", "options": ["results"], "group": "Resource", "help": {"short": "Expected results to be inserted into the baseline. Leave this field empty if latestScan == true."}, "item": {"type": "array", "item": {"type": "string"}}}]}], "operations": [{"operationId": "SqlVulnerabilityAssessmentBaselineRules_CreateOrUpdate", "http": {"path": "/{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/baselineRules/{ruleId}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceId", "arg": "$Path.resourceId", "required": true}, {"type": "string", "name": "ruleId", "arg": "$Path.ruleId", "required": true}]}, "query": {"params": [{"type": "string", "name": "databaseName", "arg": "$Query.databaseName"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2026-04-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "resource", "props": [{"type": "boolean", "name": "latestScan", "arg": "$resource.latestScan"}, {"type": "array>", "name": "results", "arg": "$resource.results", "item": {"type": "array", "item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "latestScan"}, {"type": "array>", "name": "results", "item": {"type": "array", "item": {"type": "string"}}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"readOnly": true, "type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2026-04-01-preview", "resources": [{"id": "/{resourceid}/providers/microsoft.security/sqlvulnerabilityassessments/default/baselinerules/{}", "version": "2026-04-01-preview", "swagger": "mgmt-plane/security/ResourceProviders/SqlVulnerabilityAssessmentsAPI/Paths/L3tyZXNvdXJjZUlkfS9wcm92aWRlcnMvTWljcm9zb2Z0LlNlY3VyaXR5L3NxbFZ1bG5lcmFiaWxpdHlBc3Nlc3NtZW50cy9kZWZhdWx0L2Jhc2VsaW5lUnVsZXMve3J1bGVJZH0=/V/MjAyNi0wNC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.resourceId", "options": ["resource-id"], "required": true, "help": {"short": "The fully qualified Azure Resource manager identifier of the resource."}}, {"type": "string", "var": "$Path.ruleId", "options": ["rule-id"], "required": true, "help": {"short": "The rule Id."}}, {"type": "string", "var": "$Query.databaseName", "options": ["database-name"], "help": {"short": "The name of the database to assess. Required when the API is called on the parent resource (e.g., server level) rather than on a specific database resource, since the database name is not part of the resource URI. This is the only way to assess system databases (e.g., master), which cannot be referenced directly in the resource URI."}}]}, {"name": "Resource", "args": [{"nullable": true, "type": "boolean", "var": "$resource.latestScan", "options": ["latest-scan"], "group": "Resource", "help": {"short": "Take results from latest scan."}}, {"nullable": true, "type": "array>", "var": "$resource.results", "options": ["results"], "group": "Resource", "help": {"short": "Expected results to be inserted into the baseline. Leave this field empty if latestScan == true."}, "item": {"nullable": true, "type": "array", "item": {"nullable": true, "type": "string"}}}]}], "operations": [{"operationId": "SqlVulnerabilityAssessmentBaselineRules_Get", "http": {"path": "/{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/baselineRules/{ruleId}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceId", "arg": "$Path.resourceId", "required": true}, {"type": "string", "name": "ruleId", "arg": "$Path.ruleId", "required": true}]}, "query": {"params": [{"type": "string", "name": "databaseName", "arg": "$Query.databaseName"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2026-04-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "latestScan"}, {"type": "array>", "name": "results", "item": {"type": "array", "item": {"type": "string"}}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"readOnly": true, "type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "resource", "props": [{"type": "boolean", "name": "latestScan", "arg": "$resource.latestScan"}, {"type": "array>", "name": "results", "arg": "$resource.results", "item": {"type": "array", "item": {"type": "string"}}}], "clientFlatten": true}}}}, {"operationId": "SqlVulnerabilityAssessmentBaselineRules_CreateOrUpdate", "http": {"path": "/{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/baselineRules/{ruleId}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceId", "arg": "$Path.resourceId", "required": true}, {"type": "string", "name": "ruleId", "arg": "$Path.ruleId", "required": true}]}, "query": {"params": [{"type": "string", "name": "databaseName", "arg": "$Query.databaseName"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2026-04-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "latestScan"}, {"type": "array>", "name": "results", "item": {"type": "array", "item": {"type": "string"}}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"readOnly": true, "type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/{resourceid}/providers/microsoft.security/sqlvulnerabilityassessments/default/baselinerules/{}", "version": "2026-04-01-preview", "swagger": "mgmt-plane/security/ResourceProviders/SqlVulnerabilityAssessmentsAPI/Paths/L3tyZXNvdXJjZUlkfS9wcm92aWRlcnMvTWljcm9zb2Z0LlNlY3VyaXR5L3NxbFZ1bG5lcmFiaWxpdHlBc3Nlc3NtZW50cy9kZWZhdWx0L2Jhc2VsaW5lUnVsZXMve3J1bGVJZH0=/V/MjAyNi0wNC0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "security va sql baseline", "commands": [{"name": "show", "version": "2026-04-01-preview", "resources": [{"id": "/{resourceid}/providers/microsoft.security/sqlvulnerabilityassessments/default/baselinerules/{}", "version": "2026-04-01-preview", "swagger": "mgmt-plane/security/ResourceProviders/SqlVulnerabilityAssessmentsAPI/Paths/L3tyZXNvdXJjZUlkfS9wcm92aWRlcnMvTWljcm9zb2Z0LlNlY3VyaXR5L3NxbFZ1bG5lcmFiaWxpdHlBc3Nlc3NtZW50cy9kZWZhdWx0L2Jhc2VsaW5lUnVsZXMve3J1bGVJZH0=/V/MjAyNi0wNC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.resourceId", "options": ["resource-id"], "required": true, "help": {"short": "The fully qualified Azure Resource manager identifier of the resource."}}, {"type": "string", "var": "$Path.ruleId", "options": ["rule-id"], "required": true, "help": {"short": "The rule Id."}}, {"type": "string", "var": "$Query.databaseName", "options": ["database-name"], "help": {"short": "The name of the database to assess. Required when the API is called on the parent resource (e.g., server level) rather than on a specific database resource, since the database name is not part of the resource URI. This is the only way to assess system databases (e.g., master), which cannot be referenced directly in the resource URI."}}]}], "operations": [{"operationId": "SqlVulnerabilityAssessmentBaselineRules_Get", "http": {"path": "/{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/baselineRules/{ruleId}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceId", "arg": "$Path.resourceId", "required": true}, {"type": "string", "name": "ruleId", "arg": "$Path.ruleId", "required": true}]}, "query": {"params": [{"type": "string", "name": "databaseName", "arg": "$Query.databaseName"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2026-04-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "latestScan"}, {"type": "array>", "name": "results", "item": {"type": "array", "item": {"type": "string"}}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"readOnly": true, "type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2026-04-01-preview", "resources": [{"id": "/{resourceid}/providers/microsoft.security/sqlvulnerabilityassessments/default/baselinerules/{}", "version": "2026-04-01-preview", "swagger": "mgmt-plane/security/ResourceProviders/SqlVulnerabilityAssessmentsAPI/Paths/L3tyZXNvdXJjZUlkfS9wcm92aWRlcnMvTWljcm9zb2Z0LlNlY3VyaXR5L3NxbFZ1bG5lcmFiaWxpdHlBc3Nlc3NtZW50cy9kZWZhdWx0L2Jhc2VsaW5lUnVsZXMve3J1bGVJZH0=/V/MjAyNi0wNC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.resourceId", "options": ["resource-id"], "required": true, "help": {"short": "The fully qualified Azure Resource manager identifier of the resource."}}, {"type": "string", "var": "$Path.ruleId", "options": ["rule-id"], "required": true, "help": {"short": "The rule Id."}}, {"type": "string", "var": "$Query.databaseName", "options": ["database-name"], "help": {"short": "The name of the database to assess. Required when the API is called on the parent resource (e.g., server level) rather than on a specific database resource, since the database name is not part of the resource URI. This is the only way to assess system databases (e.g., master), which cannot be referenced directly in the resource URI."}}]}], "operations": [{"operationId": "SqlVulnerabilityAssessmentBaselineRules_Delete", "http": {"path": "/{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/baselineRules/{ruleId}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "resourceId", "arg": "$Path.resourceId", "required": true}, {"type": "string", "name": "ruleId", "arg": "$Path.ruleId", "required": true}]}, "query": {"params": [{"type": "string", "name": "databaseName", "arg": "$Query.databaseName"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2026-04-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"readOnly": true, "type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2026-04-01-preview", "resources": [{"id": "/{resourceid}/providers/microsoft.security/sqlvulnerabilityassessments/default/baselinerules/{}", "version": "2026-04-01-preview", "swagger": "mgmt-plane/security/ResourceProviders/SqlVulnerabilityAssessmentsAPI/Paths/L3tyZXNvdXJjZUlkfS9wcm92aWRlcnMvTWljcm9zb2Z0LlNlY3VyaXR5L3NxbFZ1bG5lcmFiaWxpdHlBc3Nlc3NtZW50cy9kZWZhdWx0L2Jhc2VsaW5lUnVsZXMve3J1bGVJZH0=/V/MjAyNi0wNC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.resourceId", "options": ["resource-id"], "required": true, "help": {"short": "The fully qualified Azure Resource manager identifier of the resource."}}, {"type": "string", "var": "$Path.ruleId", "options": ["rule-id"], "required": true, "help": {"short": "The rule Id."}}, {"type": "string", "var": "$Query.databaseName", "options": ["database-name"], "help": {"short": "The name of the database to assess. Required when the API is called on the parent resource (e.g., server level) rather than on a specific database resource, since the database name is not part of the resource URI. This is the only way to assess system databases (e.g., master), which cannot be referenced directly in the resource URI."}}]}, {"name": "Resource", "args": [{"type": "boolean", "var": "$resource.latestScan", "options": ["latest-scan"], "group": "Resource", "help": {"short": "Take results from latest scan."}}, {"type": "array>", "var": "$resource.results", "options": ["results"], "group": "Resource", "help": {"short": "Expected results to be inserted into the baseline. Leave this field empty if latestScan == true."}, "item": {"type": "array", "item": {"type": "string"}}}]}], "operations": [{"operationId": "SqlVulnerabilityAssessmentBaselineRules_CreateOrUpdate", "http": {"path": "/{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/baselineRules/{ruleId}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceId", "arg": "$Path.resourceId", "required": true}, {"type": "string", "name": "ruleId", "arg": "$Path.ruleId", "required": true}]}, "query": {"params": [{"type": "string", "name": "databaseName", "arg": "$Query.databaseName"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2026-04-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "resource", "props": [{"type": "boolean", "name": "latestScan", "arg": "$resource.latestScan"}, {"type": "array>", "name": "results", "arg": "$resource.results", "item": {"type": "array", "item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "latestScan"}, {"type": "array>", "name": "results", "item": {"type": "array", "item": {"type": "string"}}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"readOnly": true, "type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L2Jhc2VsaW5lcnVsZXMve30=/2026-04-01-preview.xml b/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L2Jhc2VsaW5lcnVsZXMve30=/2026-04-01-preview.xml index 8f9c6ffd6..0531f6d90 100644 --- a/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L2Jhc2VsaW5lcnVsZXMve30=/2026-04-01-preview.xml +++ b/Resources/mgmt-plane/L3tyZXNvdXJjZWlkfS9wcm92aWRlcnMvbWljcm9zb2Z0LnNlY3VyaXR5L3NxbHZ1bG5lcmFiaWxpdHlhc3Nlc3NtZW50cy9kZWZhdWx0L2Jhc2VsaW5lcnVsZXMve30=/2026-04-01-preview.xml @@ -225,178 +225,5 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +