Configure quality profiles and browse rules
Quality Profiles let organization administrators save language-specific rule selections and assign them to repositories. The Rule Catalog is the searchable inventory used to build those profiles.
Browse the rule catalog
- Open Settings → Policies.
- Select Rule Catalog.
- Search by rule name or identifier, or filter by analyzer, language, severity, and rule type.
The catalog is read-only. CodeStax uses branded analyzer names in the interface, such as SAST Analyzer, Secret Detection Engine, and Complexity Analyzer.
Create a quality profile
- Open Settings → Policies → Quality Profiles.
- Select New Quality Profile.
- Choose a name and language.
- Add enabled or disabled rule identifiers and any severity overrides.
- Save the profile, then assign it to a repository.
You can also clone an existing profile. Built-in profiles cannot be edited or deleted, and a profile assigned to repositories cannot be deleted until those assignments are removed.
Profile management and repository assignment are available today, but analyzer-side enforcement is not yet wired for every analyzer. Confirm the effective rules in a test scan before using a profile as a release control.
Use the API
# List profiles
$ curl -H "X-API-Key: <api_key>" \
https://codestax.co/api/quality-profiles
# Browse active rules
$ curl -H "X-API-Key: <api_key>" \
"https://codestax.co/api/rule-catalog?language=python&severity=high"Administrators can create profiles with POST /api/quality-profiles, update them with PUT /api/quality-profiles/{profile_id}, and assign them with POST /api/quality-profiles/{profile_id}/assign/{repo_id}. Use POST /api/quality-profiles/unassign/{repo_id} to restore the repository to its inherited profile.
API keys can read profiles and the rule catalog. Profile creation, updates, assignment, and deletion currently require a signed-in organization admin or owner; an API key does not inherit its creator’s role.
For organization-wide scan defaults and repository overrides, see Policies.