Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-apply #1963 #2062

Closed
wants to merge 1 commit into from

Revert "Revert #1963 (#2056)"

47743b7
Select commit
Loading
Failed to load commit list.
Closed

Re-apply #1963 #2062

Revert "Revert #1963 (#2056)"
47743b7
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / gosec failed Apr 17, 2024 in 5s

17 new alerts including 7 errors

New alerts in code changed by this pull request

  • 7 errors
  • 10 warnings

See annotations below for details.

View all branch alerts.

Annotations

Check failure on line 221 in core/services/gallery.go

See this annotation in the file changed.

Code scanning / Golang security checks by gosec

Potential file inclusion via variable Error

Potential file inclusion via variable

Check failure on line 286 in core/config/backend_config_loader.go

See this annotation in the file changed.

Code scanning / Golang security checks by gosec

Potential file inclusion via variable Error

Potential file inclusion via variable

Check failure on line 269 in core/config/backend_config_loader.go

See this annotation in the file changed.

Code scanning / Golang security checks by gosec

Potential file inclusion via variable Error

Potential file inclusion via variable

Check failure on line 212 in core/backend/image.go

See this annotation in the file changed.

Code scanning / Golang security checks by gosec

Potential file inclusion via variable Error

Potential file inclusion via variable

Check failure on line 65 in core/backend/image.go

See this annotation in the file changed.

Code scanning / Golang security checks by gosec

Potential file inclusion via variable Error

Potential file inclusion via variable

Check failure on line 291 in core/backend/image.go

See this annotation in the file changed.

Code scanning / Golang security checks by gosec

Potential HTTP request made with variable url Error

Potential HTTP request made with variable url

Check failure on line 59 in core/startup/startup.go

See this annotation in the file changed.

Code scanning / Golang security checks by gosec

Expect directory permissions to be 0750 or less Error

Expect directory permissions to be 0750 or less

Check warning on line 759 in core/services/openai.go

See this annotation in the file changed.

Code scanning / Golang security checks by gosec

Errors unhandled. Warning

Errors unhandled.

Check warning on line 699 in core/services/openai.go

See this annotation in the file changed.

Code scanning / Golang security checks by gosec

Errors unhandled. Warning

Errors unhandled.

Check warning on line 55 in core/http/endpoints/openai/completion.go

See this annotation in the file changed.

Code scanning / Golang security checks by gosec

Errors unhandled. Warning

Errors unhandled.

Check warning on line 53 in core/http/endpoints/openai/completion.go

See this annotation in the file changed.

Code scanning / Golang security checks by gosec

Errors unhandled. Warning

Errors unhandled.

Check warning on line 65 in core/http/endpoints/openai/chat.go

See this annotation in the file changed.

Code scanning / Golang security checks by gosec

Errors unhandled. Warning

Errors unhandled.

Check warning on line 63 in core/http/endpoints/openai/chat.go

See this annotation in the file changed.

Code scanning / Golang security checks by gosec

Errors unhandled. Warning

Errors unhandled.

Check warning on line 409 in core/config/backend_config_loader.go

See this annotation in the file changed.

Code scanning / Golang security checks by gosec

Errors unhandled. Warning

Errors unhandled.

Check warning on line 181 in core/backend/image.go

See this annotation in the file changed.

Code scanning / Golang security checks by gosec

Errors unhandled. Warning

Errors unhandled.

Check warning on line 99 in core/backend/image.go

See this annotation in the file changed.

Code scanning / Golang security checks by gosec

Errors unhandled. Warning

Errors unhandled.

Check warning on line 94 in core/backend/image.go

See this annotation in the file changed.

Code scanning / Golang security checks by gosec

Errors unhandled. Warning

Errors unhandled.