Replies: 2 comments 1 reply
-
BTW, I used the I think we should change the |
Beta Was this translation helpful? Give feedback.
-
I will research to check if we can create a unique ID for every secret in each plugin even between scans (examples: forked git repo). The advantages are differentiating between multiple secrets on the same page, and the same secrets throughout history. The ID should be something that will not be changed on page edit or so. To differentiate between two secrets in the same item, I suggest adding the secret itself (or part of it) to the ID (hashed, of course). Base ID structure: ConfluenceSince Confluence is retrieving the same secret over all the versions, I think the ID should not include the ID: If the content on the page will be changed, the ID will stay the same. Discord, SlackIn Discord we are not reading the message history. ID: FileSystem, PaligoThere is no history for files, and one file may contain multiple secrets: ID: If the file will be changed, the ID will stay the same (or the secret will not be there anymore.) GitIn Git, there is a ID: The Git history will not change (unless the user will recreate its history). |
Beta Was this translation helpful? Give feedback.
-
The current results structure includes two identification fields:
ID
andSource
:The
source
is the identifier of anItem
, before finding one or more secrets inside it.The
id
is thesource
considered as a Full Path of a file, and cutting it to the file name. (I think it is a legacy code).SimilarityID
In Checkmarx SAST and Kics, we are calculating a "SimilarityID", which is considering multiple properties of a result, and hashing it to a string. (Kics implementation)
Questions
Item
/Secret
to make them unique? (*We should avoid properties like "line number" because they might be changed by the content).Beta Was this translation helpful? Give feedback.
All reactions