mirror of
https://github.com/microsoft/onefuzz.git
synced 2025-06-14 11:08:06 +00:00
Add a registration command to allow an application registration to connect to the Onefuzz (#2571)
This commit is contained in:
@ -383,7 +383,7 @@ class Client:
|
||||
},
|
||||
{
|
||||
"allowedMemberTypes": ["Application"],
|
||||
"description": "Allow access from a lab machine.",
|
||||
"description": "Allow access from a managed node.",
|
||||
"displayName": OnefuzzAppRole.ManagedNode.value,
|
||||
"id": str(uuid.uuid4()),
|
||||
"isEnabled": True,
|
||||
@ -397,6 +397,14 @@ class Client:
|
||||
"isEnabled": True,
|
||||
"value": OnefuzzAppRole.UserAssignment.value,
|
||||
},
|
||||
{
|
||||
"allowedMemberTypes": ["Application"],
|
||||
"description": "Allow access from an unmanaged node.",
|
||||
"displayName": OnefuzzAppRole.UnmanagedNode.value,
|
||||
"id": str(uuid.uuid4()),
|
||||
"isEnabled": True,
|
||||
"value": OnefuzzAppRole.UnmanagedNode.value,
|
||||
},
|
||||
]
|
||||
|
||||
if not app:
|
||||
|
Reference in New Issue
Block a user