For the complete documentation index, see llms.txt. This page is also available as Markdown.
Cortex XSOAR 6.13

Reputation Scripts

Configure scripts that calculate indicator verdicts.

Reputation scripts are user-created scripts that gets the indicator value and returns the verdict as a number. The number overrides the verdict returned from the reputation command and any default settings for the indicator that relates to the verdict, but does not override a manually set verdict.

The system automatically executes the reputation script in the following cases:

  • During enrichment: When enrichment is triggered (via indicator extraction, the enrichIndicators command, or the Enrich button), the system runs the reputation command and then the reputation script for the specific indicator type.

  • If a verdict changes not via the enrichment process: If you manually run a reputation command such as !file and the result changes the indicator's verdict, the reputation script runs to finalize the decision. This happens even if you used the using argument to target a specific integration.

The reliability of the score from a reputation script by default is A++ - Reputation script. You can modify the configuration by selecting Settings → ABOUT → Troubleshooting → Add Server Configuration and then add the enrichment.reputationScript.reliability server configuration with the desired reliability score.

To apply a reputation script to an indicator type:

  1. Go to Settings → OBJECTS SETUP → Indicators → Types.

  2. Select the indicator type and click Edit.

  3. Select the desired reputation script.

    Reputation scripts must have the reputation tag applied to appear in the list.

Note

The Reputation script overrides any default settings for the indicator that relates to the verdict.

Out-of-the-box Reputation Script Examples

In the Automation page, there several out-of-the box reputation scripts, including:

  • CertificateReputation

  • cveReputation

  • MaliciousRatioReputation

  • SSDeepReputation

CLI Execution Examples

  • !CertificateReputation input=``<value of the indicator>

  • !MalicioiusRationReputation input=``<value of the indicator>

Reputation Script Input

The reputation requires a single input argument named input that accepts an indicator value.

Argument
Description

input

The indicator value.

reputation-settings.png

Reputation Script Outputs

Either a number or a dbotScore. It can either be a raw number which is the score, or a full entry with DBotScore.

Values for Common.DbotScore

Constant
Value

Common.DbotScore.NONE

NONE = 0

Common.DbotScore.GOOD

GOOD = 1

Common.DbotScore.SUSPICIOUS

SUSPICIOUS = 2

Common.DbotScore.BAD

BAD = 3

Last updated

Was this helpful?