mirror of
https://github.com/microsoft/onefuzz.git
synced 2025-06-17 12:28:07 +00:00
Rework events (#3069)
* Start reworking events * Trying things out * . * Add versioning, create events container in deploy script * Improve gitignore * Making the types line up * Lets see how it works * . * Add CLI for querying event * Linting * Update src/ApiService/ApiService/Functions/Events.cs Co-authored-by: George Pollard <porges@porg.es> * almost done testing * Added test --------- Co-authored-by: George Pollard <porges@porg.es>
This commit is contained in:
@ -6,7 +6,6 @@ var suffix = uniqueString(resourceGroup().id)
|
||||
var storageAccountNameFuzz = 'fuzz${suffix}'
|
||||
var storageAccountNameFunc = 'func${suffix}'
|
||||
|
||||
|
||||
var storage_account_sas = {
|
||||
signedExpiry: signedExpiry
|
||||
signedPermission: 'rwdlacup'
|
||||
@ -14,6 +13,9 @@ var storage_account_sas = {
|
||||
signedServices: 'bfqt'
|
||||
}
|
||||
|
||||
var storageAccountFuzzContainersParams = [
|
||||
'events'
|
||||
]
|
||||
|
||||
var storageAccountFuncContainersParams = [
|
||||
'vm-scripts'
|
||||
@ -102,6 +104,13 @@ resource storageAccountFunBlobContainers 'Microsoft.Storage/storageAccounts/blob
|
||||
]
|
||||
}]
|
||||
|
||||
resource storageAccountFuzzBlobContainers 'Microsoft.Storage/storageAccounts/blobServices/containers@2021-08-01' = [for c in storageAccountFuzzContainersParams: {
|
||||
name: '${storageAccountNameFuzz}/default/${c}'
|
||||
dependsOn: [
|
||||
storageAccountFuzz
|
||||
]
|
||||
}]
|
||||
|
||||
output FuzzName string = storageAccountNameFuzz
|
||||
output FuncName string = storageAccountNameFunc
|
||||
|
||||
|
Reference in New Issue
Block a user