Skip to main content

Policies for secret detection

Endor Labs comes with the following out-of-the-box finding policies to detect leaked secrets. See Finding Policies for details on how to enable, disable, or edit out-of-the-box policies.
The out-of-the-box secret policies can be deleted and re-created from the corresponding policy templates. See Policy templates for secret detection below.
The Secrets without validation rules policy sets the severity of JSON Web Token (JWT) findings from the token’s exp claim. Expired tokens get Low severity, and unexpired tokens get High severity. Tokens without an exp claim keep the severity configured in the policy. Endor Labs reads the exp claim offline and checks it each time the policy runs. A token that expires after an earlier scan gets Low severity on the next scan.

Policy templates for secret detection

Endor Labs provides the following finding policy templates for detecting secrets. See Finding Policies for details on how to create policies from policy templates.