From 150c189533c1f47e8fc1a64a72ce121788831e45 Mon Sep 17 00:00:00 2001
From: SkyCipherr
+If your application uses a custom method to redact private information, you can model its return
+value as a barrier for this query. For example, add the following data extension to a model pack
+for a CodeQLDocs.Redaction.Redact(string) method that removes the private information
+from its result.
+
extensions: + - addsTo: + pack: codeql/csharp-all + extensible: barrierModel + data: + - ["CodeQLDocs", "Redaction", false, "Redact", "(System.String)", "", "ReturnValue", "file-content-store", "manual"]+ +
+The ReturnValue access path applies the barrier to the return value of the method.
+The file-content-store kind is used by this query when tracking flow to external locations.
+
-If your application uses a custom method to redact private information, you can model its return
-value as a barrier for this query. For example, add the following data extension to a model pack
-for a CodeQLDocs.Redaction.Redact(string) method that removes the private information
-from its result.
-
extensions: - - addsTo: - pack: codeql/csharp-all - extensible: barrierModel - data: - - ["CodeQLDocs", "Redaction", false, "Redact", "(System.String)", "", "ReturnValue", "file-content-store", "manual"]- -
-The ReturnValue access path applies the barrier to the return value of the method.
-The file-content-store kind is used by this query when tracking flow to external locations.
+Custom methods that redact private information can be modeled as barriers for this query using
+the file-content-store kind. See the references below for details on defining these
+models.