-
Notifications
You must be signed in to change notification settings - Fork 9
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
Setting CORS policy for metadata validation service in dev environment #678
Comments
placek
added a commit
that referenced
this issue
Apr 11, 2024
In this commit, specific CORS parameters are added to the `docker-compose.yml.tpl` file to facilitate developers' access to the metadata validation service from their individual machines within the dev environment. The CORS configuration includes settings related to allowed methods, headers, origins, and maximum age. By implementing these CORS parameters, developers can utilize the metadata validation service effectively while ensuring secure and controlled access from their local environments.
placek
added a commit
that referenced
this issue
Apr 11, 2024
…cy-for-metadata-validation-service-in-dev-environment [#678] Setting CORS policy for metadata validation service in dev environment
placek
added a commit
that referenced
this issue
Apr 12, 2024
Implement build process to create images that cannot be pulled from external repositories when deploying the stack. The modification in the Makefile sets up the build command to prevent pulling images externally during the deployment process. By adding the `--build` flag in the `docker-compose` command, it ensures that images are only built locally and not fetched from external sources. This aligns with the requirement to restrict access to the metadata validation service, ensuring that only localhost is used for accessing resources, thus strengthening security measures.
placek
added a commit
that referenced
this issue
Apr 12, 2024
In response to the user story requiring the metadata validation service to be accessible only from localhost for security reasons, this commit includes a modification to the CSP (Content Security Policy) directive in the docker-compose.yml file. The change specifically adds 'https://www.googletagmanager.com' to the img-src directive, ensuring that resources from Google Tag Manager are permitted in the service. This adjustment enhances security measures by properly configuring the CSP policy to allow resources only from specified sources.
That is to be synced with current Haskel backend. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As a developer,
I want to open a metadata validation service on the dev environment
so that I can access it from localhost only.
Summary:
The task at hand involves configuring Cross-Origin Resource Sharing (CORS) policies for a metadata validation service in a development environment. This configuration will ensure that the service can only be accessed by developers from the localhost, limiting access to the dev server exclusively.
Acceptance Criteria:
The text was updated successfully, but these errors were encountered: