This commit was merged in pull request #497.
This commit is contained in:
1 parent
bdf7fa4268
commit
ece992da32
8 files changed
+531
-8
No files matched your search
@@ -183,9 +183,14 @@ What the scan never changes:
|
||||
- A scheduled scan that finds no new commits (or unchanged uploaded files) does
|
||||
not scan, so it closes nothing.
|
||||
|
||||
Findings are tied to a file and line. When code moves (lines added above it),
|
||||
the same issue is reported at its new line as a new finding, and the old one
|
||||
is closed as no longer found.
|
||||
Findings are tied to the code they flag, not to its line number: the rule,
|
||||
the file, the flagged line without its whitespace (for a secret, the match),
|
||||
and how many identical lines come before it in the file. When code moves
|
||||
(lines added above it, re-indented), the finding stays the same: its status,
|
||||
assessment and tracker issue stay with it, and it shows the new line. Only
|
||||
a change of the flagged line itself (or a rename of the file) makes it a new
|
||||
finding and closes the old one. Findings stored before this was introduced
|
||||
keep their status and issue on the first scan after it.
|
||||
|
||||
### Recommended Flow
|
||||
|
||||
|
||||
Reference in new issue
Block a user