Skip to content

Add validation for threat intel source config (#1393)

Codecov / codecov/patch failed Oct 30, 2024 in 1s

49.15% of diff hit (target 69.00%)

View this Pull Request on Codecov

49.15% of diff hit (target 69.00%)

Annotations

Check warning on line 35 in src/main/java/org/opensearch/securityanalytics/threatIntel/common/SourceConfigDtoValidator.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/securityanalytics/threatIntel/common/SourceConfigDtoValidator.java#L35

Added line #L35 was not covered by tests

Check warning on line 41 in src/main/java/org/opensearch/securityanalytics/threatIntel/common/SourceConfigDtoValidator.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/securityanalytics/threatIntel/common/SourceConfigDtoValidator.java#L41

Added line #L41 was not covered by tests

Check warning on line 45 in src/main/java/org/opensearch/securityanalytics/threatIntel/common/SourceConfigDtoValidator.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/securityanalytics/threatIntel/common/SourceConfigDtoValidator.java#L45

Added line #L45 was not covered by tests

Check warning on line 68 in src/main/java/org/opensearch/securityanalytics/threatIntel/common/SourceConfigDtoValidator.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/securityanalytics/threatIntel/common/SourceConfigDtoValidator.java#L68

Added line #L68 was not covered by tests

Check warning on line 71 in src/main/java/org/opensearch/securityanalytics/threatIntel/common/SourceConfigDtoValidator.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/securityanalytics/threatIntel/common/SourceConfigDtoValidator.java#L71

Added line #L71 was not covered by tests

Check warning on line 74 in src/main/java/org/opensearch/securityanalytics/threatIntel/common/SourceConfigDtoValidator.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/securityanalytics/threatIntel/common/SourceConfigDtoValidator.java#L74

Added line #L74 was not covered by tests

Check warning on line 77 in src/main/java/org/opensearch/securityanalytics/threatIntel/common/SourceConfigDtoValidator.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/securityanalytics/threatIntel/common/SourceConfigDtoValidator.java#L77

Added line #L77 was not covered by tests

Check warning on line 82 in src/main/java/org/opensearch/securityanalytics/threatIntel/common/SourceConfigDtoValidator.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/securityanalytics/threatIntel/common/SourceConfigDtoValidator.java#L82

Added line #L82 was not covered by tests

Check warning on line 85 in src/main/java/org/opensearch/securityanalytics/threatIntel/common/SourceConfigDtoValidator.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/securityanalytics/threatIntel/common/SourceConfigDtoValidator.java#L85

Added line #L85 was not covered by tests

Check warning on line 90 in src/main/java/org/opensearch/securityanalytics/threatIntel/common/SourceConfigDtoValidator.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/securityanalytics/threatIntel/common/SourceConfigDtoValidator.java#L90

Added line #L90 was not covered by tests

Check warning on line 93 in src/main/java/org/opensearch/securityanalytics/threatIntel/common/SourceConfigDtoValidator.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/securityanalytics/threatIntel/common/SourceConfigDtoValidator.java#L93

Added line #L93 was not covered by tests

Check warning on line 324 in src/main/java/org/opensearch/securityanalytics/threatIntel/model/SATIFSourceConfig.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/securityanalytics/threatIntel/model/SATIFSourceConfig.java#L324

Added line #L324 was not covered by tests

Check warning on line 344 in src/main/java/org/opensearch/securityanalytics/threatIntel/model/SATIFSourceConfigDto.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/securityanalytics/threatIntel/model/SATIFSourceConfigDto.java#L344

Added line #L344 was not covered by tests