Added tomodachi internals to safe modules
@@ -488,23 +488,28 @@ SAFE_MODULES = [
"token",
"tokenize",
"tomodachi",
+ "tomodachi.__main__",
"tomodachi.__version__",
"tomodachi.cli",
"tomodachi.config",
"tomodachi.container",
+ "tomodachi.discovery",
+ "tomodachi.discovery.aws_sns_registration",
+ "tomodachi.discovery.dummy_registry",
"tomodachi.envelope",
"tomodachi.envelope.json_base",
- "tomodachi.protocol.json_base",
"tomodachi.envelope.proto_build",
"tomodachi.envelope.proto_build.protobuf",
"tomodachi.envelope.proto_build.protobuf.sns_sqs_message_pb2",
"tomodachi.envelope.protobuf_base",
"tomodachi.helpers",
+ "tomodachi.helpers.aiobotocore_connector",
"tomodachi.helpers.crontab",
"tomodachi.helpers.dict",
"tomodachi.helpers.execution_context",
"tomodachi.helpers.logging",
"tomodachi.helpers.middleware",
+ "tomodachi.helpers.safe_modules",
"tomodachi.importer",
"tomodachi.invoker",
"tomodachi.invoker.base",
@@ -512,7 +517,12 @@ SAFE_MODULES = [
"tomodachi.launcher",
"tomodachi.protocol",
"tomodachi.protocol.json_base",
+ "tomodachi.protocol.proto_build",
+ "tomodachi.protocol.proto_build.protobuf",
+ "tomodachi.protocol.proto_build.protobuf.sns_sqs_message_pb2",
"tomodachi.protocol.protobuf_base",
+ "tomodachi.run",
+ "tomodachi.run.__main__",
"tomodachi.transport",
"tomodachi.transport.amqp",
"tomodachi.transport.aws_sns_sqs",
