This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

Remediation policies

Learn about remediation policies and how to use them.

Remediation policies define the conditions for applying remediation to a finding when an upgrade is available that fixes the finding.

Manage remediation policies

You can view, enable, clone, disable, edit, or delete your Endor Labs remediation policies.

  1. Sign in to Endor Labs and select Policies from the left sidebar.
  2. Click Remediation Policies.
  3. Use the search bar to search for a policy or click Create Remediation Policy.
  4. Enable or disable a policy using the toggle.
  5. To delete a policy, click the vertical three dots and select Delete Policy.
  6. To edit a policy, click on the vertical three dots and select Edit Policy.
  7. To clone a policy, click on the vertical three dots and select Clone Policy.

Create a remediation policy from a template

You can create a remediation policy in Endor Labs to address a finding when specific conditions are met.

  1. Sign in to Endor Labs, and select Policies from the left sidebar.

  2. Click on the Remediation Policies tab.

  3. Click Create Remediation Policy to create a new remediation policy.

  4. Select a policy template.

    Currently, you can choose Recommended Version Upgrades for Vulnerabilities.

  5. Next, choose the template parameters.

    • Upgrade Risk: The acceptable level of risk that a breaking change might occur with the upgrade.
    • Severity: Match upgrades that would fix findings with a particular severity.
    • Exclude Test: Select Yes to exclude version upgrade recommendations for fixing findings in test dependencies.
    • Dependency Reachability:: Match upgrades that address findings with the following level of dependency reachability.
      • Reachable dependency
      • Unreachable dependency
      • Potentially reachable dependency
    • Function Reachability: Match upgrades that address findings with the following level of function reachability.
      • Reachable function
      • Unreachable function
      • Potentially reachable function
    • Minimum Number of Findings: Only match upgrades that resolve a minimum number of findings equal to or greater than this value.
  6. Select a notification target to be associated with the remediation policy.

    See Integrations for more information on creation notification integrations.

  7. Assign Scope for which this remediation policy should apply. Scopes are defined by the tags assigned to a project.

    • In Inclusions, enter the tags of the projects that you want to apply the remediation policy.
    • In Exclusions, enter the tags of the projects that you do not want to apply the remediation policy. Exclusions take precedence over the inclusions, in case of a conflict.
    • Click the link to view the projects included in the remediation policy.
    • See Tagging projects for more information about creating project tags.
  8. Finally, you must Name Your Remediation Policy.

    • Enter a human-readable Name for your remediation policy.
    • Enter a Description for your remediation policy that explains its function.
    • Enter any Policy Tags that you want to associate with your policy. Tags can have a maximum of 63 characters and can contain letters, numbers, and characters = @ _ -.
  9. Advanced: When you define a policy, it applies to the current namespace and all its child namespaces.

    To prevent the policy from being applied to any child namespace, click Advanced and deselect Propagate this policy to all child namespaces.

  10. Click Create Remediation Policy.

    The policy is enabled by default.