From 7cf71bacd5e84e6d60aa8bc0aa6b90e9f91bdd64 Mon Sep 17 00:00:00 2001 From: Difocd <1103204801@qq.com> Date: Sat, 21 Jan 2023 21:24:34 +0800 Subject: [PATCH] Fix wrong position of message in codeFlows. --- docs/3-Beyond-basics.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/3-Beyond-basics.md b/docs/3-Beyond-basics.md index 94741e0..0a0c8f5 100644 --- a/docs/3-Beyond-basics.md +++ b/docs/3-Beyond-basics.md @@ -649,10 +649,10 @@ The tool might produce something like this (see [bad-eval-with-code-flow.sarif]( { "locations": [ { - "message": { - "text": "The tainted data enters the system here." - }, "location": { + "message": { + "text": "The tainted data enters the system here." + }, "physicalLocation": { "artifactLocation": { "uri": "3-Beyond-basics/bad-eval-with-code-flow.py" @@ -688,10 +688,10 @@ The tool might produce something like this (see [bad-eval-with-code-flow.sarif]( "nestingLevel": 0 }, { - "message": { - "text": "The tainted data is used insecurely here." - }, "location": { + "message": { + "text": "The tainted data is used insecurely here." + }, "physicalLocation": { "artifactLocation": { "uri": "3-Beyond-basics/bad-eval-with-code-flow.py"