![github-actions[bot]](/assets/img/avatar_default.png)
* Add csharp to rule S6418 * initial commit * update wording to be about c# * revert greg's change * Update Default detections/sensitivity --------- Co-authored-by: alex-meseldzija-sonarsource <alex-meseldzija-sonarsource@users.noreply.github.com> Co-authored-by: Alex Meseldzija <alexander.meseldzija@sonarsource.com> Co-authored-by: Gregory Paidis <115458417+gregory-paidis-sonarsource@users.noreply.github.com>
32 lines
604 B
Plaintext
32 lines
604 B
Plaintext
:detections: variables/fields/properties
|
|
:sensibility: 3
|
|
|
|
include::../description.adoc[]
|
|
|
|
include::../ask-yourself.adoc[]
|
|
|
|
include::../recommended.adoc[]
|
|
|
|
== Sensitive Code Example
|
|
|
|
[source,csharp]
|
|
----
|
|
const string mySecret = "47828a8dd77ee1eb9dde2d5e93cb221ce8c32b37";
|
|
----
|
|
|
|
include::../see.adoc[]
|
|
|
|
* MSC - https://wiki.sei.cmu.edu/confluence/x/OjdGBQ[MSC03-J - Never hard code sensitive information]
|
|
|
|
ifdef::env-github,rspecator-view[]
|
|
'''
|
|
== Implementation Specification
|
|
(visible only on this page)
|
|
|
|
include::../message.adoc[]
|
|
|
|
include::../parameters.adoc[]
|
|
|
|
'''
|
|
endif::env-github,rspecator-view[]
|