azure-cli-dev-tools icon indicating copy to clipboard operation
azure-cli-dev-tools copied to clipboard

azdev test doesn't encode or replace the credential info in the test recordings

Open qiaozha opened this issue 5 years ago • 1 comments

When onboard the datafactory, the command az datafactory integration-runtime regenerate-auth-key datafactory integration-runtime list-auth-key will return a authKey, but in the test recordings it's not encoded or replaced with meaningless strings. which cause the credential scan fail.

to repro: check the branch in this PR https://github.com/Azure/azure-cli-extensions/pull/1321 then run azdev test datafactory --live then search the command above.

qiaozha avatar Jun 22 '20 02:06 qiaozha

It's widely requested feature. But not have to implement in azdev. We will plan it.

haroldrandom avatar Jun 22 '20 08:06 haroldrandom