Skip to content

Commit

Permalink
Rename internal method name
Browse files Browse the repository at this point in the history
  • Loading branch information
uurien committed Jun 13, 2024
1 parent e516091 commit b789a51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/dd-trace/src/appsec/rasp.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ function analyzeSsrf (ctx) {
const actions = waf.run({ persistent }, req, RULE_TYPES.SSRF)

const res = store?.res
handleWafResults(actions, ctx.abortData, req, res)
handleResult(actions, req, res, ctx.abortData)
}

function handleWafResults (actions, abortData, req, res) {
function handleResult (actions, req, res, abortData) {
const blockingAction = getBlockingAction(actions)
if (blockingAction && abortData) {
abortData.abortController.abort()
Expand Down

0 comments on commit b789a51

Please sign in to comment.