Skip to content

EC-237 Add validate input and use policy config

Codecov / codecov/patch failed Dec 12, 2023 in 1s

58.48% of diff hit (target 84.31%)

View this Pull Request on Codecov

58.48% of diff hit (target 84.31%)

Annotations

Check warning on line 101 in cmd/validate/input.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/validate/input.go#L87-L101

Added lines #L87 - L101 were not covered by tests

Check warning on line 141 in cmd/validate/input.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/validate/input.go#L103-L141

Added lines #L103 - L141 were not covered by tests

Check warning on line 144 in cmd/validate/input.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/validate/input.go#L143-L144

Added lines #L143 - L144 were not covered by tests

Check warning on line 164 in cmd/validate/input.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/validate/input.go#L148-L164

Added lines #L148 - L164 were not covered by tests

Check warning on line 168 in cmd/validate/input.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/validate/input.go#L166-L168

Added lines #L166 - L168 were not covered by tests

Check warning on line 173 in cmd/validate/input.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/validate/input.go#L171-L173

Added lines #L171 - L173 were not covered by tests

Check warning on line 178 in cmd/validate/input.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/validate/input.go#L175-L178

Added lines #L175 - L178 were not covered by tests

Check warning on line 183 in cmd/validate/input.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/validate/input.go#L180-L183

Added lines #L180 - L183 were not covered by tests

Check warning on line 187 in cmd/validate/input.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/validate/input.go#L185-L187

Added lines #L185 - L187 were not covered by tests

Check warning on line 189 in cmd/validate/input.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/validate/input.go#L189

Added line #L189 was not covered by tests

Check warning on line 219 in cmd/validate/input.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/validate/input.go#L219

Added line #L219 was not covered by tests

Check warning on line 223 in cmd/validate/input.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/validate/input.go#L223

Added line #L223 was not covered by tests

Check warning on line 50 in internal/evaluation_target/input/input.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/evaluation_target/input/input.go#L38-L50

Added lines #L38 - L50 were not covered by tests

Check warning on line 54 in internal/evaluation_target/input/input.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/evaluation_target/input/input.go#L52-L54

Added lines #L52 - L54 were not covered by tests

Check warning on line 60 in internal/evaluation_target/input/input.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/evaluation_target/input/input.go#L56-L60

Added lines #L56 - L60 were not covered by tests

Check warning on line 63 in internal/evaluation_target/input/input.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/evaluation_target/input/input.go#L62-L63

Added lines #L62 - L63 were not covered by tests

Check warning on line 66 in internal/evaluation_target/input/input.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/evaluation_target/input/input.go#L66

Added line #L66 was not covered by tests

Check warning on line 131 in internal/input/report.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/input/report.go#L121-L131

Added lines #L121 - L131 were not covered by tests

Check warning on line 135 in internal/input/report.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/input/report.go#L133-L135

Added lines #L133 - L135 were not covered by tests

Check warning on line 139 in internal/input/report.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/input/report.go#L137-L139

Added lines #L137 - L139 were not covered by tests

Check warning on line 141 in internal/input/report.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/input/report.go#L141

Added line #L141 was not covered by tests

Check warning on line 154 in internal/input/report.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/input/report.go#L151-L154

Added lines #L151 - L154 were not covered by tests

Check warning on line 201 in internal/input/report.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/input/report.go#L200-L201

Added lines #L200 - L201 were not covered by tests

Check warning on line 48 in internal/input/validate.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/input/validate.go#L46-L48

Added lines #L46 - L48 were not covered by tests

Check warning on line 80 in internal/input/validate.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/input/validate.go#L79-L80

Added lines #L79 - L80 were not covered by tests