I’m trying to use a set of SHA256 hashes to be in a single parameter for a “contained by set of” query, but I’m not getting a true return from the if statement.
action parameter query "hashlist" with description "SHA256 Hashes for valid files in quotes separated by semicolon"
Then follow up with an if query to make sure the file I’m copying is in that parameter:
if {((sha256 of it) of file (<file path>)) is contained by set of (parameter "hashlist")}
<copy that file>
endif
Can I use the parameter function to store an array? Is there another way to do this without embedding the hash list in the script?