mirror of
https://github.com/microsoft/onefuzz.git
synced 2025-06-16 11:58:09 +00:00
add instance_id generated at install time (#245)
This commit is contained in:
@ -12,7 +12,12 @@ from onefuzztypes.enums import Compare, ContainerPermission, ContainerType, Task
|
||||
from onefuzztypes.models import TaskConfig, TaskDefinition, TaskUnitConfig
|
||||
|
||||
from ..azure.containers import blob_exists, container_exists, get_container_sas_url
|
||||
from ..azure.creds import get_func_storage, get_fuzz_storage, get_instance_url
|
||||
from ..azure.creds import (
|
||||
get_func_storage,
|
||||
get_fuzz_storage,
|
||||
get_instance_id,
|
||||
get_instance_url,
|
||||
)
|
||||
from ..azure.queue import get_queue_sas
|
||||
from .defs import TASK_DEFINITIONS
|
||||
|
||||
@ -187,6 +192,7 @@ def build_task_config(
|
||||
add=True,
|
||||
),
|
||||
back_channel_address="https://%s/api/back_channel" % (get_instance_url()),
|
||||
instance_id=get_instance_id(),
|
||||
)
|
||||
|
||||
if definition.monitor_queue:
|
||||
|
Reference in New Issue
Block a user