Skip to content

feat: clean up webhook template configuration and nest it under regul…

Codecov / codecov/patch failed Sep 20, 2023 in 0s

39.58% of diff hit (target 70.63%)

View this Pull Request on Codecov

39.58% of diff hit (target 70.63%)

Annotations

Check warning on line 370 in internal/cmd/grpc.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/cmd/grpc.go#L360-L370

Added lines #L360 - L370 were not covered by tests

Check warning on line 375 in internal/cmd/grpc.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/cmd/grpc.go#L372-L375

Added lines #L372 - L375 were not covered by tests

Check warning on line 59 in internal/config/audit.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/config/audit.go#L57-L59

Added lines #L57 - L59 were not covered by tests

Check warning on line 56 in internal/server/audit/retryable_client.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/server/audit/retryable_client.go#L54-L56

Added lines #L54 - L56 were not covered by tests

Check warning on line 68 in internal/server/audit/retryable_client.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/server/audit/retryable_client.go#L65-L68

Added lines #L65 - L68 were not covered by tests

Check warning on line 39 in internal/server/audit/template/executer.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/server/audit/template/executer.go#L35-L39

Added lines #L35 - L39 were not covered by tests

Check warning on line 48 in internal/server/audit/template/executer.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/server/audit/template/executer.go#L41-L48

Added lines #L41 - L48 were not covered by tests

Check warning on line 55 in internal/server/audit/template/executer.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/server/audit/template/executer.go#L51-L55

Added lines #L51 - L55 were not covered by tests

Check warning on line 59 in internal/server/audit/template/executer.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/server/audit/template/executer.go#L57-L59

Added lines #L57 - L59 were not covered by tests

Check warning on line 65 in internal/server/audit/template/executer.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/server/audit/template/executer.go#L62-L65

Added lines #L62 - L65 were not covered by tests

Check warning on line 67 in internal/server/audit/template/executer.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/server/audit/template/executer.go#L67

Added line #L67 was not covered by tests

Check warning on line 78 in internal/server/audit/template/executer.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/server/audit/template/executer.go#L77-L78

Added lines #L77 - L78 were not covered by tests

Check warning on line 83 in internal/server/audit/template/executer.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/server/audit/template/executer.go#L82-L83

Added lines #L82 - L83 were not covered by tests

Check warning on line 31 in internal/server/audit/template/template.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/server/audit/template/template.go#L24-L31

Added lines #L24 - L31 were not covered by tests

Check warning on line 33 in internal/server/audit/template/template.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/server/audit/template/template.go#L33

Added line #L33 was not covered by tests

Check warning on line 39 in internal/server/audit/template/template.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/server/audit/template/template.go#L36-L39

Added lines #L36 - L39 were not covered by tests

Check warning on line 51 in internal/server/audit/template/template.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/server/audit/template/template.go#L49-L51

Added lines #L49 - L51 were not covered by tests

Check warning on line 33 in internal/server/audit/webhook/client.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/server/audit/webhook/client.go#L33

Added line #L33 was not covered by tests

Check warning on line 41 in internal/server/audit/webhook/client.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/server/audit/webhook/client.go#L40-L41

Added lines #L40 - L41 were not covered by tests

Check warning on line 55 in internal/server/audit/webhook/client.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/server/audit/webhook/client.go#L52-L55

Added lines #L52 - L55 were not covered by tests

Check warning on line 63 in internal/server/audit/webhook/client.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/server/audit/webhook/client.go#L63

Added line #L63 was not covered by tests

Check warning on line 68 in internal/server/audit/webhook/client.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/server/audit/webhook/client.go#L68

Added line #L68 was not covered by tests

Check warning on line 95 in internal/server/audit/webhook/client.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/server/audit/webhook/client.go#L95

Added line #L95 was not covered by tests