Skip to content

Commit

Permalink
Merge pull request #16572 from github/aibaars-patch-2
Browse files Browse the repository at this point in the history
Java: include link to `remote source` in TrustBoundaryViolation.ql
  • Loading branch information
aibaars authored May 23, 2024
2 parents 4fbbda5 + b5b5fef commit b2c64ea
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions java/ql/src/Security/CWE/CWE-501/TrustBoundaryViolation.ql
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ import TrustBoundaryFlow::PathGraph

from TrustBoundaryFlow::PathNode source, TrustBoundaryFlow::PathNode sink
where TrustBoundaryFlow::flowPath(source, sink)
select sink.getNode(), sink, source,
"This servlet reads data from a remote source and writes it to a session variable."
select sink.getNode(), source, sink,
"This servlet reads data from a $@ and writes it to a session variable.", source, "remote source"
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
category: minorAnalysis
---
* The alert message for the query "Trust boundary violation" (`java/trust-boundary-violation`) has been updated to include a link to the remote source.

0 comments on commit b2c64ea

Please sign in to comment.