opensearch-project / security-analytics

Security Analytics enables users for detecting security threats on their security event log data. It will also allow them to modify/tailor the pre-packaged solution.
Apache License 2.0
72 stars 74 forks source link

[Backport 2.15] Add validation for threat intel source config #1406

Closed opensearch-trigger-bot[bot] closed 3 weeks ago

opensearch-trigger-bot[bot] commented 3 weeks ago

Backport 364f42de251c5f1119badf29e8557ff3ce886b74 from #1393.

codecov[bot] commented 3 weeks ago

Codecov Report

Attention: Patch coverage is 49.15254% with 30 lines in your changes missing coverage. Please review.

Project coverage is 69.09%. Comparing base (3a5cbe7) to head (9692350). Report is 1 commits behind head on 2.15.

Files with missing lines Patch % Lines
...s/threatIntel/common/SourceConfigDtoValidator.java 29.72% 11 Missing and 15 partials :warning:
...analytics/threatIntel/model/SATIFSourceConfig.java 81.81% 1 Missing and 1 partial :warning:
...lytics/threatIntel/model/SATIFSourceConfigDto.java 81.81% 1 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## 2.15 #1406 +/- ## ============================================ + Coverage 69.00% 69.09% +0.09% - Complexity 3602 3617 +15 ============================================ Files 404 404 Lines 20072 20103 +31 Branches 2046 2060 +14 ============================================ + Hits 13851 13891 +40 + Misses 5194 5182 -12 - Partials 1027 1030 +3 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.