File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
articles/defender-for-cloud Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -109,15 +109,15 @@ Credentials that are used for test resources and environments shouldn't be suppr
109
109
To suppress a secret that is found on the same line, add the following code as a comment at the end of the line that has the secret:
110
110
111
111
` ` ` bash
112
- [SuppressMessage("Microsoft.Security", "CS001:SecretInLine", Justification="... .")]
112
+ # [SuppressMessage("Microsoft.Security", "CS001:SecretInLine", Justification="... .")]
113
113
```
114
114
115
115
### Suppress a secret in the next line
116
116
117
117
To suppress the secret found in the next line, add the following code as a comment before the line that has the secret:
118
118
119
119
``` bash
120
- [SuppressMessage(" Microsoft.Security" , " CS002:SecretInNextLine" , Justification=" ... ." )]
120
+ # [SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine", Justification="... .")]
121
121
```
122
122
123
123
## Supported file types and exit codes
You can’t perform that action at this time.
0 commit comments