Define applications by code Criteria
Use code Criteria to create and maintain applications from your VCS structure.
Matching repositories and their connected assets join automatically. You can group applications by organization, project, or repository. One Criteria can include multiple VCS providers. Use the tenant UI for this workflow. Use the Manage applications via public APIs to programmatically create Code Criteria.
Prerequisites
Review the Define business applications by Criteria before creating code Criteria.
Create applications with code Criteria
Go to Modules → Application Security → Business Applications.
Click Create Applications Criteria → New Criteria.
In General, select Code. Enter a name (required) and an optional description, and click Next.
In Define Criteria:
Select one or more VCS providers (such as GitHub).
Choose a Group by level for each provider (Organization, Project, or Repository).
Optional: Configure your merge and unification preferences:
Merge same-named applications within one provider.
Recommended: Enable this setting for your first Code Criteria. Disable it only when same-named repositories must remain separate. See Code Criteria grouping and unification reference for naming behavior and application boundaries.
Example: Two GitHub repositories named
payments-apibecome one application. See Reference B: Code Criteria references and examples.Unify same-named applications across providers.
Example: GitHub and GitLab repositories named
payments-apibecome one application. See Reference B: Code Criteria references and examples.
Click Next.
Note: To understand cloud and self-managed provider behavior, see Reference A: Code Criteria grouping and unification.
In Scope, optionally filter each provider by organization, project, or repository.
In Metadata, configure the business owner and criticality.
Select Submit.
Verification
Verify the generated applications in the Business Applications list.
Use Code Criteria grouping and unification reference before submitting when you need to confirm scope or application boundaries.
References and examples
Reference A: Code Criteria grouping and unification: Verify grouping, scope, and unification rules
Reference B: Code Criteria references and examples: Review worked merge, unification, and scope-filtering examples
Last updated
Was this helpful?
