List of Built-in Templates

To add custom rules to an existing template or create a new template with the AI Rego Playground, use Create Rule. Here is the list of built-in templates.

To add custom rules to an existing template or create a new template with the AI Rego Playground, use Create Rule. The AppTrust built-in templates are shown below.

Template NameTemplate DescriptionTemplate Parameters
{stage.gate} AppTrust Gate Certification existsTriggers violation if AppTrust gate certification evidence for {stage.gate} is missing.predicateType
stage
gate
Missing Evidence Slug from ProviderTriggers violation if evidence with the specified slug (predicate type) is missing or not verified. Missing evidence is reported as a Missing evidence issue. Unverified evidence is reported as a Property check issue, with the property verified and the expression is false.predicateType
{CVE severity} CVE with CVSS score between {min value} and {max value} (Ignore applicability)Triggers violation if CVE score falls in range; optionally skips “Not Applicable”.
Ignore applicability: Results from the JFrog Applicability Scanner are ignored for this rule.
min_cvss
max_cvss
{CVE severity} CVE with CVSS score between {min value} and {max value} (skip if not applicable)Triggers violation if CVE score falls in range; Skip "Not Applicable" option: If enabled, the violation is skipped when the JFrog Applicability Scanner marks the finding as Not Applicable. Otherwise, the issue is triggered.min_cvss
max_cvss
{severity} severity exposures findingsTriggers a policy violation when an application version contains exposure findings (secrets, services, or application security) matching the specified severity levels.severities
finding_types
Every GitHub PR must have an independent approverTriggers a policy violation unless every pull request in the latest GitHub PR application-version evidence has at least one approver who is not a committer.None
Commit issues map to Jira with at least one transition eachTriggers a policy violation unless the latest Jira application-version evidence maps every commit issue to a Jira issue that has at least one transition.None
Document valid in dateTriggers a policy violation unless application-level evidence of the given predicate type exists, has at least one attachment, and the current date falls within its start-date and expiry-date.predicateType
Every GitHub commit must have a verified signatureTriggers a policy violation unless the latest GitHub PR application-version evidence has, for every package, each SHA in resolution.included_commit_shas present as a non-empty verified commit signature on a pull-request attestation.None

Did this page help you?