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 Name | Template Description | Template Parameters |
|---|---|---|
{stage.gate} AppTrust Gate Certification exists | Triggers violation if AppTrust gate certification evidence for {stage.gate} is missing. | predicateTypestagegate |
| Missing Evidence Slug from Provider | Triggers 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_cvssmax_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_cvssmax_cvss |
{severity} severity exposures findings | Triggers a policy violation when an application version contains exposure findings (secrets, services, or application security) matching the specified severity levels. | severitiesfinding_types |
| Every GitHub PR must have an independent approver | Triggers 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 each | Triggers 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 date | Triggers 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 signature | Triggers 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 |
Updated about 2 hours ago
Did this page help you?
