Trend Micro Vision One AI Application Security#
Trend Micro Vision One AI Application Security’s AI Guard feature uses a configurable policy to identify risks in AI Applications, such as:
Prompt injection attacks
Toxicity, violent, and other harmful content
Sensitive Data
The following environment variable is required to use the integration:
V1_API_KEY
: A Vision One API Token with AI Guard Permissions
You can optionally set:
V1_URL
: The URL for which instances of AI Guard should be invoked Defaults tohttps://api.xdr.trendmicro.com/beta/aiSecurity/guard
for Vision One’s hosted US SaaS deployment
Setup#
# config.yml
rails:
input:
flows:
- trend ai guard input
output:
flows:
- trend ai guard output
# config.yml
colang_version: "2.x"
# rails.co
import guardrails
import nemoguardrails.library.trend_micro
flow input rails $input_text
trend ai guard $input_text
flow output rails $output_text
trend ai guard $output_text