Commit Graph

7953 Commits

Author SHA1 Message Date
Shreya Malviya e3fc5cf5e5 Agent, UT: Add default return values in IPScanner + tests 2022-04-07 14:03:40 +05:30
VakarisZ 1e3ded9d85
Merge pull request #1866 from guardicore/1857-snyk-update
UI: Remove snyk
2022-04-07 10:07:44 +03:00
Mike Salvatore 252b314dc2
Merge pull request #1865 from guardicore/1613-agent-timeouts
1613 agent timeouts
2022-04-06 11:39:54 -04:00
vakarisz f80acfbbd3 UI: Remove snyk 2022-04-06 17:22:30 +03:00
vakaris_zilius 93fd31b053 Agent: Remove TODO for determining time between telem and exit
Time taken is upto 10s for tunnel close and potentially up to 15 to send T1107Telem, so maximum up to 25 seconds
2022-04-06 11:18:48 +00:00
vakaris_zilius 6ef365d3e5 Agent: Improve ssh exception handling in sshexec.py 2022-04-06 09:39:54 +00:00
Shreya Malviya c9b9a27c34 Agent: Fix logic (indenting) in MonkeyTunnel 2022-04-06 12:43:48 +05:30
EliaOnceAgain bd22b7fbcc Deploy: Script to install appimage sysd service that runs on boot 2022-04-06 01:18:42 +03:00
vakaris_zilius 7fc49196d7 Agent: Extract proxy timeout to const, change it to 2.5 2022-04-05 14:04:10 +00:00
Shreya Malviya 8a393e0b03 Agent: Update comment in Timer 2022-04-05 19:07:38 +05:30
Shreya Malviya 60ca543117 Agent: Use Timer in MonkeyTunnel 2022-04-05 19:05:00 +05:30
Shreya Malviya 0be709a9eb Agent: Use Timer in BatchingTelemetryMessenger 2022-04-05 19:04:26 +05:30
vakaris_zilius 0b1b829cd7 Agent: Change firewall rule name to be more indicative 2022-04-05 13:15:36 +00:00
vakaris_zilius fe0b408c06 Agent: Fix a bug with output checking in firewall.py 2022-04-05 13:15:06 +00:00
Shreya Malviya f9a6afffb4 Agent: Catch exceptions in IPScanner so thread doesn't crash 2022-04-05 18:27:53 +05:30
vakarisz 64f2d598cf Agent: Add agent deletion check
This check will avoid duplicate deletion calls in case an exception happens
2022-04-05 15:30:38 +03:00
Shreya Malviya 9495027678 Agent: Catch exception when running plugins in master 2022-04-05 17:56:12 +05:30
vakarisz e40703dcac Agent: Add timeouts and improve firewall rule handling code 2022-04-05 14:52:35 +03:00
Ilija Lazoroski 8248004bce Island, UT: Use count_documents instead of count
* count() is deprecated
* pytest.mark.usefixtureS
2022-04-05 07:52:26 -04:00
Ilija Lazoroski 943cb2fa7a Agent: Use `create_daemon_thread` in ExploitClassHTTPServer 2022-04-05 07:52:26 -04:00
vakarisz 4497ea0003 Agent, Island: Decrease keep_tunnel_open_time to 30 seconds 2022-04-05 14:46:10 +03:00
VakarisZ 2aee4c0541
Merge pull request #1855 from guardicore/update-javascript-packages
Update javascript packages
2022-04-05 11:21:07 +03:00
vakarisz d172b91143 UI: Replace " with ' in particle js code 2022-04-05 11:00:01 +03:00
vakarisz a7259d3345 UI: Update minimist to ^1.2.6 2022-04-05 10:29:14 +03:00
Ilija Lazoroski c82a9cfbf0 Agent: Half the default smb timeout to 30sec 2022-04-04 11:06:19 -04:00
vakarisz f6fa5de58d UI: Update sass-loader
Version 7.3.1 was incompatible with the latest webpack
2022-04-04 17:38:56 +03:00
Mike Salvatore e05deaa57c Docs: Fix grammar in FAQ 2022-04-04 16:26:47 +02:00
Mike Salvatore bbc1219cf9 Docs: Fix broken link in FAQ 2022-04-04 16:26:47 +02:00
Ilija Lazoroski b0c89cee87 Docs: Add maximum time to kill all monkey in FAQ 2022-04-04 16:26:47 +02:00
Ilija Lazoroski 3f3e86bcce Island: Add maximum kill time to kill all monkeys modal window 2022-04-04 16:26:47 +02:00
vakarisz d0124b4c34 UI: Remove react-addons-test-utils
UI package was not used and not compatible with webpack 5.58.0
2022-04-04 17:21:17 +03:00
vakarisz dd910dc76a UI: Remove file-loader and url-loader
These loaders got replaced by webpack asset modules: https://webpack.js.org/guides/asset-modules/
2022-04-04 17:18:55 +03:00
vakarisz cb18f823b1 UI: Move to "react-tsparticles"
react-particles-js got deprecated
2022-04-04 16:22:28 +03:00
Mike Salvatore 5c6ac3d2cf
Merge pull request #1851 from guardicore/1830-nodejs-upgrade
1830 nodejs upgrade
2022-04-04 08:37:43 -04:00
vakarisz 84fe47a9e5 Deploy: Change node version for linux based builds 2022-04-04 14:39:35 +03:00
vakarisz f49490bbc8 UI: Update javascript packages 2022-04-04 14:39:35 +03:00
vakarisz 2d5d245305 Deploy: Change quotes in windows deployment command 2022-04-04 14:39:35 +03:00
vakarisz b3379c66d3 Deploy: Change deployment scripts to use node v16 from v12 2022-04-04 14:39:35 +03:00
Mike Salvatore 4bb0e506c9
Merge pull request #1845 from guardicore/1650-timeouts-for-creating-new-users
Add timeout to new user creation
2022-04-04 07:06:02 -04:00
Shreya Malviya cc83896724
Merge pull request #1848 from guardicore/1836-fix-eslint-errors
Fix eslint errors
2022-04-04 13:08:04 +05:30
Shreya Malviya 85b866e1cb UI: Remove unneeded argument in MapPage.js 2022-04-04 13:07:03 +05:30
Shreya Malviya bb798898c1 Agent: Catch subprocess exceptions in utils/*/users.py 2022-04-04 13:03:50 +05:30
Shreya Malviya a43c1479c8 UI: Fix eslint errors 2022-04-04 11:39:30 +05:30
Ilija Lazoroski 9c25b3590b Agent: User ceil on ping timeouts
This is due to older version of ping which doesn't support
float timeouts. It is throwing `bad linger time` Error.
2022-04-01 10:41:05 -04:00
Ilija Lazoroski 6cd74453cf Agent: Add timeout to scheduling jobs PBA 2022-04-01 10:41:05 -04:00
Mike Salvatore 6be631f731
Merge pull request #1839 from guardicore/1650-signed-scripts-timeout
Add timeout to signed script PBA
2022-04-01 10:39:16 -04:00
Shreya Malviya 7bd1ed4c67 Agent: Catch exceptions in cleanup function of signed script PBA 2022-04-01 18:16:38 +05:30
Shreya Malviya b312c509ce UT: Fix tests for new user creation 2022-04-01 18:11:55 +05:30
Shreya Malviya 88788d24d0 Agent: Add timeouts to utils/windows/users.py 2022-04-01 18:05:20 +05:30
Shreya Malviya 885a871be8 Agent: Add timeouts to utils/linux/users.py 2022-04-01 17:09:50 +05:30