mirror of
https://github.com/microsoft/onefuzz.git
synced 2025-06-19 21:13:46 +00:00
Merge pull request from GHSA-q5vh-6whw-x745
* verify aad tenants, primarily needed in multi-tenant deployments * add logging and fix trailing slash for issuer * handle call_if* not supporting additional argument callbacks * add logging * include new datatype in webhook docs * fix pytypes unit tests Co-authored-by: Brian Caswell <bmc@shmoo.com>
This commit is contained in:
@ -25,7 +25,7 @@ class InstanceConfig(BASE_CONFIG, ORMMixin):
|
||||
def fetch(cls) -> "InstanceConfig":
|
||||
entry = cls.get(get_instance_name())
|
||||
if entry is None:
|
||||
entry = cls()
|
||||
entry = cls(allowed_aad_tenants=[])
|
||||
entry.save()
|
||||
return entry
|
||||
|
||||
|
Reference in New Issue
Block a user