Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add unique Finding ID instead of re-using Threat ID #154

Merged
merged 2 commits into from
Apr 6, 2021
Merged

Conversation

nozmore
Copy link
Collaborator

@nozmore nozmore commented Apr 6, 2021

Currently when parsing JSON the Elements contain a list of findings which references only the Threat Id. Since a Threat and given ID can be assigned via a Finding to different components it is not possible to reference a specific finding.

This adds an incremental id to finding starting a 1. which can be used to retrieve the referenced finding.

@nozmore nozmore requested a review from izar as a code owner April 6, 2021 19:14
@ghost
Copy link

ghost commented Apr 6, 2021

DeepCode failed to analyze this pull request

Something went wrong despite trying multiple times, sorry about that.
Please comment this pull request with "Retry DeepCode" to manually retry, or contact us so that a human can look into the issue.

@izar izar merged commit 0b8f4e6 into master Apr 6, 2021
@izar izar deleted the finding_id branch April 12, 2021 20:55
izar added a commit that referenced this pull request Apr 13, 2021
Fix encoding errors due to compatibility between #151 and #154
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants