The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

update_sanctions_csv

SYNOPSIS

update_sanctions_csv [options]

 Options:
   -help|?                         brief help message
   -sanction_file|f                Output file to write sanctions
   -eu_token|token|t               EU Sanctions token
   -eu_url|eu                      EU Sanctions full url,token included ((or file path prefixed by 'file://')
   -hmt_url|hmt                    HMT Sanctions url (or file path prefixed by 'file://')
   -ofac_sdn_url|ofac              OFAC Sanctions url (or file path prefixed by 'file://')
   -ofac_consolidated_url|ofac_con OFAC-Consolidated Sanctions url (or file path prefixed by 'file://')

OPTIONS

-help or -?: optional

Print a brief help message and exits.

-sanction_file or -f: optional

Output file to write sanctioned names into.

-eu_token, -token or -t: required if eu_url is empty

The token required for accessing EU sanctions (usually added as an arg to URL).

-eu_url or -eu: required if eu_token is empty

EU Sanctions full url, token included.

-hmt_url or -hmt: optional

HMT Sanctions url. It can be a file url, useful for test purposes.

-ofac_sdn_url or -ofac: optional

OFAC Sanctions url. It can be a file url, useful for test purposes.

-ofac_consolidated_url or -ofac_con: optional

OFAC-Consolidated Sanctions url. It can be a file url, useful for test purposes.

DESCRIPTION

This program retrieves sanction lists from all sources and saves them to the sanction file. EU sanctions cannot be retrieved without a token; so the program should be executed either with a eu_token or eu_url argument. Other URLs are optional.