Closed MinoruSekine closed 2 years ago
For prevention of injection attacks, it will be useful to validate string to specify bucket(s) with codes like following.
if('extras nonportable' -inotmatch '^(\w+\s*)+$') {Write-Error 'Illegal bucket(s) name.' -ErrorAction Stop}
Now I've decided only known buckets will be supported in this issue 😃
7
Background
extras
andnonportable
can be installed by this action, but the other bucket can't be installedAcceptance criteria
add_extras_bucket
andadd_nonportable_bucket
flags for transition from current usage