feat: add HTML response handling for target allocator #10253
Annotations
7 errors
Lint:
cmd/otel-allocator/internal/server/server.go#L308
G203: The used method does not auto-escape HTML. This can potentially lead to 'Cross-site Scripting' vulnerabilities, in case the attacker controls the input. (gosec)
|
Lint:
cmd/otel-allocator/internal/server/server.go#L309
G203: The used method does not auto-escape HTML. This can potentially lead to 'Cross-site Scripting' vulnerabilities, in case the attacker controls the input. (gosec)
|
Lint:
cmd/otel-allocator/internal/server/server.go#L310
G203: The used method does not auto-escape HTML. This can potentially lead to 'Cross-site Scripting' vulnerabilities, in case the attacker controls the input. (gosec)
|
Lint:
cmd/otel-allocator/internal/server/server.go#L288
func `header` is unused (unused)
|
Lint:
cmd/otel-allocator/internal/server/server.go#L292
func `row` is unused (unused)
|
Lint:
cmd/otel-allocator/internal/server/server.go#L626
ineffectual assignment to scrapeConfigJSON (ineffassign)
|
Lint
Process completed with exit code 2.
|
Loading