You can ask the ServiceNow AI agent for vulnerability data in plain language by opening the ServiceNow Otto panel, selecting Retrieve VR data and typing your question. The agent searches host vulnerable items (VITs) and application vulnerable items (AVITs), then answers from the records your roles let you see.
Setting up access before the first question
Your license decides which application features, generative AI skills, agentic workflows and AI agents you can use. The ServiceNow Otto panel must also be activated. If the Otto icon is missing from the header, the panel has not been activated yet.
The agent answers from findings already in your instance, so those findings need to be imported before a question can return them. Related guides cover importing Tenable scan results, AI Security Exposure Management integrations and checking the status of NVD imports.
Plan access before a review starts. Ask whoever administers roles on your instance to confirm that the assigned role matches the record type your review covers.
Roles that control which records appear
The records you can see depend on the roles assigned to you. You do not need all three roles to use the agent. Match your role to the record type you want to query:
- Host vulnerable items (VITs): at a minimum, sn_vul.remediation_owner or sn_vul.vulnerability_analyst.
- Application vulnerable items (AVITs): at a minimum, sn_vul.app_sec_manager.
Because the agent answers from the records you can see, two people who ask the same question can get different answers. That is expected, so check your roles before you judge the query itself.
Opening the agent from the Otto panel or a workspace
- Log in to your ServiceNow AI Platform instance.
- Select the ServiceNow Otto icon in the header, which is available from anywhere in your instance.
- In the ServiceNow Otto panel, select Retrieve VR data.
- Type your question in natural language.
Workspaces give a second route into the same agent, and each workspace expects a specific role:
- IT Remediation Workspace: sn_vul.remediation_owner for VITs. The legacy IT Remediation owner workspace is supported on Vulnerability Response versions earlier than 30.0.
- Vulnerability Manager Workspace: sn_vul.vulnerability_analyst for VITs, or sn_vul.app_sec_manager for AVITs. The legacy Vulnerability Manager workspace is supported on versions earlier than 30.0.
- Security Exposure Management Workspace: sn_vul.remediation_owner for VITs, sn_vul.vulnerability_analyst for VITs, and sn_vul.app_sec_manager for AVITs. It requires Vulnerability Response 30.0 or later and is supported by Unified Security Exposure Management (USEM). For related steps, see Unified Security Exposure Management remediation.
Writing queries the agent can match
Write each question as you would ask a colleague who can see the same records. The agent looks for records that match your question, so the more specific the criteria, the closer the match. A broad threshold can return no matches, and the agent then reports that no items were found.
Name the field when a number could mean more than one thing. Findings carry several numeric fields, including Risk rating, Risk score, Common Vulnerability Scoring System (CVSS) and Exploit Prediction Scoring System (EPSS). Without a field name, the agent will not know which one you mean. Asking for open VITs at Risk rating 1 – Critical names both the field and the value.
Dates need the same care. Give the window in days, such as the next 7 days, rather than a word like soon, which gives the agent nothing specific to match.
Sample questions for IT remediation owners
- Open VITs with a remediation target in the next 7 days.
- Open critical VITs that are internet-facing and assigned to me.
- Deferred VITs assigned to me that expire within 30 days.
- Open VITs currently assigned to me.
Sample questions for vulnerability analysts
- Open VITs with active exploits in the wild.
- Open critical VITs with a remediation target within 7 days.
- Deferred VITs that expire in 7 days.
- VITs that are currently unassigned.
The same state can be asked about with different scopes. Keep the state fixed and change the owner or the time window to see how the list shifts.
Turning a review question into a precise prompt
A precise prompt usually has five parts. Include the ones that matter for the question you are asking.
- Record type. Say VITs for host findings or AVITs for application findings.
- State. Name the state you want, such as open or deferred.
- Ownership. Say whether the records are assigned to you or unassigned.
- Time window. Add a window such as within the next 7 days or expiring within 30 days.
- Field and value. Name the field, such as Risk rating, and the value, such as 1 – Critical.
Each part narrows the search. Naming the record type tells the agent whether to search host findings or application findings. Naming the state narrows the answer to items in that state. A question that uses four of the parts reads like this: “Show me all the open VITs assigned to me with a remediation target within the next 7 days.”
Running a review session with the agent
A review works better as a sequence of short questions than as one long question. Use this order so each answer stays traceable.
- Start with a broad question limited to your ownership, such as open VITs assigned to me.
- Narrow the list with a field and value, then ask follow-up questions in the same chat while the topic stays the same.
- Note which records each answer refers to, so you can open them directly.
- Start a new chat when the topic changes, such as moving from host findings to application findings.
- Check the records themselves before you act on a list.
Keep a short written log of each question, the answer and the records you checked. When someone later asks why an item was or was not acted on, the log answers that question.
Reading the answer and deciding what to do next
The agent searches for vulnerability records that match your question, retrieves them and writes a response from the data available. Treat each answer as a starting point. Open a returned record and compare its fields with what the answer says before you act on it.
Check three things on that record: the state matches the answer, the owner matches, and the time window still applies to today’s date.
An empty answer can mean your criteria or your role did not match any records. Check your role first, then rephrase the question with a field and value, or change the criteria. A narrow question is also easier to verify than a broad one, because you have fewer records to compare.
If a record you expect in the record list is missing from the answer, rephrase with its state and record type and ask again. If the gap remains, raise it with whoever manages roles on your instance, because role assignments decide what the agent can retrieve for you.
Troubleshooting when the agent cannot help
Four checks cover the common failures:
- The Otto icon is missing from the header. The ServiceNow Otto panel needs to be activated first.
- Records you expect do not appear. Confirm that one of the required roles for that record type is assigned to you.
- The answer covers the wrong records. Name the record type and check that the field name matches the on-screen label, such as Risk rating.
- The question is too broad. Narrow it to one record type, one state and one field, then add the other parts back one at a time.
If you are planning how to roll this out across roles and workspaces, see ServiceNow implementation.
Questions about querying findings with the AI agent
How long does the agent remember earlier questions in a chat?
The agent uses the context of an open conversation when it answers your next question. That context stays in place until you close the conversation. To start fresh, select the plus icon. Use a new chat when the next question has no connection to the earlier one, so earlier criteria do not shape the new answer.
Can the agent calculate totals, trends or comparisons across findings?
No. Prompts that involve data analysis of the vulnerability data are not supported by this agent. It retrieves matching records, so pull the list with a narrow query and do the counting or comparing in another tool.
Can I use the agent for application findings as well as host findings?
Yes. Application vulnerable items (AVITs) are included. Substitute AVITs for VITs in your query, for example by asking to see open AVITs at a given Risk rating.
Can the agent change a finding or close a vulnerability?
The agent’s purpose is retrieving information about findings, so make any update on the finding record itself, using the controls your role allows.
Are the sample questions a complete list to work from?
No. The samples are a starting set and do not cover all cases. Results may vary, so treat the lists as prompts to adapt rather than a checklist.