Skip to content

Commit ae0f68d

Browse files
Add credscan suppressions for test password
1 parent cb3a054 commit ae0f68d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,7 @@
386386
"RequestUri": "/subscriptions/d08e1a72-8180-4ed3-8125-9dff7376b0bd/resourceGroups/ps6188/providers/Providers.Test/statefulResources/ps9824?api-version=2014-04-01",
387387
"EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZDA4ZTFhNzItODE4MC00ZWQzLTgxMjUtOWRmZjczNzZiMGJkL3Jlc291cmNlR3JvdXBzL3BzNjE4OC9wcm92aWRlcnMvUHJvdmlkZXJzLlRlc3Qvc3RhdGVmdWxSZXNvdXJjZXMvcHM5ODI0P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=",
388388
"RequestMethod": "PUT",
389+
//[SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine")]
389390
"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}",
390391
"RequestHeaders": {
391392
"User-Agent": [
@@ -446,13 +447,15 @@
446447
"0"
447448
]
448449
},
450+
//[SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine")]
449451
"ResponseBody": "{\r\n \"id\": \"/subscriptions/d08e1a72-8180-4ed3-8125-9dff7376b0bd/resourceGroups/ps6188/providers/Providers.Test/statefulResources/ps9824\",\r\n \"name\": \"ps9824\",\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}",
450452
"StatusCode": 201
451453
},
452454
{
453455
"RequestUri": "/subscriptions/d08e1a72-8180-4ed3-8125-9dff7376b0bd/resourceGroups/ps6188/providers/Providers.Test/statefulResources/ps151?api-version=2014-04-01",
454456
"EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZDA4ZTFhNzItODE4MC00ZWQzLTgxMjUtOWRmZjczNzZiMGJkL3Jlc291cmNlR3JvdXBzL3BzNjE4OC9wcm92aWRlcnMvUHJvdmlkZXJzLlRlc3Qvc3RhdGVmdWxSZXNvdXJjZXMvcHMxNTE/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==",
455457
"RequestMethod": "PUT",
458+
//[SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine")]
456459
"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}",
457460
"RequestHeaders": {
458461
"User-Agent": [
@@ -513,6 +516,7 @@
513516
"0"
514517
]
515518
},
519+
//[SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine")]
516520
"ResponseBody": "{\r\n \"id\": \"/subscriptions/d08e1a72-8180-4ed3-8125-9dff7376b0bd/resourceGroups/ps6188/providers/Providers.Test/statefulResources/ps151\",\r\n \"name\": \"ps151\",\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}",
517521
"StatusCode": 201
518522
},

0 commit comments

Comments
 (0)