Closed bjoernricks closed 3 months ago
Type | Number |
---|---|
Removed | 4 |
Changed | 14 |
Added | 25 |
Bug Fixes | 2 |
:rocket: Conventional commits found.
The following issues were found:
⚠️: No snapshots were found for the head SHA a771cbdb3cad06bd497abbff0bbc2daa8db25893.
Ensure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice.
Package | Version | License | Issue Type |
lxml-stubs | 0.5.1 | Apache-2.0 AND MIT AND NOASSERTION | Invalid SPDX License |
Allowed Licenses: 0BSD, AGPL-3.0-or-later, GPL-3.0-or-later, LGPL-2.1, EPL-2.0, Python-2.0, GPL-2.0-or-later, GPL-2.0-only, GPL-3.0-or-later AND LGPL-2.1-only, GPL-3.0-or-later AND LGPL-3.0 AND LGPL-3.0-only, GPL-2.0 AND GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later, MIT, ISC, Unlicense, Apache-2.0, BSD-3-Clause, BSD-2-Clause, BSD-2-Clause AND MIT, MPL-2.0, CC-BY-4.0, CC-BY-3.0, CC-BY-SA-4.0, CC0-1.0, BSD-2-Clause AND BSD-3-Clause, BSD-3-Clause AND BSD-3-Clause-Clear, MIT OR Apache-2.0, MIT AND Python-2.0, (Apache-2.0 AND BSD-3-Clause) OR (Apache-2.0 AND MIT), (MIT OR Apache-2.0) AND Unicode-DFS-2016, OFL-1.1, Apache-2.0 AND BSD-3-Clause AND MIT AND OFL-1.1, BlueOak-1.0.0, BSL-1.0, Python-2.0.1, MIT AND PSF-2.0, LGPL-2.0-only AND LGPL-2.1-or-later, CAL-1.0
Package | Version | Score | Details | ||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
actions/greenbone/actions/mypy-python | 3.*.* | Unknown | Unknown | ||||||||||||||||||||||||||||||||||||||||||||||||
pip/autohooks-plugin-mypy | 23.10.0 | Unknown | Unknown | ||||||||||||||||||||||||||||||||||||||||||||||||
pip/lxml-stubs | 0.5.1 | Unknown | Unknown | ||||||||||||||||||||||||||||||||||||||||||||||||
pip/mypy | 1.10.0 | :green_circle: 5.7 | Details
| ||||||||||||||||||||||||||||||||||||||||||||||||
pip/types-paramiko | 3.4.0.20240423 | :green_circle: 5.8 | Details
| ||||||||||||||||||||||||||||||||||||||||||||||||
pip/defusedxml | 0.7.1 | :green_circle: 5.9 | Details
| ||||||||||||||||||||||||||||||||||||||||||||||||
pip/defusedxml | >= 0.6 | :green_circle: 5.9 | Details
|
Attention: Patch coverage is 95.88496%
with 93 lines
in your changes missing coverage. Please review.
Project coverage is 97.57%. Comparing base (
0f946e6
) to head (fa88c2a
).:exclamation: Current head fa88c2a differs from pull request most recent head a771cbd
Please upload reports for the commit a771cbd to get more accurate results.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
What
Refactor python-gvm to provide an I/O independent implementation of GMP and drop support for GMP < 22.4.
An IO independent protocol means it is possible to create data for requests. This data is represented as bytes. The bytes can be send via I/O and the response is returned again as bytes.
Currently this doesn't bring much value besides being able to split the actual request generating code into smaller peaces. But at the end it would allow to not only provide a sync implementation but also async implementation of GMP.
Additional Changes:
ifaces
andifaces_allow
arguments fromcreate_user
andmodify_user
modify_scan_config
methodthread
arguments fromcreate_override
,modify_override
,create_note
andmodify_note
SeverityLevel
enum as it was used only for thethread
argumentsWhy
Abstract the request/response generating code from the actual transport of the protocol.
With this PR it is easier again to add version specific protocol code. It requires to add a new
gvm.protocols.gmp.requests
sub module for a new protocol version and to add a protocol class in a GMP version specific new sub module ofgvm.protocols.gmp
.Checklist