Specify a target AI model and select the attack objective, technique, and modifier
to scan in the command line interface (CLI) using Trend Micro's hosted infrastructure.
For self-hosted configuration, see Configure self-hosted AI scan settings.
Procedure
- Create an application programming interface (API) key for your AI model.

Important
When adding the API key, you must select a role with all AI Scanner permissions. If your organization does not have an existing user role with the necessary permissions, create a custom role or contact your administrator.For more information, see API keys.- Go to .
- Click Add API key.
- Enter a name, role, expiration time, and description.Trend Micro recommends storing your API key for AI Scanner under the name
$V1_API_KEY. - Click Add.
- Copy and retain the API key.
- Download and install the Trend Micro Artifact Scanner command-line interface (CLI).
- Configure the scan settings in the CLI.
- Store the Trend Vision One API key as an environment variable:
export TMAS_API_KEY=<your_vision_one_api_key> - Add Trend Micro Artifact Scanner CLI to your path:
export PATH="/path/to/tmas/binary/directory:$PATH" - Start Trend Micro Artifact Scanner AI Scanner:
-
For the US Trend Vision One region, run this command:
./tmas aiscan llm -i -
For other Trend Vision One regions, add the region flag. For example, for the JP region, run this command:
./tmas aiscan llm -i --region=ap-northeast-1
-
- Follow the CLI wizard to name the group, enter the target API endpoint, supply the new API key, and define the JSON keys for the request and response bodies.
- Select one or more attack objectives, techniques, and modifiers from the provided options.
- Click Yes to save the scan configuration and specify a file name.
- When the scan completes, go back to AI Scanner to view the full results.
- Store the Trend Vision One API key as an environment variable:
- View the results of the scan in AI Scanner.For more information on the results available in AI Scanner, see AI Scanner scan results.
