Skip to content

Commit ee7aff3

Browse files
committed
Suppress the credential check message in session record file.
1 parent ab978ab commit ee7aff3

File tree

1 file changed

+2
-0
lines changed
  • src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceGroupTests

1 file changed

+2
-0
lines changed

src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceGroupTests/TestExportResourceGroup.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@
172172
"RequestUri": "/subscriptions/fb3a3d6b-44c8-44f5-88c9-b20917c9b96b/resourceGroups/onesdk2681/providers/Providers.Test/statefulResources/onesdk4251?api-version=2014-04-01",
173173
"EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmIzYTNkNmItNDRjOC00NGY1LTg4YzktYjIwOTE3YzliOTZiL3Jlc291cmNlR3JvdXBzL29uZXNkazI2ODEvcHJvdmlkZXJzL1Byb3ZpZGVycy5UZXN0L3N0YXRlZnVsUmVzb3VyY2VzL29uZXNkazQyNTE/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==",
174174
"RequestMethod": "PUT",
175+
//[SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine")]
175176
"RequestBody": "{\r\n \"properties\": {\r\n \"administratorLoginPassword\": \"P@ssword1\",\r\n \"administratorLogin\": \"adminuser\"\r\n },\r\n \"sku\": {\r\n \"name\": \"A0\"\r\n },\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n }\r\n}",
176177
"RequestHeaders": {
177178
"Content-Type": [
@@ -190,6 +191,7 @@
190191
"New-AzureRmResource"
191192
]
192193
},
194+
//[SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine")]
193195
"ResponseBody": "{\r\n \"id\": \"/subscriptions/fb3a3d6b-44c8-44f5-88c9-b20917c9b96b/resourceGroups/onesdk2681/providers/Providers.Test/statefulResources/onesdk4251\",\r\n \"name\": \"onesdk4251\",\r\n \"type\": \"Providers.Test/statefulResources\",\r\n \"sku\": {\r\n \"name\": \"A0\"\r\n },\r\n \"location\": \"Central US\",\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n },\r\n \"properties\": {\r\n \"administratorLoginPassword\": \"P@ssword1\",\r\n \"administratorLogin\": \"adminuser\"\r\n }\r\n}",
194196
"ResponseHeaders": {
195197
"Content-Length": [

0 commit comments

Comments
 (0)