Vulnerable Item remediation task risk score is set to 0. Not calculating for some records

DikshaS
Tera Contributor

Hello,

 

on Remediation task form the risk score is 0 even the Vits under that remediation task is open and have non zero risk score value.

sometime for some remediation task there is related link of update status works to update the risk score after clicking manually, but automatically its not calulating for some Remediation tasks.

 

I have checked the scheduled jobs as well and script include by applying logs under the script but getting undefined as a result of every parameter while calling script include from schedule job of Rollup vulnerability score to Remediation taska dn Vulnerabile items.

 

kindly help if there is any thing specific I need to check. 
Thanks.

1 REPLY 1

Amit Gujarathi
Giga Sage
Giga Sage

HI @DikshaS ,
I trust you are doing great.

To begin, let's focus on troubleshooting the automatic calculation of risk scores for Remediation tasks. Please follow the steps below:

  1. Verify Scheduled Jobs:

    • Go to the ServiceNow instance and navigate to "Scheduled Jobs."
    • Check if there are any scheduled jobs related to updating risk scores or calculating vulnerability scores. Ensure that they are configured correctly and running at the desired frequency.
  2. Examine Script Includes:

    • Review the script includes involved in the calculation and update of risk scores.
    • Check if there are any logs or debug statements in these script includes to identify any potential issues.
    • Ensure that the necessary parameters are being passed correctly when calling the script include from the schedule job of Rollup vulnerability score to Remediation task and Vulnerable items.

If you have performed the above steps and still encounter issues or receive "undefined" as a result for every parameter, consider the following:

  1. Log Analysis:

    • Analyze the logs of the scheduled jobs, script includes, and any related events to identify any error messages or unexpected behavior.
    • Review the logs for any potential issues or exceptions that might help pinpoint the root cause of the problem.
  2. Debugging:

    • Enable debugging or logging within the script includes to capture more detailed information about the execution flow.
    • Run a test scenario and examine the logs for any clues about why the risk score calculation is not functioning as expected.
  3. ServiceNow Community and Documentation:

    • Consult the ServiceNow community forums, knowledge base, or official documentation for any reported issues or best practices related to risk score calculation and Remediation tasks.
    • Look for any specific troubleshooting steps or recommendations provided by the ServiceNow community or official resources.

Was this answer helpful?


Please consider marking it correct or helpful.


Your feedback helps us improve!


Thank you!


Regards,


Amit Gujrathi