Skip to content

Commit b8f19a1

Browse files
authored
Merge pull request #23201 from SkyCipherr/codex/document-csharp-redaction-model
C#: Document custom redaction barriers
2 parents 75e79be + fc19351 commit b8f19a1

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

‎csharp/ql/src/Security Features/CWE-359/ExposureOfPrivateInformation.qhelp‎

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ Examples include log files, cookies and plain text storage on disk.
1818
Ensure that private information is only stored in secure data locations.
1919
</p>
2020

21+
<p>
22+
Custom methods that redact private information can be modeled as barriers for this query using
23+
the <code>file-content-store</code> kind. See the references below for details on defining these
24+
models.
25+
</p>
26+
2127
</recommendation>
2228
<example>
2329

@@ -31,6 +37,8 @@ that do not normally have access to this private data.
3137

3238
</example>
3339
<references>
34-
40+
<li>CodeQL documentation:
41+
<a href="https://codeql.github.com/docs/codeql-language-guides/customizing-library-models-for-csharp/">Customizing library models for C#</a>.
42+
</li>
3543
</references>
3644
</qhelp>

0 commit comments

Comments
 (0)