To set up a threat score calculator in Threat Intelligence Security Center (TISC), an administrator with the sn_sec_tisc.admin role enables the single provisioned scoring rule, defines weighted criteria that total 100 percent, and runs Re-Calculate History for existing observables. The rule stays inactive until you enable it, so check after setup that observables actually receive scores.
Confirm the prerequisites and roles before you start
TISC comes from the ServiceNow Store, so an administrator installs it first and then assigns the sn_sec_tisc.admin role to the person who will own the rule. Confirm that these plugins are installed and active before you configure anything: Security Case Management common workspace components (com.snc.escm.ws_commons), Threat Intelligence Support Common (com.snc.threat), Column Level Encryption (com.glide.encryption), Large JSON and XML Payload Builder API (com.glide.streaming_builder), and Security Support Core (com.snc.security_support.core).
The same admin role also configures data sources, enrichment integrations, data import approvals, taxonomies, and the MITRE-ATT&CK repository. Scores depend on observable records, so confirm that the feeds creating those records are running. If you are still ordering the rollout, the implementation roadmap for threat intelligence helps place this step in sequence.
The analyst role, sn_sec_tisc.analyst, covers the TISC Home overview, importing and searching intelligence in the Threat Library, enrichment actions, and case work. For help planning the wider rollout, see ServiceNow implementation.
Find the scoring rule and enable it
Go to Workspaces > Threat Intelligence Security Center > Administration, then open Threat Scoring Rule. The Threat Score Calculator page opens with the form for the predefined rule. Its Name and Description fields are prefilled, so reword the description to say what your scoring logic actually weighs.
The base system provides one scoring rule. You can view, edit, and modify it, but you cannot create a new rule or delete the predefined one.
The rule is inactive by default, and observables show no scoring until you enable it. Treat enabling as the last step, once the criteria are complete.
Overall weightage is read only and shows the total weight of the enabled criteria. Scoring Criteria lets you choose between Criteria Builder and Use Script (Advanced).
Choose between Criteria Builder and a script
Both options define the same scoring rule, so the choice depends on how the logic will be maintained. Criteria Builder lets you add, edit, remove, enable, and disable criteria, and it expects the aggregated weightage to total 100 percent. Use Script (Advanced) runs a custom function that returns a threat score from 0 to 100.
In practice, Criteria Builder is easier for a second administrator to read, because each criterion shows its table, field, weight, and conditions in one place. Choose the script only when the logic cannot be written as field conditions, and test it the way you would test any code.
Build criteria in the Criteria Builder
Select the table and field
Open the table drop-down. It lists Observables, Threat Actor, Campaign, Location, Identity, Vulnerability, Threat Event, Security Incident, and Aggregates. When the table is Observables, the condition applies to the observable being scored. For any other table, the condition applies only to records related to that observable.
The Aggregates table scores an observable by how many related records it has. Select Aggregates, then a field such as No of Threat Actors, and set a score for a count range, for example more than two threat actors.
Weight, name, and enable each criterion
- Select the type of criteria, for example Add a New Criteria.
- Select the table, then the field from that table.
- Enter a weightage between 0 and 100.
- Enter a name and a short description for the criterion.
- Select the Enable scoring criteria check box.
- Define the conditions and the score for each one. Use New Condition to add a condition and the Delete Criteria icon to remove one.
- Click Add to save the criterion.
Overall weightage counts enabled criteria only. A disabled criterion drops out of the total, so you can test a weighting change by switching criteria off and on before you settle the mix. Keep the enabled weights at 100 percent before you enable the rule.
Write conditions that cover the full value range
A worked example uses the Vulnerability table, the CVSS2.0 field, and a 30 percent weight. Condition one scores 80 when CVSS2.0 is greater than 7. Condition two scores 50 when the value is above 4 and below 7. Condition three scores 10 when the value is below 4.
Those operators leave exactly 4 and exactly 7 unmatched. Decide what those boundary values should score, and write a condition for each one.
Write the advanced script option only when you need it
The script field starts with a function that takes two parameters, current and aggregates, and returns the threat score, which must fall between 0 and 100. The current parameter is the GlideRecord for the sn_sec_tisc_observable table. The aggregates parameter is the GlideRecord for the sn_sec_tisc_aggregates table, which holds counts of related records such as campaigns or identities.
A sample function reads threat_severity on the observable and returns 80 when the value equals high. Otherwise it reads num_of_campaigns from the aggregates record and returns 50 when the count is above zero. If neither branch matches, it returns 0. Use the sample as a pattern and check each field name against your own records.
Recalculate scores that were already calculated
Changes apply to new observables and later updates, so older scores stay in place until you restate them with Re-Calculate History.
- On the Threat Score Calculator page, click Re-Calculate History.
- Read the confirmation message. It warns that the job runs in the background and that you cannot make changes until it completes.
- Click Ok.
While the job runs, the system blocks changes to the threat scoring rule. Update events generated for observables during the recalculation skip webhook processing by default. The system property webhook_ignore_threat_score_reapply controls this, so change it only after you have checked which downstream systems depend on those webhooks.
Test the rule on sample observables
A weight that looks right on paper can still produce an unexpected score, so test before the rule feeds anything downstream.
- Pick observables that differ in type and in how many related records they have. Include some with no relations and some with several.
- Confirm each one shows a score from 0 to 100.
- Work out the expected score from the enabled criteria, and compare it with the result.
- Look closely at any observable that sits on a condition boundary, such as a CVSS2.0 value of exactly 4 or 7.
After the scores look right, track how they behave over time. The threat intelligence metrics that matter guide covers what to watch once scores are in use.
Troubleshoot a rule that shows no scores or will not change
- Observables show no score. Check that the rule is enabled.
- The total does not reach 100 percent. Check that the enabled criteria add up to 100 in Overall weightage.
- Older observables still show the previous score. Run Re-Calculate History to restate the existing scores.
- You cannot edit the rule. A recalculation job may still be running, and the system blocks changes until it completes.
- Webhook consumers miss updates during recalculation. Webhook processing for these update events is off by default, so review the webhook_ignore_threat_score_reapply property before you change it.
- A script returns no score. Confirm the function returns a value from 0 to 100 on every path, including the fallback.
Other setup pitfalls are covered in common mistakes in threat intelligence setups.
Release differences to check before you start
The steps are the same in the Xanadu, Yokohama, Zurich, Australia, and Brazil releases. Brazil is the most recent of the five, so confirm labels and menu paths on your own instance, since a later release can change them.
Questions about the calculator setup
Does a disabled criterion count toward the 100 percent total?
No. Only enabled criteria count toward Overall weightage, so enable the criteria you want included, confirm they total 100 percent, and then enable the rule.
Does the threat score drive any automated flows?
Yes, in the Brazil release. The automated flow Analyze, assess the IoCs related to the threat and create incident fires when a sighting is created for an observable with a sighting count above 0, a Malicious reputation, a threat score above 80, and a confidence above 80. It creates a security incident, adds the observable to it, and sends an email. Open the flow under All > Threat Intelligence Security Center > Administration > Automated Flows. Working with it requires the System Administrator role (view, create or edit) and the sn_sec_tisc.admin role (view). Test a few scored observables against those thresholds before you rely on the flow.
Should I use a criterion or a script for better accuracy?
Choose on maintainability rather than expected accuracy. Both options write the same scoring rule, so your test results decide whether the logic is right. A criterion shows its table, field, weight, and conditions in one place. A script is code that needs its own tests and review each time the logic changes.
How can I check boundary values without waiting for live traffic?
Pick a few observables that already sit near each boundary, such as a value of exactly 4 or 7, and note their current scores. Recalculation applies to every observable that already has a score, so make the change on a non-production instance first if you have one. Then run Re-Calculate History and compare the results with your notes.
Who should own the scoring rule after setup?
Give sn_sec_tisc.admin to the people who answer for score logic, and keep everyone else on sn_sec_tisc.analyst. Analyst tasks cover enrichment, the Threat Library, and cases rather than editing the rule. Have each administrator review the weights before any recalculation starts.