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 Guard 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.
- Open the Trend Micro Artifact Scanner CLI.
- 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.
- View the results of the scan in AI Scanner.For more information on the results available in AI Scanner, see AI Scanner scan results.
