Using Directed Remediation - Patches

To apply a patch that you have downloaded from Sentinel Source’s directed remediation function, use the standard practices for your preferred IDE or other process.

If you have not previously downloaded and installed the WhiteHat Security Libraries, you will need to download and install the library for your language (Java or C#), for the patch to work correctly.

Example: Eclipse

As an example, this is how to apply a directed-remediation patch in the Eclipse IDE.

  1. Right click the project or the file to which you want to apply the patch to.

    eclipse patches step1
  2. Select Team from the drop-down and click Apply Patch.

  3. Click Browse and select the patch file that you downloaded from Sentinel.

    patching with eclipse 2
  4. Select the downloaded patch file.

    eclipse patching 3
  5. Click Open.

  6. Click Next.

    eclipse patching 4
  7. Select the folder that contains the file to be patched.

    eclipse patching 5
  8. Click Next.

  9. Right-click the relative path provided by Sentinel and click Move.

    eclipse patching 6
  10. Select the file to be patched.

    eclipse patching 7
  11. Click OK.

  12. Double-click the corrected file location to view the difference between Local Copy and After Patch.

    eclipse patching 8
  13. Select Finish to apply the change locally.