Add validations from appsec #562
66.66% of diff hit (target 84.70%)
View this Pull Request on Codecov
66.66% of diff hit (target 84.70%)
Annotations
Check warning on line 149 in src/main/java/org/opensearch/neuralsearch/plugin/NeuralSearch.java
codecov / codecov/patch
src/main/java/org/opensearch/neuralsearch/plugin/NeuralSearch.java#L149
Added line #L149 was not covered by tests
Check warning on line 163 in src/main/java/org/opensearch/neuralsearch/plugin/NeuralSearch.java
codecov / codecov/patch
src/main/java/org/opensearch/neuralsearch/plugin/NeuralSearch.java#L163
Added line #L163 was not covered by tests
codecov / codecov/patch
src/main/java/org/opensearch/neuralsearch/processor/rerank/context/QueryContextSourceFetcher.java#L125
Added line #L125 was not covered by tests
codecov / codecov/patch
src/main/java/org/opensearch/neuralsearch/processor/rerank/context/QueryContextSourceFetcher.java#L139-L141
Added lines #L139 - L141 were not covered by tests
codecov / codecov/patch
src/main/java/org/opensearch/neuralsearch/processor/rerank/context/QueryContextSourceFetcher.java#L145
Added line #L145 was not covered by tests