Add application-insights debug cli (#281)

This commit is contained in:
bmc-msft
2020-11-11 06:17:43 -05:00
committed by GitHub
parent daba3232bc
commit e638908aac
6 changed files with 109 additions and 1 deletions

View File

@ -82,6 +82,11 @@ def get_subscription() -> Any: # should be str
return parse_resource_id(os.environ["ONEFUZZ_DATA_STORAGE"])["subscription"]
@cached
def get_insights_appid() -> str:
return os.environ["APPINSIGHTS_APPID"]
@cached
def get_fuzz_storage() -> str:
return os.environ["ONEFUZZ_DATA_STORAGE"]