ec2patcher 1.0.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of ec2patcher might be problematic. Click here for more details.
- ec2patcher/__init__.py +8 -0
- ec2patcher/__main__.py +4 -0
- ec2patcher/app.py +1022 -0
- ec2patcher/config.py +100 -0
- ec2patcher/database.py +1570 -0
- ec2patcher/formatting.py +22 -0
- ec2patcher/logging_setup.py +103 -0
- ec2patcher/main.py +96 -0
- ec2patcher/models.py +395 -0
- ec2patcher/services/__init__.py +0 -0
- ec2patcher/services/amazon_state.py +205 -0
- ec2patcher/services/amazon_updateinfo.py +456 -0
- ec2patcher/services/analysis_service.py +819 -0
- ec2patcher/services/apt_planner.py +323 -0
- ec2patcher/services/cache_settings.py +240 -0
- ec2patcher/services/cve_resolver.py +642 -0
- ec2patcher/services/debversion.py +94 -0
- ec2patcher/services/downloader.py +117 -0
- ec2patcher/services/excel_export.py +307 -0
- ec2patcher/services/local_apt.py +353 -0
- ec2patcher/services/nvd.py +635 -0
- ec2patcher/services/os_adapters/__init__.py +92 -0
- ec2patcher/services/os_adapters/amazon_linux.py +374 -0
- ec2patcher/services/os_adapters/base.py +146 -0
- ec2patcher/services/os_adapters/ubuntu.py +246 -0
- ec2patcher/services/patch_remote.py +432 -0
- ec2patcher/services/patch_service.py +1457 -0
- ec2patcher/services/patch_state.py +176 -0
- ec2patcher/services/report_service.py +152 -0
- ec2patcher/services/rpmversion.py +138 -0
- ec2patcher/services/secret_store.py +144 -0
- ec2patcher/services/security_metadata.py +542 -0
- ec2patcher/services/server_state.py +255 -0
- ec2patcher/services/severity.py +39 -0
- ec2patcher/services/ssh_service.py +431 -0
- ec2patcher/services/staging.py +222 -0
- ec2patcher/static/app.js +113 -0
- ec2patcher/static/style.css +395 -0
- ec2patcher/templates/_cache_badges.html +2 -0
- ec2patcher/templates/_cache_stats.html +3 -0
- ec2patcher/templates/_metadata_status.html +8 -0
- ec2patcher/templates/_nvd_key_badge.html +13 -0
- ec2patcher/templates/_run_status.html +5 -0
- ec2patcher/templates/_ssh_result.html +19 -0
- ec2patcher/templates/analysis_run.html +97 -0
- ec2patcher/templates/base.html +42 -0
- ec2patcher/templates/dashboard.html +36 -0
- ec2patcher/templates/error.html +9 -0
- ec2patcher/templates/history.html +35 -0
- ec2patcher/templates/patch_all.html +48 -0
- ec2patcher/templates/patch_all_confirm.html +52 -0
- ec2patcher/templates/patch_confirm.html +40 -0
- ec2patcher/templates/patch_execution.html +169 -0
- ec2patcher/templates/reports.html +142 -0
- ec2patcher/templates/server_form.html +100 -0
- ec2patcher/templates/server_report.html +283 -0
- ec2patcher/templates/servers.html +79 -0
- ec2patcher/templates/settings.html +137 -0
- ec2patcher/templates/shutdown_confirm.html +16 -0
- ec2patcher/templates/shutdown_done.html +33 -0
- ec2patcher/validation.py +222 -0
- ec2patcher-1.0.0.dist-info/METADATA +417 -0
- ec2patcher-1.0.0.dist-info/RECORD +67 -0
- ec2patcher-1.0.0.dist-info/WHEEL +5 -0
- ec2patcher-1.0.0.dist-info/entry_points.txt +2 -0
- ec2patcher-1.0.0.dist-info/licenses/LICENSE +21 -0
- ec2patcher-1.0.0.dist-info/top_level.txt +1 -0
ec2patcher/__init__.py
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"""EC2Patcher - local GUI for CVE analysis and patching of EC2 servers over SSH."""
|
|
2
|
+
|
|
3
|
+
from importlib.metadata import PackageNotFoundError, version
|
|
4
|
+
|
|
5
|
+
try:
|
|
6
|
+
__version__ = version("ec2patcher") # the version lives only in pyproject.toml
|
|
7
|
+
except PackageNotFoundError: # running from a source tree that is not installed
|
|
8
|
+
__version__ = "0+unknown"
|
ec2patcher/__main__.py
ADDED