Configure script to customize risk calculation

  • 릴리스 버전: Australia
  • 업데이트 날짜 2026년 03월 12일
  • 소요 시간: 3분
  • Configure the risk calculation script at the extension points where the risks bubble up to the next level. With such configuration, the risk engine ignores the default logic of risk calculation and looks for the custom logic.

    시작하기 전에

    Role required: script_include_admin

    이 태스크 정보

    There are three API extension points, at which the risks bubble up to the next level based on the script.

    You can configure the script at the following levels:

    • sn_apm.productModelCustomRiskCalculation – Product model (hardware and software models) risk level from the risks parameters level: The level at which the risks bubble up from the risks parameters level to the product model risk level.
    • sn_apm.AppBusinessServicesCustomRiskCalculation – Application service risk level from the product models risk level: The level at which the risks bubble up from the product model risk level to the application service risk level.
    • sn_apm.BusinessApplicationCustomRiskCalculation – Business application risk level from the application service risk level: The level at which the risks bubble up from the application service risk level to the business application risk level.

    프로시저

    1. Navigate to All > System Extension Points > Scripted Extension Points.
    2. Filter Application Portfolio Management applications in the Application column.
    3. Click the API Name.
    4. Scroll down to the Implementations section and click the extension point.
    5. Click the preview this record icon (Information icon) next to the Class field.
    6. In the Script Include pop-up, click Open Record button.

      By default, the sys_id of the function returns False for each of the API name and the risk engine follows the APM logic in calculating the risk.

      그림 1. Configure custom script to calculate risks, for example, sn_apm.AppBusinessServicesCustomRiskCalculation
      Configure custom script to calculate risks at three levels of risk calculation
    7. Configure the function to return True based on the sys_id of the API at the product model level, application service level, or business application level.

      The risk engine then calls the API for the custom logic and calculates the risk in line with this logic, which bubbles up to the next level of risk calculation.

    8. Click Update.