Commit Graph

9921 Commits

Author SHA1 Message Date
Kekoa Kaaikala 06ae6a8b90 Project: Add ipaddress types for mypy 2022-08-30 11:36:51 +00:00
Mike Salvatore 4c03c8aae9 Island: Import TypeAlias from typing_extensions 2022-08-29 19:13:23 -04:00
Mike Salvatore c73a29c1b7 Common: Import TypeAlias from typing_extensions 2022-08-29 19:13:03 -04:00
Mike Salvatore e98086e3d1 Project: Exclude vulture_allowlist.py from mypy checks 2022-08-29 15:46:29 -04:00
Mike Salvatore cff363597a Common: Annotate HardwareID as a TypeAlias 2022-08-29 14:34:28 -04:00
Mike Salvatore b1f15b59f7 Common: Ignore arg-type error in DIContainer.register() 2022-08-29 14:28:48 -04:00
Mike Salvatore 599676c496 Project: Add mypy configuration to pyproject.toml 2022-08-29 14:16:43 -04:00
Mike Salvatore 4662dd8bed Island: Annotate MachineID as a TypeAlias
See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
2022-08-29 13:50:12 -04:00
Ilija Lazoroski 1deb03b6d7 Island: Fix type annotation in AWSService 2022-08-29 12:46:34 -04:00
Ilija Lazoroski 6adacf702e Island: Don't drop collections that starts with "config"
Fixes #2210
PR #2227
2022-08-29 12:46:20 -04:00
Mike Salvatore 4af38f6e8a Project: Add .DS_Store to .gitignore 2022-08-29 12:32:15 -04:00
Mike Salvatore 797c2ea294 Merge branch 'v1.13.0-documentation-updates' into documentation-updates 2022-08-29 12:30:36 -04:00
Mike Salvatore e9bfbbd08e
Merge pull request #2224 from ybasford/v1.13.0-documentation-updates
Changed punctuation
2022-08-29 12:24:03 -04:00
ybasford 7dd4fe820d Docs: Fixed spelling 2022-08-29 12:16:10 -04:00
ybasford 4d723b07fa Docs: Corrected the number of reports 2022-08-29 12:16:07 -04:00
ybasford d9eb867a2d Docs: Corrected grammatical error 2022-08-29 12:16:06 -04:00
ybasford 2783db69b9 Docs: No need for capitalization 2022-08-29 12:15:48 -04:00
ybasford 159eb2b45b Docs: Capital letters and changed a word 2022-08-29 12:15:46 -04:00
ybasford 5bc2b1ba5a Docs: Turned into singular because there is only one note 2022-08-29 12:15:30 -04:00
ybasford 99cd35aae5 Docs: Removed redundant word 2022-08-29 12:15:24 -04:00
ybasford c98a55bcd4 Docs: Changed punctuation
Used a colon because it precedes a list
2022-08-29 12:15:20 -04:00
ybasford aae513ce00 Docs: Added a word 2022-08-29 12:15:16 -04:00
ybasford bc66b6defa Docs: Changed punctuation 2022-08-29 12:15:11 -04:00
ybasford 43c8778c7c Docs: Capitalized heading 2022-08-29 12:15:09 -04:00
ybasford 4e5e800222 Docs: Corrected typo 2022-08-29 12:15:06 -04:00
ybasford 6bcd5816ee Docs: Corrected grammar 2022-08-29 12:13:44 -04:00
ybasford 8794d2a3c1 Docs: Update aws-run-on-ec2-machine.md
Changed wording
2022-08-29 12:12:36 -04:00
ybasford 4ca7fdeae9 Docs: Changed to US spelling 2022-08-29 12:12:32 -04:00
ybasford 9dbe0016e1 Docs: Deleted extra word 2022-08-29 12:12:18 -04:00
Kekoa Kaaikala b622cb18bc Project: Add ShellCheck to pre-commit hooks
PR #2219
2022-08-29 11:10:09 -04:00
Mike Salvatore fd502a832a
Merge pull request #2220 from guardicore/add-mypy-precommit-hook
Project: Add mypy pre-commit check
2022-08-29 10:58:34 -04:00
Kekoa Kaaikala cea2d0842b Project: Include unit tests in mypy checks 2022-08-29 14:54:06 +00:00
Mike Salvatore 40d4f7f50c Island: Remode disused deb-package/ 2022-08-29 10:31:18 -04:00
Mike Salvatore 3000304d28 Island: Remove disused and empty `environment` subpackage 2022-08-29 10:30:01 -04:00
Mike Salvatore 9a95cfbc8b Project: Add machine_hardware_id to vulture_allowlist.py 2022-08-25 11:51:17 -04:00
Mike Salvatore def1dce86b Common: Rename MutableBaseModel -> MutableInfectionMonkeyBaseModel 2022-08-25 11:50:12 -04:00
Kekoa Kaaikala 47bb7b207f Project: Add mypy pre-commit check 2022-08-25 15:15:21 +00:00
Mike Salvatore 8e3abe7601 Merge branch 'prototype-register-agents' into develop 2022-08-25 10:21:54 -04:00
Mike Salvatore 478f3bea29
Merge pull request #2211 from guardicore/fix-batching-telemetry-thread-shutdown
Fix batching telemetry thread shutdown
2022-08-25 10:13:16 -04:00
Kekoa Kaaikala 2f50e30a92 Agent: Remove debug code 2022-08-24 20:10:35 +00:00
Kekoa Kaaikala 6bb710a495 Agent: Name the batching telemetry thread 2022-08-24 15:59:09 -04:00
Kekoa Kaaikala bcc0c86526 Agent: Fix batching telemetry thread shutdown 2022-08-24 19:51:19 +00:00
Mike Salvatore ab399e4f34 Island: Add debug logging to Agents resource 2022-08-24 08:54:41 -04:00
Mike Salvatore 9c32dee739 Agent: Register agent on startup 2022-08-24 08:54:41 -04:00
Mike Salvatore 80b4b05b65 Agent: Add pydantic as a dependency 2022-08-24 08:54:41 -04:00
Mike Salvatore 09739268fa Agent: Add get_machine_id() 2022-08-24 08:54:41 -04:00
Mike Salvatore 160d2d11cf Agent: Add get_agent_id() 2022-08-24 08:54:41 -04:00
Mike Salvatore 78f792aee9 Island: Add /api/agents endpoint 2022-08-24 08:54:41 -04:00
Mike Salvatore 00514a3c0d Common: Add AgentRegistrationData 2022-08-24 08:54:41 -04:00
Mike Salvatore 0607f36404 Common: Move transforms from monkey_island to common 2022-08-24 08:54:41 -04:00