[Backport 2.x] Add an "exists" check for "not" condition in sigma rules #897
71.73% of diff hit (target 24.64%)
View this Pull Request on Codecov
71.73% of diff hit (target 24.64%)
Annotations
codecov / codecov/patch
src/main/java/org/opensearch/securityanalytics/rules/backend/OSQueryBackend.java#L152
Added line #L152 was not covered by tests
codecov / codecov/patch
src/main/java/org/opensearch/securityanalytics/rules/backend/OSQueryBackend.java#L154
Added line #L154 was not covered by tests
codecov / codecov/patch
src/main/java/org/opensearch/securityanalytics/rules/backend/OSQueryBackend.java#L180
Added line #L180 was not covered by tests
codecov / codecov/patch
src/main/java/org/opensearch/securityanalytics/rules/backend/OSQueryBackend.java#L188
Added line #L188 was not covered by tests
codecov / codecov/patch
src/main/java/org/opensearch/securityanalytics/rules/backend/OSQueryBackend.java#L239
Added line #L239 was not covered by tests
codecov / codecov/patch
src/main/java/org/opensearch/securityanalytics/rules/backend/OSQueryBackend.java#L256
Added line #L256 was not covered by tests
codecov / codecov/patch
src/main/java/org/opensearch/securityanalytics/rules/backend/OSQueryBackend.java#L275
Added line #L275 was not covered by tests
codecov / codecov/patch
src/main/java/org/opensearch/securityanalytics/rules/backend/OSQueryBackend.java#L313
Added line #L313 was not covered by tests
codecov / codecov/patch
src/main/java/org/opensearch/securityanalytics/rules/backend/OSQueryBackend.java#L323
Added line #L323 was not covered by tests
codecov / codecov/patch
src/main/java/org/opensearch/securityanalytics/rules/backend/OSQueryBackend.java#L333
Added line #L333 was not covered by tests
codecov / codecov/patch
src/main/java/org/opensearch/securityanalytics/rules/backend/OSQueryBackend.java#L344
Added line #L344 was not covered by tests
codecov / codecov/patch
src/main/java/org/opensearch/securityanalytics/rules/backend/OSQueryBackend.java#L355
Added line #L355 was not covered by tests
codecov / codecov/patch
src/main/java/org/opensearch/securityanalytics/rules/backend/OSQueryBackend.java#L364-L365
Added lines #L364 - L365 were not covered by tests
codecov / codecov/patch
src/main/java/org/opensearch/securityanalytics/rules/backend/OSQueryBackend.java#L415
Added line #L415 was not covered by tests
codecov / codecov/patch
src/main/java/org/opensearch/securityanalytics/rules/backend/QueryBackend.java#L116
Added line #L116 was not covered by tests
codecov / codecov/patch
src/main/java/org/opensearch/securityanalytics/rules/backend/QueryBackend.java#L122
Added line #L122 was not covered by tests