Add Evidence Document to Application
For a framework control (the rules associated with that control) to be enforced in JFrog AppTrust, valid evidence with the correct document must be attached to the application.
For a framework control (the rules associated with that control) to be enforced in JFrog AppTrust, valid evidence with the correct document must be attached to the application. For each application, you must create and add the evidence, including a document attachment, to the application using either an API request or a CLI command. This document shows an example API request and CLI command to do this.
Each type of document required by a control requires a different predicate type to be used in the API and CLI command. This document also provides a table for you to map the document type to the correct predicate type.
Example API Request
This is an example of the API request and JSON body for the evidence with predicate type:
https://jfrog.com/evidence/compliance/sdlc-policy-document
The evidence is attached to the application with the application key:
bb-01-app-001
The content of the SDLC policy document is added as an attachment. This builds the DSSE payload and the pre-authentication encoding (PAE) you must sign. The request is as follows:
POST /evidence/api/v1/evidence/prepare?include_pae=true
The following is the body for valid evidence on bb-01-app-001:
{
"predicate": {
"start-date": "2026-01-01",
"expiry-date": "2026-12-31"
},
"predicate_type": "https://jfrog.com/evidence/compliance/sdlc-policy-document",
"subject": {
"subject_type": "entity",
"entity_type": "application",
"entity_id": "bb-01-app-001"
},
"application_key": "bb-01-app-001",
"attachments": [
{
"repository": "bb-01-app-001-application-entity",
"path": "tmp/sdlc-policy.md"
}
]
}Example CLI Command
This is an example of a CLI command that creates and attaches evidence to the application with application key:
bb-01-app-001
The predicate type is: https://jfrog.com/evidence/compliance/sdlc-policy-document
The SDLC Policy document is included as an attachment.
jf evd create
--application-key app1
--key ./evidence.key
--predicate ./predicate.json
--predicate-type 'https://jfrog.com/evidence/compliance/sdlc-policy-document'
--key-alias 'evd-key-20260901-181554'
--attach-local ./sdlc-policy.md \
--attach-artifactory-temp-path bb-01-app-001-application-entity/tmp/Document Type to Predicate Type Mapping
In AppTrust, each control in a framework is mapped to one or more rules which are checked and enforced. Each rule requires a specific document type as evidence attached to the application. The table below is provided to help you attach the correct document type.
This table provides the mapping of document type to predicate type. Depending on the document type required for the rule you use in AppTrust, use the corresponding predicate type in the API or CLI command. For example, if the rule name is SDLC Policy Document, then use the following Predicate Type in the API or CLI:
https://jfrog.com/evidence/compliance/sdlc-policy-document/v1
| Rule Name (Document Type) | Rule Description | Predicate Type |
|---|---|---|
| SDLC Policy Document | SDLC Policy document evidence exists on the evaluated resource and is up to date | https://jfrog.com/evidence/compliance/sdlc-policy-document/v1 |
| Administrator manual for security settings document | Administrator manual for security settings document evidence exists on the evaluated resource and is up to date | https://jfrog.com/evidence/compliance/administrator-manual-security-settings/v1 |
| Risk Assessment Document | Risk Assessment document evidence exists on the evaluated resource and is up to date | https://jfrog.com/evidence/compliance/risk-assessment-document/v1 |
| Third-party security contract document | Third-party security contract document evidence exists on the evaluated resource and is up to date | https://jfrog.com/evidence/compliance/third-party-security-contract-document/v1 |
| Third-party risk acceptance document | Third-party risk acceptance document evidence exists on the evaluated resource and is up to date | https://jfrog.com/evidence/compliance/third-party-risk-acceptance-document/v1 |
| Third-Party security policy document | Third-Party security policy document evidence exists on the evaluated resource and is up to date | https://jfrog.com/evidence/compliance/third-party-security-policy-document/v1 |
| Third-Party security review document | Third-Party security review document evidence exists on the evaluated resource and is up to date | https://jfrog.com/evidence/compliance/third-party-security-review-document/v1 |
| Information Security Roles and Responsibilities Document | Information Security Roles and Responsibilities Document evidence exists on the evaluated resource and is up to date | https://jfrog.com/evidence/compliance/security-roles-and-responsibilities-document/v1 |
| Secure development training program documentation | Secure development training program documentation evidence exists on the evaluated resource and is up to date | https://jfrog.com/evidence/compliance/secure-development-training-program-documentation/v1 |
| CI-CD workflow diagram | CI/CD workflow diagram evidence exists on the evaluated resource and is up to date | https://jfrog.com/evidence/compliance/ci-cd-workflow-diagram/v1 |
| CI-CD pipeline documentation | CI/CD pipeline document evidence exists on the evaluated resource and is up to date | https://jfrog.com/evidence/compliance/ci-cd-pipeline-documentation/v1 |
| SDLC KPIs and KRIs document | SDLC KPIs and KRIs document evidence exists on the evaluated resource and is up to date | https://jfrog.com/evidence/compliance/sdlc-kpi-document/v1 |
| Cryptographic Key Management Policy Document | Cryptographic Key Management Policy Document evidence exists on the evaluated resource and is up to date | https://jfrog.com/evidence/compliance/cryptographic-key-management-policy-document/v1 |
| Data classification document | Data classification document evidence exists on the evaluated resource and is up to date | https://jfrog.com/evidence/compliance/data-classification-document/v1 |
| Security champion training documentation | Security champion training documentation evidence exists on the evaluated resource and is up to date | https://jfrog.com/evidence/compliance/security-champion-training-documentation/v1 |
| Risk response and exceptions record document | Risk response and exceptions record document evidence exists on the evaluated resource and is up to date | https://jfrog.com/evidence/compliance/risk-response-and-exceptions-record-documentation/v1 |
| Independent design review document | Independent design review document evidence exists on the evaluated resource and is up to date | https://jfrog.com/evidence/compliance/design-review-document/v1 |
| Secure Coding Standards Document | Secure Coding Standards Document evidence exists on the evaluated resource and is up to date | https://jfrog.com/evidence/compliance/secure-coding-standards-document/v1 |
| Test plan documentation | Test plan documentation evidence exists on the evaluated resource and is up to date | https://jfrog.com/evidence/compliance/test-plan-documentation/v1 |
| Incident response exercise records documentation | Incident response exercise records documentation evidence exists on the evaluated resource and is up to date | https://jfrog.com/evidence/compliance/incident-response-exercise-documentation/v1 |
| PSIRT Charter and Security Response Playbook documentation | Product Security Incident Response Team (PSIRT) charter and security response playbook documentation evidence exists on the evaluated resource and is up to date | https://jfrog.com/evidence/compliance/PSIRT-and-security-response-documentation/v1 |
| Vulnerability disclosure program documentation | Vulnerability disclosure program documentation evidence exists on the evaluated resource and is up to date | https://jfrog.com/evidence/compliance/vulnerability-disclosure-program-documentation/v1 |
| Vulnerability root cause records and Lessons learned documentation | Vulnerability root cause records and Lessons learned documentation evidence exists on the evaluated resource and is up to date | https://jfrog.com/evidence/compliance/vulnerability-root-cause-records-documentation/v1 |
| Code review checklist for recurring root causes | Code review checklist for recurring root causes evidence exists on the evaluated resource and is up to date | https://jfrog.com/evidence/compliance/code-review-checklist/v1 |
| Exploitation-Mitigation Documentation | Exploitation-Mitigation Documentation evidence exists on the evaluated resource and is up to date | https://jfrog.com/evidence/compliance/exploitation-mitigation-documentation/v1 |
| Free-of-Charge Policy | Free-of-Charge Policy evidence exists on the evaluated resource and is up to date | https://jfrog.com/evidence/compliance/free-of-charge-policy-document/v1 |
| System architecture description Document | System architecture description Document evidence exists on the evaluated resource and is up to date | https://jfrog.com/evidence/compliance/system-architecture-description-Document/v1 |
| Technical Documentation | Technical Documentation evidence exists on the evaluated resource and is up to date | https://jfrog.com/evidence/compliance/technical-documentation/v1 |
| Rulebook procedure Document | Rulebook procedure Document evidence exists on the evaluated resource and is up to date | https://jfrog.com/evidence/compliance/rulebook-procedure-documentation/v1 |
| Change records Document | Change records Document evidence exists on the evaluated resource and is up to date | https://jfrog.com/evidence/compliance/change-records-document/v1 |
| Standards-change records Document | Standards-change records Document evidence exists on the evaluated resource and is up to date | https://jfrog.com/evidence/compliance/standards-change-records-documentation/v1 |
| Decision procedure | Decision procedure evidence exists on the evaluated resource and is up to date | https://jfrog.com/evidence/compliance/decision-procedure-documentation/v1 |
| Authority response records | Authority response records evidence exists on the evaluated resource and is up to date | https://jfrog.com/evidence/compliance/authority-response-records/v1 |
| Public disclosure at CSIRT direction | Public disclosure at CSIRT direction evidence exists on the evaluated resource and is up to date | https://jfrog.com/evidence/compliance/public-disclosure-CSIRT-direction/v1 |
| Security review document | Security review document exists on the evaluated resource and is up to date | https://jfrog.com/evidence/compliance/security-review-document/v1 |
| Vulnerability reporting | Vulnerability reporting evidence exists on the evaluated resource and is up to date | https://jfrog.com/evidence/compliance/vulnerability-reporting/v1 |
Updated 12 days ago
