NUWCDIVNPT / stig-manager

An API and client for managing STIG assessments
Other
104 stars 28 forks source link

Issues with STIGMAN_CLIENT_WELCOME_IMAGE #1273

Closed SuperSaiyanMagenta closed 1 month ago

SuperSaiyanMagenta commented 2 months ago

Is there an existing issue for this?

Are you using the latest version of STIG Manager?

Where are you experiencing the issue?

Current Behavior

I'm attempting to use the variable STIGMAN_CLIENT_WELCOME_IMAGE to display my organization's logo on the welcome screen, but I cannot get the image to appear. I have tried multiple image formats including PNG, JPG, BMP & SVG. I've mounted the local directory with the image file as a volume to the STIG Manager container, then specified the path to the image file as the value for STIGMAN_CLIENT_WELCOME_IMAGE in my docker-compose file. Is there something I'm missing? The documentation does not specify a particular format for the image, nor a size limit. Please assist. Thanks again!

Expected Behavior

No response

Steps To Reproduce

No response

Can you provide screenshots, logs, or other useful artifacts?

No response

Describe your Environment

- Hosting:
- Browser:
- OS:
- Node:
- npm:
cd-rite commented 2 months ago

@SuperSaiyanMagenta Ah, I believe the intent there is that you only provide a URL of the image you want to appear there, and would be hosted elsewhere. That image could be served out by, (I think) your NGINX proxy.

But I agree that's not clear in the docs. I'll double check and let you know (and update the docs).

SuperSaiyanMagenta commented 1 month ago

Copy that! I will update my config to host the image from nginx. Thanks again!