Shreya Malviya
e4d7f36985
Island: Rename IpAddresses -> IPAddresses
2022-08-04 12:53:36 +05:30
Shreya Malviya
6b89f38f87
Island: Fix docstrings in IpAddresses resource
2022-08-04 12:52:25 +05:30
Shreya Malviya
e2702ffacb
UI: Modify RunOptions page to correctly display IPs in manual run option
2022-08-04 12:49:47 +05:30
Shreya Malviya
860eb1b65c
Island: Simply return IPs list instead of mapping in IpAddresses resource
2022-08-04 12:47:32 +05:30
Shreya Malviya
637c466822
Island: Pass local_ip_addresses in IpAddresses resource constructor
2022-08-04 12:47:32 +05:30
Shreya Malviya
1466fccc5f
Island: Register convention 'local_ip_addresses'
2022-08-04 12:47:29 +05:30
Shreya Malviya
d189a94e9c
Island: Rename local_ip_addresses() -> get_local_ip_addresses()
2022-08-04 12:31:21 +05:30
Mike Salvatore
867135b358
Docs: Update references to deployment types
2022-08-03 19:32:49 -04:00
Mike Salvatore
c9e01f197c
Changelog: Improve consistency in API entries
2022-08-03 19:18:40 -04:00
Mike Salvatore
3798fe0756
Merge pull request #2161 from guardicore/2109-remove-version-update-service
...
Island: Remove VersionUpdate service
2022-08-03 16:50:17 -04:00
Mike Salvatore
fa06263f1c
Common: Remove disused VersionServerConnectionError
2022-08-03 14:54:42 -04:00
Ilija Lazoroski
ba6d1b18ee
Island: Remove VersionUpdate service
...
Issue #2109
PR #2161
2022-08-03 14:45:15 -04:00
Mike Salvatore
c57e865192
Merge pull request #2160 from guardicore/2109-add-version-object-to-di
...
2109 add version object to di
2022-08-03 14:35:45 -04:00
Mike Salvatore
78356ec7e1
Island: Add TODO about Deployment and initialize_services()
2022-08-03 14:34:28 -04:00
Mike Salvatore
833e3b82bc
Island: Crash if deployment cannot be determined
2022-08-03 14:24:46 -04:00
Mike Salvatore
449207876f
Island: Register Deployment as instance, not convention
2022-08-03 13:33:29 -04:00
Mike Salvatore
efec473b08
Merge pull request #2158 from guardicore/2071-POST-to-PUT
...
Change POST to PUT in /api/agent-configuration
2022-08-03 13:31:47 -04:00
Mike Salvatore
582bc46f8c
Island: Rename keys in Version resource
2022-08-03 13:24:30 -04:00
Mike Salvatore
3aafa60e53
Merge pull request #2159 from guardicore/2109-version-object
...
2109 version object
2022-08-03 13:22:35 -04:00
Mike Salvatore
722e1afb63
UI: Modify language of error message in ImportConfigModal
2022-08-03 13:19:20 -04:00
Mike Salvatore
3512ed0b26
Island: Add docstring to Deployment
2022-08-03 13:16:15 -04:00
Mike Salvatore
89c24232c0
Island: Improve docstring for Version
2022-08-03 11:57:03 -04:00
Ilija Lazoroski
6feb261254
Island: Use Version object in Version endpoint
2022-08-03 17:04:39 +02:00
Ilija Lazoroski
fb12c777a6
Island: Register Version instance
2022-08-03 17:01:52 +02:00
Ilija Lazoroski
682e52c38f
Island: Register version_number convetnion
2022-08-03 17:01:14 +02:00
Ilija Lazoroski
133bf75774
Island: Register deployment convention
2022-08-03 17:00:08 +02:00
Ilija Lazoroski
d1efa1a790
Common: Strip out newline in version
2022-08-03 16:50:31 +02:00
Ilija Lazoroski
8586d89062
Island: Implement Version object
2022-08-03 16:43:04 +02:00
Ilija Lazoroski
3c1653d872
Island: Add semantic_version to Pipfile
...
Used to validate version string
2022-08-03 16:28:18 +02:00
Ilija Lazoroski
117b1ebe5a
Island: Add Deployment Enum
2022-08-03 16:26:22 +02:00
Mike Salvatore
17b264d28b
Merge pull request #2145 from guardicore/2106-remove-mode-keyword
...
2106 remove mode keyword
2022-08-03 08:55:56 -04:00
Shreya Malviya
5a06e88913
UT: Simplify some logic in test_island_mode.py
2022-08-03 18:14:46 +05:30
Shreya Malviya
8615ae554f
UT: Change POST requests to PUT in AgentConfiguration resource tests
2022-08-03 18:07:28 +05:30
Shreya Malviya
12ee8756f6
UI: Remove period from error message in ImportConfigModal for consistency
2022-08-03 18:07:28 +05:30
Shreya Malviya
3d00460f98
UI: Catch TypeError when uploading a config file and set appropriate error message
...
This error message is different from the one in sendConfigToServer()
since this one only checks for 3 things (metadata.encrypted,
configuration, credentials). The one in sendConfigToServer() tries
importing the whole configuration.
2022-08-03 18:05:35 +05:30
Shreya Malviya
b4c9f0df9e
UI: Change POST to PUT in /api/agent-configuration requests
2022-08-03 17:56:58 +05:30
nandu pokhrel
cb62246948
Island: Change POST to PUT in AgentConfiguration resource
2022-08-03 17:56:58 +05:30
Shreya Malviya
4bcab891b2
UI: Don't convert response to JSON before creating Response object in IslandHttpClient's put()
2022-08-03 15:26:48 +05:30
Shreya Malviya
9c17cf44b1
UT: Pass headers in PUT requests in test_island_mode.py
2022-08-03 13:35:02 +05:30
Shreya Malviya
d56951f152
Island: Simplify logic to get data from request in IslandMode PUT
2022-08-03 13:01:19 +05:30
Shreya Malviya
f652a489b7
UI: Pass 'Content-Type' header in PUT request when resetting Island mode
2022-08-03 13:00:43 +05:30
Mike Salvatore
c7be5f6c68
Project: Add AbstractEvent to vulture_allowlist.py
2022-08-02 20:38:08 -04:00
Mike Salvatore
e79a29f7aa
Common: Add AbstractEvent
2022-08-02 14:41:08 -04:00
Mike Salvatore
2c55b8a4df
Island: Shorten IslandLog import in app.py
2022-08-02 12:09:53 -04:00
Mike Salvatore
b061613a0b
Island: Add IslandLog to resources/__init__.py
2022-08-02 12:08:49 -04:00
Mike Salvatore
7ecd4c50be
Island: Rename island_logs.py -> island_log.py
2022-08-02 12:08:25 -04:00
Shreya Malviya
ad5ff9af03
Merge pull request #2150 from guardicore/2105-add-docstrings
...
Add docstrings to auth endpoints
2022-08-02 18:47:57 +05:30
Shreya Malviya
7f915d987a
Merge pull request #2151 from guardicore/add-get_file_contents-to-file-utils
...
Add get_file_contents() to file utils
2022-08-02 18:29:06 +05:30
Shreya Malviya
c7f9a5c90a
UT: Use renamed resource (Registration -> Register)
2022-08-02 18:26:40 +05:30
Shreya Malviya
a5f71a3ff5
Island: Rename Registration -> Register
2022-08-02 18:25:12 +05:30