Overview
APIGit offers two predefined rulesets available to all users on the Free, Team and Enterprise plans. These rulesets provide immediate governance capabilities for your API repositories without requiring custom configuration. Both are listed in the ruleset dropdown of the Governance view, and API Best Practice is selected by default.
OWASP Top 10 Security
This ruleset scans OpenAPI documents to identify potential security vulnerabilities and issues. While OpenAPI specifications describe the interface layer rather than implementation details, this ruleset can effectively detect:
- Obvious security flaws
- Implementation of outdated security standards
- Common API security misconfigurations
The ruleset is built on the foundation of the OWASP API Security Top 10 2023 edition, ensuring alignment with industry-recognized security best practices.
API Best Practice
This ruleset, named OpenAPI Best Practice until November 2026, evaluates OpenAPI and AsyncAPI documents against established best practices to check:
- Consistent API design patterns
- Proper documentation standards
- Optimal specification structure
- Clear endpoint naming conventions
- Appropriate use of OpenAPI features
AsyncAPI rules
The browser’s default set supports AsyncAPI 2.x and 3.x. It applies each rule to its format, which is why the menu item is called API Best Practice. OWASP, URL-style and documentation-quality builtins remain OpenAPI-only. CLI 0.6.0 also checks AsyncAPI; hosted server lint is not enabled. See AsyncAPI governance.
GraphQL schema validation, in the Governance view and in CLI 0.6.0 or later, uses syntax and schema checks rather than these Spectral rulesets.
By using these predefined rulesets, teams can quickly establish baseline governance standards while maintaining the flexibility to add custom rules as their API governance program matures.