Create configurations for an approval rule
Define the conditions to filter out matching vulnerable items, remediation tasks, or exception rules for an approval level.
시작하기 전에
Role required: sn_vul.vulnerability_admin
이 태스크 정보
프로시저
예
You can define different approval paths for:
- Example 1: Different types of vulnerabilities or configuration items (internet facing or internal).
- Example 2: Deferral and risk reduction requests when a remediation owner raises these requests concurrently for host vulnerable items (VITs) or remediation tasks (VUL).
The Change Approval column holds the deferral state change approval records. When you set a condition on the Change approval column using the condition builder, the deferral approval record is considered but not the risk reduction approval record. So, to set the condition on the risk reduction state change approval record, use the Advanced condition field.
For the Exception request for vulnerable items approval rule, the Request for risk rating from Medium to Low approval configuration is shipped with the base system. This configuration is set to false by default. You can use this configuration to set an approval path for the risk reduction requests from Medium to low. You can also update the script in this configuration so that it is applicable for various risk rating changes in the risk reduction requests.
Request for risk rating from Medium to Low configuration:function evaluate() { var gr = new GlideRecord("sn_vul_change_approval"); gr.addQuery("sys_id", approval); gr.addQuery("current_value", "3 - Medium"); gr.addQuery("desired_value", "4 - Low"); gr.query(); if (gr.next()) { return true; } return false; } evaluate();Set the preceding configuration to true with lowest order and set the Default configuration - Exception request for VI configuration to true.
Result: When a remediation owner raises a deferral and risk reduction requests concurrently from the IT Remediation Workspace, the deferral approval requests are redirected to the approvers defined in the Default configuration - Exception request for VI and the risk reduction approval requests are redirected to the approvers defined in the Request for risk rating from Medium to Low configuration.