Skip to content
This repository has been archived by the owner on Oct 14, 2024. It is now read-only.

fix(api): return missing finding data #1929

Merged
merged 2 commits into from
Jul 17, 2024
Merged

Conversation

akijakya
Copy link
Contributor

@akijakya akijakya commented Jul 17, 2024

Description

Due to some changes since v0.7.1 saving specific kinds of finding data to the DB started to fail, so they were not displayed on the UI either. One problem was missing odatasql meta fields from the Secret finding type, the other is a function not returning the finding ID after unsuccessful update, so the next method in the chain could patch it.

Fixes #1897

Type of Change

  • Bug Fix
  • New Feature
  • Breaking Change
  • Refactor
  • Documentation
  • Other (please describe)

Checklist

  • I have read the contributing guidelines
  • Existing issues have been referenced (where applicable)
  • I have verified this change is not present in other open pull requests
  • Functionality is documented
  • All code style checks pass
  • New code contribution is covered by automated tests
  • All new and existing tests pass

Signed-off-by: András Jáky <ajaky@cisco.com>
Signed-off-by: András Jáky <ajaky@cisco.com>
@akijakya akijakya self-assigned this Jul 17, 2024
@akijakya akijakya requested a review from a team as a code owner July 17, 2024 09:45
@akijakya akijakya added this pull request to the merge queue Jul 17, 2024
Merged via the queue into main with commit b913ab1 Jul 17, 2024
24 checks passed
@akijakya akijakya deleted the fix-api-missing-finding-data branch July 17, 2024 11:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Finding counts not displayed properly
3 participants