the artifact parameter doesn't accept the entire file path of the file. For manual execution works file, but when automating it could became a challenge, since is better to avoid the using of the cd command.
Error e.g.:
/tmp/uac/uac-main/uac -a /tmp/uac/uac-main/artifacts/memory_dump/avml.yaml /tmp
uac: artifact file not found '/tmp/uac/uac-main/artifacts//tmp/uac/uac-main/memory_dump/avml.yaml'
Works with when in the same directory:
e.g.:
pwd
/tmp/uac/uac-main
/tmp/uac/uac-main/uac -a artifacts/memory_dump/avml.yaml /tmp