From 6931e2b0232978cc01ee5282456b7869de0308d4 Mon Sep 17 00:00:00 2001 From: Ilias Khan Date: Thu, 21 Apr 2022 20:25:07 +0530 Subject: [PATCH 1/5] added separate audit section for sdk generation --- specification/sql/resource-manager/readme.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/specification/sql/resource-manager/readme.md b/specification/sql/resource-manager/readme.md index 7711ceb999e3..239f13625f36 100644 --- a/specification/sql/resource-manager/readme.md +++ b/specification/sql/resource-manager/readme.md @@ -150,6 +150,20 @@ input-file: - ./Microsoft.Sql/preview/2021-11-01-preview/WorkloadClassifiers.json - ./Microsoft.Sql/preview/2021-11-01-preview/WorkloadGroups.json ``` + +### Tag: package-composite-audit + +These settings apply only when `--tag=package-composite-audit` is specified on the command line. + +``` yaml $(tag) == 'package-composite-audit' +input-file: +- ./Microsoft.Sql/preview/2021-11-01-preview/BlobAuditing.json + +# Needed when there is more than one input file +override-info: + title: SqlManagementClient +``` + ### Tag: package-composite-v5 These settings apply only when `--tag=package-composite-v5` is specified on the command line. @@ -546,7 +560,7 @@ input-file: - Microsoft.Sql/preview/2015-05-01-preview/usages.json - Microsoft.Sql/preview/2015-05-01-preview/virtualclusters.json - Microsoft.Sql/preview/2015-05-01-preview/virtualNetworkRules.json -- Microsoft.Sql/preview/2017-03-01-preview/blobAuditing.json +- Microsoft.Sql/preview/2021-11-01-preview/blobAuditing.json - Microsoft.Sql/preview/2017-03-01-preview/databaseVulnerabilityAssessmentBaselines.json - Microsoft.Sql/preview/2017-03-01-preview/databaseVulnerabilityAssessments.json - Microsoft.Sql/preview/2017-03-01-preview/jobs.json From 961d0090ce8c52f6232884da04e8393166a20991 Mon Sep 17 00:00:00 2001 From: Ilias Khan Date: Tue, 26 Apr 2022 10:28:51 +0530 Subject: [PATCH 2/5] update audit version --- specification/sql/resource-manager/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/sql/resource-manager/readme.md b/specification/sql/resource-manager/readme.md index 3e211c818453..4e8c1e90d06f 100644 --- a/specification/sql/resource-manager/readme.md +++ b/specification/sql/resource-manager/readme.md @@ -182,7 +182,7 @@ input-file: - Microsoft.Sql/stable/2014-04-01/serviceObjectives.json - Microsoft.Sql/stable/2014-04-01-legacy/sql.core_legacy.json - Microsoft.Sql/stable/2014-04-01-legacy/usages_legacy.json -- ./Microsoft.Sql/preview/2020-11-01-preview/BlobAuditing.json +- ./Microsoft.Sql/preview/2021-11-01-preview/BlobAuditing.json - ./Microsoft.Sql/preview/2020-11-01-preview/DatabaseAdvisors.json - ./Microsoft.Sql/preview/2020-11-01-preview/DatabaseAutomaticTuning.json - ./Microsoft.Sql/preview/2020-11-01-preview/DatabaseColumns.json From 7cdae6cbc017dd9c261b2d2844672a0086780a8e Mon Sep 17 00:00:00 2001 From: Ilias Khan Date: Tue, 26 Apr 2022 10:42:16 +0530 Subject: [PATCH 3/5] remove audit version --- specification/sql/resource-manager/readme.md | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/specification/sql/resource-manager/readme.md b/specification/sql/resource-manager/readme.md index 4e8c1e90d06f..417278de81c9 100644 --- a/specification/sql/resource-manager/readme.md +++ b/specification/sql/resource-manager/readme.md @@ -150,20 +150,6 @@ input-file: - ./Microsoft.Sql/preview/2021-11-01-preview/WorkloadClassifiers.json - ./Microsoft.Sql/preview/2021-11-01-preview/WorkloadGroups.json ``` - -### Tag: package-composite-audit - -These settings apply only when `--tag=package-composite-audit` is specified on the command line. - -``` yaml $(tag) == 'package-composite-audit' -input-file: -- ./Microsoft.Sql/preview/2021-11-01-preview/BlobAuditing.json - -# Needed when there is more than one input file -override-info: - title: SqlManagementClient -``` - ### Tag: package-composite-v5 These settings apply only when `--tag=package-composite-v5` is specified on the command line. From 0c03b7c6e4df521103d1deddfc51fca396798f78 Mon Sep 17 00:00:00 2001 From: Ilias Khan Date: Tue, 26 Apr 2022 10:45:10 +0530 Subject: [PATCH 4/5] lint --- specification/sql/resource-manager/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/sql/resource-manager/readme.md b/specification/sql/resource-manager/readme.md index 417278de81c9..10e2f99e49c0 100644 --- a/specification/sql/resource-manager/readme.md +++ b/specification/sql/resource-manager/readme.md @@ -546,7 +546,7 @@ input-file: - Microsoft.Sql/preview/2015-05-01-preview/usages.json - Microsoft.Sql/preview/2015-05-01-preview/virtualclusters.json - Microsoft.Sql/preview/2015-05-01-preview/virtualNetworkRules.json -- Microsoft.Sql/preview/2021-11-01-preview/blobAuditing.json +- Microsoft.Sql/preview/2017-03-01-preview/blobAuditing.json - Microsoft.Sql/preview/2017-03-01-preview/databaseVulnerabilityAssessmentBaselines.json - Microsoft.Sql/preview/2017-03-01-preview/databaseVulnerabilityAssessments.json - Microsoft.Sql/preview/2017-03-01-preview/jobs.json From 50fa4c83b8f8d1e0dc7c48a461d4d28ae9d83e19 Mon Sep 17 00:00:00 2001 From: Ilias Khan Date: Wed, 27 Apr 2022 13:09:33 +0530 Subject: [PATCH 5/5] added blob-auditing version at the end of V5 --- specification/sql/resource-manager/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/sql/resource-manager/readme.md b/specification/sql/resource-manager/readme.md index 10e2f99e49c0..4272f70c5dff 100644 --- a/specification/sql/resource-manager/readme.md +++ b/specification/sql/resource-manager/readme.md @@ -168,7 +168,6 @@ input-file: - Microsoft.Sql/stable/2014-04-01/serviceObjectives.json - Microsoft.Sql/stable/2014-04-01-legacy/sql.core_legacy.json - Microsoft.Sql/stable/2014-04-01-legacy/usages_legacy.json -- ./Microsoft.Sql/preview/2021-11-01-preview/BlobAuditing.json - ./Microsoft.Sql/preview/2020-11-01-preview/DatabaseAdvisors.json - ./Microsoft.Sql/preview/2020-11-01-preview/DatabaseAutomaticTuning.json - ./Microsoft.Sql/preview/2020-11-01-preview/DatabaseColumns.json @@ -276,6 +275,7 @@ input-file: - ./Microsoft.Sql/preview/2021-02-01-preview/ReplicationLinks.json - ./Microsoft.Sql/preview/2020-11-01-preview/ManagedDatabaseSensitivityLabels.json - ./Microsoft.Sql/preview/2020-11-01-preview/SensitivityLabels.json +- ./Microsoft.Sql/preview/2021-11-01-preview/BlobAuditing.json # Needed when there is more than one input file override-info: