File tree Expand file tree Collapse file tree 4 files changed +5
-2
lines changed Expand file tree Collapse file tree 4 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 11__author__ = 'socket.dev'
2- __version__ = '2.0.36 '
2+ __version__ = '2.0.37 '
33
Original file line number Diff line number Diff line change 22import os
33from dataclasses import asdict , dataclass
44from typing import List , Optional
5- from socketdev import __version__
5+ from socketsecurity import __version__
66
77from socketdev import INTEGRATION_TYPES , IntegrationType
88
Original file line number Diff line number Diff line change 55import os
66
77from socketsecurity .core .issues import AllIssues
8+ from socketsecurity import __version__
89
910
1011default_exclude_dirs = {
@@ -27,6 +28,7 @@ class SocketConfig:
2728 security_policy : Dict = None
2829 all_issues : Optional ['AllIssues' ] = None
2930 excluded_dirs : Set [str ] = field (default_factory = lambda : default_exclude_dirs )
31+ version : str = __version__
3032
3133 def __post_init__ (self ):
3234 """Validate configuration after initialization"""
Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ def cli():
4545
4646def main_code ():
4747 config = CliConfig .from_args ()
48+ log .info (f"Starting Socket Security CLI version { config .version } " )
4849 log .debug (f"config: { config .to_dict ()} " )
4950 output_handler = OutputHandler (config )
5051
You can’t perform that action at this time.
0 commit comments