-
Notifications
You must be signed in to change notification settings - Fork 30
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
Run pulpcore-manager check --deploy in acceptance #155
base: master
Are you sure you want to change the base?
Conversation
e553812
to
e8baccc
Compare
So there's 9 warnings:
We follow https://docs.pulpproject.org/pulpcore/installation/authentication.html#webserver-authentication and that causes this. Need to reach out to upstream.
I think HSTS is irrelevant for Pulp. Some content should be available over HTTPS and most API clients ignore HSTS anyway. It's mostly browsers. Should be masked. Maybe even from an upstream point of view?
Reading https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Content-Type-Options this looks like it might be a good thing to include. Should talk to upstream about this because I don't know how much security it actually brings.
Reading https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection I wonder if this is really relevant. Especially considering Pulp is mostly an API anyway.
I think this should be masked since there is deliberate HTTP content.
Looks like we should really up our secret key generation.
Not sure if this is relevant since we don't use sessions. I think it can be masked.
Sounds like something upstream should do?
Also a good question to upstream. |
@daviddavis you asked me about checks. IMHO this is something the installer could run as well. sosreport is another. |
@ekohl, this pull request is currently not mergeable. Please rebase against the master branch and push again. If you have a remote called 'upstream' that points to this repository, you can do this by running:
This message was auto-generated by Foreman's prprocessor |
Django has a checks framework that can detect problems in a deployment. It's also extensible and allows Pulp and plugin developers to add their own checks. This allows detection of misconfigurations. Some checks run implicitly before running certain commands but others don't for performance reasons. --deploy signals that a production setup is used, which enables more checks. https://docs.djangoproject.com/en/2.2/topics/checks/
e8baccc
to
7ad6e8b
Compare
Django has a checks framework that can detect problems in a deployment. It's also extensible and allows Pulp and plugin developers to add their own checks. This allows detection of misconfigurations.
Some checks run implicitly before running certain commands but others don't for performance reasons.
--deploy signals that a production setup is used, which enables more checks.
https://docs.djangoproject.com/en/2.2/topics/checks/