-
Notifications
You must be signed in to change notification settings - Fork 456
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
Validation error for HttpHeadersScanAttemptAsJson when using API #554
Labels
Comments
Yup, looks like this might be an issue with the HTTP headers module?
|
Thanks for the report. This was fixed in v5.0.3. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the Bug
I'm getting a
pydantic.error_wrappers.ValidationError
error message when attempting to save scan results as JSON using the API.Steps to Reproduce
Steps to reproduce the behavior:
pip install sslyze
ServerScanResultAsJson.from_orm(...)
methodExample Error
Expected behavior
Scan result parses to JSON successfully, to be written out to a JSON file later.
Python Environment
Windows 10 21H1
3.10.0
PIP Package List
From a virtual environment,
pip install sslyze
results in this package list.Additional context
This seems to be a per site issue, i.e., some sites work and others don't. That said, I can't replicate the error for the same sites when using the command line version. Perhaps this is an issue with one of the scan modules? It's my understanding that the API uses all modules by default vs. the smaller set of modules for the command line version.
The text was updated successfully, but these errors were encountered: