Skip to main content

Deny Patches in Default Policy From Centralized ITGLue KBIDs - Function

Summary

This function script is called from Deny Patches in Default Policy From Centralized ITGlue KBIDs - Flexible Asset.
Its function is to deny those patches present in the plugin_proval_denied_patches table.

Sample Run

This is a function script and cannot be executed directly on the computers.
Sample Run Image

Dependencies

Variables

NameDescription
%sqlHOTFIXID%HotFixID passed down from Deny Patches in Default Policy From Centralized ITGlue KBIDs - Flexible Asset script.
@Count@Number of distinct OS for %sqlHOTFIXID%.
@sqlOS@Operating System of the %sqlHOTFIXID%.
@ApprovalPolicyID@ID of the default approval policy.

Process

Step 1: Finds the distinct operating systems for the HotFixID passed down from Deny Patches in Default Policy From Centralized ITGlue KBIDs - Flexible Asset script. Fetches all the operating systems for the denied KBID that is available in the environment.
Step 2: Runs a loop to deny that KBID for all applicable operating systems.

Output

Denied patches can be checked from the default approval policy.