Commit Graph

9387 Commits

Author SHA1 Message Date
Shreya Malviya c53d41645c Common: Add maximum depth validation to PropagationConfigurationSchema 2022-07-27 18:15:33 +05:30
Shreya Malviya 2ea3a27263 Common: Add docstring to PropagationConfiguration dataclass 2022-07-27 18:08:30 +05:30
Shreya Malviya 643896bb5b
Merge pull request #2125 from guardicore/2004-tcp-scan-configuration-validation
TCPScanConfiguration docstring + validation
2022-07-27 17:24:07 +05:30
Mike Salvatore 8dc73c9739
Merge pull request #2115 from guardicore/2004-plugin-configuration-docstring
PluginConfiguration docstring
2022-07-27 07:50:30 -04:00
VakarisZ ffd1773e92
Merge pull request #2124 from guardicore/2004-icmp-scan-configuration-validation
ICMPScanConfiguration docstring
2022-07-27 14:25:39 +03:00
Shreya Malviya d49604274d Common: Add docstring to NetworkScanConfiguration dataclass 2022-07-27 16:54:28 +05:30
Shreya Malviya f870ce0ab3 UT: Add test for TCPScanConfigurationSchema timeout validation 2022-07-27 16:53:14 +05:30
Shreya Malviya fbf3e15f02 Common: Add validation that timeout >= 0 in TCPScanConfigurationSchema 2022-07-27 16:53:14 +05:30
Shreya Malviya 3533074a61 Common: Specify timeout is in seconds in TCPScanConfiguration docstring 2022-07-27 16:53:14 +05:30
Shreya Malviya 5a6173163b UT: Add test for TCPScanConfigurationSchema port validation 2022-07-27 16:53:07 +05:30
Shreya Malviya 65ce50cac1 UT: Add test for ICMPScanConfigurationSchema timeout validation 2022-07-27 16:51:17 +05:30
Shreya Malviya d8bccde276 Common: Add validation that timeout >= 0 in ICMPScanConfigurationSchema 2022-07-27 16:50:46 +05:30
Shreya Malviya af015c788c Common: Specify timeout is in seconds in ICMPScanConfiguration docstring 2022-07-27 16:44:30 +05:30
Shreya Malviya cb97e021a7 Common: Add port number validation to TCPScanConfigurationSchema 2022-07-27 16:02:05 +05:30
Shreya Malviya aff97886d4 Common: Reword ICMPScanConfiguration docstring 2022-07-27 15:56:07 +05:30
Shreya Malviya 7f78e52bf2 Common: Add docstring to TCPScanConfiguration dataclass 2022-07-27 15:55:35 +05:30
Shreya Malviya f9bed82e7a Common: Add docstring to ICMPScanConfiguration dataclass 2022-07-27 15:45:55 +05:30
Shreya Malviya 856ce4925b Common: Fix docstring format in PluginConfiguration 2022-07-27 13:12:45 +05:30
Shreya Malviya f941c2aa35 Common: Reword PluginConfiguration docstring description 2022-07-27 13:08:13 +05:30
Shreya Malviya fad0c5fe4d Common: Add docstring to PluginConfiguration dataclass 2022-07-27 13:08:10 +05:30
Shreya Malviya 775ef144a5
Merge pull request #2114 from guardicore/2004-validate-custom-pba-config
Custom PBA configuration validation
2022-07-27 13:03:59 +05:30
Mike Salvatore 4c86b1bd3d Common: Remove periods from CustomPBAConfiguration docstrings 2022-07-27 12:32:07 +05:30
Shreya Malviya 8361ed1453 UT: Update cases for CustomPBAConfigurationSchema's linux filename validation test 2022-07-27 12:32:07 +05:30
Shreya Malviya a017a66137 Common: Fix CustomPBAConfigurationSchema's linux filename validation regex to check for forward slashes instead of back slashes 2022-07-27 12:32:07 +05:30
Shreya Malviya 35c2cf26e8 UT: Add null byte case in CustomPBAConfigurationSchema linux filename validation test 2022-07-27 12:32:07 +05:30
Shreya Malviya a9b9a13c40 Common: Update CustomPBAConfigurationSchema's linux filename validation regex to prevent null bytes 2022-07-27 12:32:07 +05:30
Shreya Malviya 58ce293909 UT: Add cases to CustomPBAConfigurationSchema filename validation tests 2022-07-27 12:32:07 +05:30
Shreya Malviya 80d3aec1f8 Common: Simplify filename validation regex in CustomPBAConfigurationSchema 2022-07-27 12:32:07 +05:30
Shreya Malviya c4b5e9fb2d Common: Fix Windows filename regex in CustomPBAConfigurationSchema validation 2022-07-27 12:32:07 +05:30
Shreya Malviya 8d84bdafe1 Common: Modify filename validation regex in CustomPBAConfigurationSchema to allow empty strings 2022-07-27 12:32:07 +05:30
Shreya Malviya 9c7b69dd7b Project: Add 'validate_windows_filename_not_reserved' to Vulture's allowlist 2022-07-27 12:32:07 +05:30
Shreya Malviya 2b56f039ee Common: Add reserved filename validation for Windows in CustomPBAConfigurationSchema 2022-07-27 12:32:07 +05:30
Shreya Malviya cacfb7755d Common: Seperate regex for Windows and Linux filenames in CustomPBAConfigurationSchema 2022-07-27 12:32:07 +05:30
Shreya Malviya f823e9c7ae Common: Modify docstring format in CustomPBAConfiguration 2022-07-27 12:32:07 +05:30
Shreya Malviya 52643315e2 Common: Reword CustomPBAConfiguration docstring description 2022-07-27 12:32:07 +05:30
Shreya Malviya 5063512764 Common: Remove filename examples from CustomPBAConfiuration docstring 2022-07-27 12:32:07 +05:30
Shreya Malviya e7d9ed88be UT: Add Windows tests for CustomPBAConfiguration filename validation 2022-07-27 12:32:06 +05:30
Shreya Malviya 5b9ba9cd27 Common: Fix wording in CustomPBAConfiguration docstring 2022-07-27 12:32:06 +05:30
Shreya Malviya 83e56a9028 UT: Add tests for CustomPBAConfiguration filename validation 2022-07-27 12:32:06 +05:30
Shreya Malviya bcf7a2e8ff Common: Change CustomPBAConfigriguration's filename validation to allow empty strings 2022-07-27 12:32:06 +05:30
Shreya Malviya 626720ff9f Common: Add filename validation to CustomPBAConfigurationSchema 2022-07-27 12:32:06 +05:30
Shreya Malviya 4116ebd24d Common: Add docstring to CustomPBAConfiguration dataclass 2022-07-27 12:32:06 +05:30
Mike Salvatore 48e34049fe
Merge pull request #2118 from guardicore/2092-fix-bb-tests
2092 fix bb tests
2022-07-26 13:43:32 -04:00
Mike Salvatore 685c709fda Agent: Remove empty system_info package 2022-07-26 12:47:46 -04:00
Mike Salvatore b5691a33f6 Island: Rename _file_storage_service -> _file_repository 2022-07-26 12:18:20 -04:00
Mike Salvatore 2d86f1a3f1
Merge pull request #2117 from guardicore/2004-freeze-lists
2004 freeze lists
2022-07-26 10:50:21 -04:00
Mike Salvatore 7be4ea2893 Common: Fix type hint for variable-length homogeneous tuples
See https://docs.python.org/3/library/typing.html#typing.Tuple
2022-07-26 10:42:20 -04:00
Ilija Lazoroski 6bbb825873 Island: All node keywords should be lowercase 2022-07-26 16:32:58 +02:00
Ilija Lazoroski 02ebef56cf BB: Fix SMB_path configuration 2022-07-26 16:32:21 +02:00
Ilija Lazoroski 85deb6858c BB: Add __test__ to some untestable classes 2022-07-26 16:31:35 +02:00