An OpenAPI security review verifies that the documented API contract defines safe servers, operations, authentication, authorization, parameters, request bodies, responses, callbacks, webhooks, and reusable schemas. Runtime schema extraction then checks whether production traffic actually matches that approved contract.
OpenAPI 3.2.0 defines a language-agnostic description format for HTTP APIs. The specification can describe how an API should behave, but it cannot prove that every deployed endpoint follows the document or that authorization is correctly enforced at runtime.
The strongest workflow combines three controls: static OpenAPI review, automated linting in CI/CD, and runtime comparison against observed requests and responses. NIST SP 800-228 organizes API protection across development and runtime lifecycle stages, while the OWASP API Security Top 10 maps the most important API-specific risk categories.
Current OpenAPI Security Review Baseline for 2026
As of August 1, 2026, the OpenAPI Initiative lists OpenAPI 3.2.0 as the latest published specification. The official publications page also lists maintained 3.1 and 3.0 patch releases, so review tooling and governance policies should detect the version declared by each document rather than assuming every API uses the same feature set.
| Official source | Current role in the review | Security relevance |
|---|---|---|
| OpenAPI Specification 3.2.0 | Defines the current HTTP API description model | Review objects, references, security schemes, schemas, callbacks, and webhooks |
| OpenAPI Schema Object | Builds on JSON Schema Draft 2020-12 | Review types, constraints, composition, examples, formats, and annotations |
| Overlay Specification 1.1.0 | Applies repeatable changes while keeping them separate from the source description | Useful for governance metadata, partner views, and controlled transformations |
| Arazzo Specification 1.1.0 | Describes sequences of API calls and dependencies | Supports workflow review and business-flow testing beyond single operations |
| OWASP API Security Top 10 – 2023 | Risk model for common API weaknesses | Map review findings to authorization, authentication, inventory, misconfiguration, and business-flow risks |
| NIST SP 800-228, updated March 2026 | API protection guidance across lifecycle stages | Connect design controls, runtime controls, and risk-based implementation choices |
| NIST SP 800-228A initial public draft | REST-specific deployment guidance under public review | Treat as a draft and revalidate before citing as final guidance |
Version-aware review matters
OpenAPI 3.2.0 Schema Objects are a superset of JSON Schema Draft 2020-12, and the specification explains that format is an annotation by default and validation behavior can vary by implementation. Reviewers should therefore test the actual validator and gateway behavior instead of assuming every documented format is enforced.
Why OpenAPI Security Review Needs Runtime Context
An OpenAPI document is design intent. Runtime traffic is deployment evidence. They diverge for ordinary reasons—emergency fixes, partner integrations, version transitions, feature flags, undocumented internal routes, gateway rewrites, generated clients, legacy endpoints, and schema changes that were never merged back into the contract.
Documented but unused
The specification includes operations that no longer receive traffic. These may be retired, blocked, misrouted, or still reachable through another path.
Observed but undocumented
Runtime traffic reveals endpoints, methods, hostnames, parameters, or versions missing from the approved description.
Schema-compatible but insecure
A payload can conform to the schema while violating tenant ownership, object authorization, business rules, rate policy, or workflow sequence.
Documented response, broader reality
Production responses may contain additional PII, internal flags, token hints, secrets, or object properties absent from the contract.
Authentication drift
An operation can inherit, override, or accidentally clear security requirements differently from what reviewers expect.
Tooling interpretation gaps
Validators, gateways, generators, and documentation tools can interpret annotations, formats, references, and extensions differently.
This is why API security testing and runtime monitoring should complement the contract review rather than compete with it.
OpenAPI Security Review Checklist
| Review area | What to verify | Security outcome |
|---|---|---|
| Version and dialect | Declared OpenAPI version, JSON Schema dialect, supported validator behavior, and deprecated constructs | Prevents false confidence from version mismatch |
| Ownership metadata | Title, version, contact, license, tags, operation ownership, and deprecation status | Supports remediation and lifecycle accountability |
| Servers | Production, staging, sandbox, variables, protocols, hostnames, base paths, and accidental localhost or internal URLs | Reduces endpoint confusion and unsafe publication |
| Paths and operations | Every method, operationId, tag, summary, parameter, request body, response, callback, and webhook | Creates a reviewable operation inventory |
| Security schemes | apiKey, HTTP, mutual TLS, OAuth 2.0, OpenID Connect, metadata URLs, credential location, and deprecation | Clarifies authentication mechanisms |
| Security requirements | Global inheritance, operation overrides, anonymous access, AND/OR logic, scopes, roles, and missing references | Finds accidental public access and scope gaps |
| Object authorization | Path, query, header, and body identifiers tied to user, account, tenant, organization, or role checks | Supports BOLA and IDOR review |
| Parameters | Required flags, types, constraints, patterns, ranges, enum values, serialization, defaults, and allowReserved behavior | Reduces ambiguous and over-permissive input |
| Request bodies | Content types, required properties, size, nesting, additionalProperties, writeOnly fields, upload types, and mass assignment risk | Constrains mutation and resource consumption |
| Responses | Every status, content type, schema, sensitive field, pagination, error body, cache behavior, and readOnly property | Finds excessive data exposure and inconsistent errors |
| Schema composition | allOf, anyOf, oneOf, discriminator, nullable representation, required properties, and conflicting constraints | Reduces validation ambiguity |
| References | Local and remote $ref targets, base URIs, circular references, unresolved references, multi-document ownership, and trust boundaries | Prevents hidden or hijacked dependencies |
| Examples | No real secrets, tokens, customer data, internal hostnames, credentials, or production identifiers | Prevents documentation leakage |
| Callbacks and webhooks | Outbound destinations, incoming authentication, replay protection, signing, retry policy, and schema validation | Covers asynchronous attack surface |
| Extensions and overlays | x- fields, vendor behavior, Overlay transformations, partner views, and governance metadata | Makes nonstandard behavior explicit |
| Runtime drift | Observed hosts, endpoints, methods, fields, status codes, authentication, content types, and sensitive data compared with the contract | Connects design review to production reality |
Review OpenAPI Authentication, Authorization, and Security Requirements
OpenAPI 3.2 supports apiKey, HTTP, mutualTLS, OAuth 2.0, and OpenID Connect security scheme types. A secure review checks both the reusable scheme definition and where each operation applies it.
Security requirement logic
The Security Requirement Object uses all schemes inside one object as an AND condition, while multiple objects in the security array are alternatives. An empty object represents anonymous access. These semantics create common review mistakes when a document is generated or manually edited.
components:
securitySchemes:
oauth:
type: oauth2
flows:
authorizationCode:
authorizationUrl: https://identity.example.test/authorize
tokenUrl: https://identity.example.test/token
scopes:
accounts.read: Read account summaries
security:
- oauth:
- accounts.read
paths:
/accounts/{accountId}:
get:
security:
- oauth:
- accounts.readAuthorization questions the schema cannot answer alone
- Does the authenticated subject own or have delegated access to
accountId? - Is the tenant derived from trusted identity context or from a user-controlled parameter?
- Does
accounts.readauthorize every field in the response? - Can support, partner, service, and customer roles access different object sets?
- Does the runtime gateway or application apply the same security requirement documented in OpenAPI?
OWASP API1, API2, API3, and API5 cover object authorization, authentication, object-property authorization, and function-level authorization. OpenAPI can identify where those controls belong, but runtime tests must prove the enforcement.
Review OpenAPI Request and Response Schemas
OpenAPI 3.2 Schema Objects are based on JSON Schema Draft 2020-12. Security reviewers should examine constraints and annotations together because syntax validity does not guarantee safe data handling.
| Schema feature | Security question | Common risk |
|---|---|---|
type |
Is the value explicitly constrained? | Keywords may not imply type automatically |
required |
Are security-critical fields mandatory where needed? | Missing tenant, ownership, or idempotency data |
additionalProperties |
Can clients submit undocumented fields? | Mass assignment or hidden behavior |
readOnly |
Is the property response-only and enforced that way? | Client attempts to control server-managed fields |
writeOnly |
Is the property excluded from responses? | Credential or secret reflection |
format |
Does the selected tool actually validate the format? | Annotation mistaken for enforcement |
pattern, ranges, and lengths |
Are identifiers and values constrained to expected bounds? | Injection, resource abuse, or parser edge cases |
oneOf, anyOf, allOf |
Can ambiguous combinations bypass validation? | Unexpected accepted shapes |
discriminator |
Are mappings explicit and unambiguous? | Wrong model or authorization path |
examples |
Are examples synthetic and safe? | Secrets, PII, tokens, and internal details in documentation |
The specification explains that readOnly and writeOnly are annotations and may require direction-aware validation. Review tools should therefore evaluate request and response contexts separately.
Response-first security review
Many high-impact API findings appear in responses rather than requests: excessive object properties, PII, authorization-dependent fields, token leakage, secrets, internal states, and inconsistent error details. Runtime comparison should record which fields appear for which roles and objects, not only whether the JSON structure is valid.
Review OpenAPI Callbacks and Webhooks
OpenAPI 3.2 allows incoming webhooks to be described independently of an API call. Callbacks describe provider-initiated requests related to another operation. Both extend the review beyond ordinary request-response endpoints.
Webhook and callback security questions
- How does the receiver authenticate the sender: signature, mutual TLS, OAuth, API key, or network identity?
- Is the destination restricted, or can user input control callback URLs and create SSRF risk?
- Are timestamps, nonces, event IDs, and replay windows defined?
- Are retries bounded, idempotent, and isolated from the primary transaction?
- Are payloads validated against a strict schema and content type?
- Do examples expose real secrets or production endpoints?
- Does runtime discovery observe undocumented callback or webhook routes?
OpenAPI Security Review Example
The following simplified example is intentionally defensive. It demonstrates explicit security, bounded identifiers, a strict request model, role-sensitive response concerns, and documented error responses.
openapi: 3.2.0
info:
title: Accounts API
version: 1.4.0
servers:
- url: https://api.example.test
components:
securitySchemes:
oauth:
type: oauth2
flows:
authorizationCode:
authorizationUrl: https://identity.example.test/authorize
tokenUrl: https://identity.example.test/token
scopes:
accounts.read: Read account summaries
schemas:
AccountSummary:
type: object
additionalProperties: false
required:
- id
- displayName
- status
properties:
id:
type: string
pattern: '^[A-Z0-9]{12}$'
readOnly: true
displayName:
type: string
maxLength: 120
status:
type: string
enum:
- active
- suspended
security:
- oauth:
- accounts.read
paths:
/accounts/{accountId}:
get:
operationId: getAccountSummary
parameters:
- name: accountId
in: path
required: true
schema:
type: string
pattern: '^[A-Z0-9]{12}$'
responses:
'200':
description: Authorized account summary
content:
application/json:
schema:
$ref: '#/components/schemas/AccountSummary'
'403':
description: Subject is not authorized for this account
'404':
description: Account is not available to the subjectWhat the reviewer should still verify
- The application derives subject and tenant identity from trusted authentication context.
- The
accounts.readscope is necessary but not treated as proof of object ownership. - The runtime response never adds owner email, risk tier, internal notes, token hints, or unrelated properties.
- 403 and 404 behavior does not create an object-enumeration oracle.
- Rate limits and business rules protect account enumeration and resource consumption.
OpenAPI Linting and CI/CD Security Gates
Linting catches structural errors, inconsistent descriptions, missing metadata, unresolved references, and governance-rule violations before release. Redocly CLI documents the lint command and recommended-strict ruleset, while Spectral provides a built-in OpenAPI ruleset.
Redocly CLI example
npx @redocly/cli@latest lint --extends recommended-strict openapi.yaml
Spectral example
spectral lint --ruleset spectral:oas openapi.yaml
Lint, then bundle references
redocly lint openapi.yaml && redocly bundle openapi.yaml -o openapi-bundled.yaml
Redocly documents bundling multi-file descriptions by resolving referenced components into a single output. Bundling is useful for downstream tools, but the review should preserve ownership and provenance of the original files.
Security rules organizations should add
- Every non-public operation must have an explicit or inherited security requirement.
- Anonymous access must be intentionally tagged and approved.
- API keys in query strings are prohibited unless a documented exception exists.
- Production server URLs must use approved TLS hosts and base paths.
- Object identifiers require authorization-review metadata.
- Mutation schemas must control additional properties and server-managed fields.
- Success responses require schemas; sensitive APIs require documented error responses.
- Examples must use synthetic data and secret-scanning rules.
- Remote references must use approved domains and pinned ownership.
- Deprecated operations require retirement dates and owners.
Redocly’s current rule-configuration guidance explains how organizations can start from a built-in ruleset and add reusable rules. Spectral also supports custom rulesets.
What Runtime Schema Extraction Adds
Runtime schema extraction creates an observed model from real API traffic. It can identify hosts, paths, methods, parameters, request fields, response fields, content types, status codes, data types, optionality, value patterns, sensitive-data indicators, and role- or tenant-dependent differences.
Three different activities
| Activity | Input | Output | Main limitation |
|---|---|---|---|
| OpenAPI validation | OpenAPI document | Conformance or lint findings | Does not prove deployed behavior |
| Runtime schema extraction | Observed requests and responses | Inferred endpoint and field model | Depends on representative traffic |
| Drift detection | Approved contract plus observed model | Differences requiring review | A difference is not automatically a vulnerability |
| Security testing | Contract, implementation, and test cases | Evidence of exploitable behavior | Must be authorized and may not cover production-only behavior |
Current tooling reflects this distinction. Redocly CLI lists experimental commands for capturing traffic, inferring an OpenAPI description, and detecting drift against recorded traffic. These features should be evaluated carefully because experimental behavior may change.
OpenAPI Schema Drift Detection Example
Approved OpenAPI contract:
GET /api/accounts/{accountId}
Documented response:
- id
- displayName
- status
Observed runtime response:
- id
- displayName
- status
- ownerEmail
- internalRiskTier
- billingTokenHint
Review outcome:
- Confirm whether every field is required by the client
- Verify object-property authorization by role
- Check PII and token-hint exposure
- Update the implementation, contract, or both
- Record owner, severity, evidence, and remediation date| Drift type | Possible explanation | Security action |
|---|---|---|
| Undocumented endpoint | New release, internal route, partner API, legacy path, or shadow API | Confirm owner, exposure, security requirements, and lifecycle |
| Unexpected method | Gateway rewrite, unreviewed mutation, or incorrect client | Validate authorization and intended operation set |
| New request field | Feature flag, compatibility field, or mass-assignment surface | Review validation, ownership, and write permission |
| New response field | Release change or excessive data exposure | Review role, sensitivity, and client necessity |
| Authentication mismatch | Gateway policy drift or undocumented public route | Escalate immediately for sensitive operations |
| Status-code drift | New error path, dependency failure, or information leakage | Inspect response body and operational impact |
| Content-type drift | Fallback handler, file response, parser variation, or unsupported media type | Validate parsers, schemas, and security controls |
Runtime drift also strengthens shadow, zombie, and ghost API detection by connecting observed traffic with documented inventory.
OpenAPI Review and Schema Extraction Workflow with Ammune
Ammune can be positioned as the runtime evidence layer that complements OpenAPI governance. The workflow should begin in monitoring mode, collect representative traffic, compare observed behavior with approved descriptions, and move only high-confidence controls toward enforcement.
1. Import approved descriptions
Collect OpenAPI files from repositories, gateways, developer portals, catalogs, and service owners. Preserve version, source, owner, and environment.
2. Observe runtime traffic
Use an approved monitoring, gateway, reverse-proxy, mirrored-traffic, ingress, or service path that provides the required request and response visibility.
3. Extract observed behavior
Build a runtime view of endpoints, methods, parameters, request and response fields, content types, status codes, sensitive data, and behavior patterns.
4. Compare contract and runtime
Identify undocumented APIs, missing operations, schema drift, authentication mismatches, response expansion, and environment differences.
5. Add security context
Correlate identity, tenant, object access, sequence, abuse, latency, error, data exposure, and downstream behavior.
6. Prioritize and route
Send findings to API owners, DevSecOps, platform teams, privacy teams, or the SOC with evidence and recommended action.
7. Update controls
Remediate code, update the OpenAPI contract, strengthen linting rules, tune runtime policies, or retire the endpoint.
8. Validate continuously
Repeat after releases and monitor for new drift, shadow APIs, sensitive fields, and changing behavior.
Reference workflow
Repository and API catalog → OpenAPI lint and policy gates → Approved OpenAPI bundle → Deployment through gateway, ingress, or proxy → Ammune runtime API discovery and schema extraction → Contract-to-traffic drift comparison → Risk prioritization and SIEM-ready evidence → Code, contract, gateway, or policy remediation → Continuous validation after release
Related Ammune guidance includes API runtime security protection, API auto-discovery, and the API security incident response playbook.
Prioritize OpenAPI Security Findings by Risk
Not every lint warning or schema difference deserves the same response. Prioritization should combine business impact, exposure, exploitability, data sensitivity, authorization effect, traffic volume, and confidence.
| Priority | Example finding | Recommended response |
|---|---|---|
| Critical | Sensitive operation observed without authentication or with an accidental anonymous requirement | Contain, verify exposure, preserve evidence, and remediate immediately |
| High | Object IDs with cross-tenant access signals or response fields exposing PII, tokens, or secrets | Escalate to API owner and SOC with runtime evidence |
| Medium | Undocumented endpoint, method, or schema drift without confirmed sensitive impact | Confirm owner and complete targeted security review |
| Low | Missing descriptions, inconsistent tags, or nonsecurity documentation quality issue | Fix through governance backlog and lint rules |
OWASP mapping
- API1 and API5: object and function authorization gaps.
- API2: missing, weak, or inconsistent authentication.
- API3: overexposed or writable object properties.
- API4: missing size, range, pagination, and resource constraints.
- API6: unrestricted access to sensitive business flows.
- API7: callback or URL parameters that can create SSRF paths.
- API8: unsafe defaults, verbose errors, weak TLS declarations, and inconsistent gateway behavior.
- API9: undocumented endpoints, versions, hosts, and owners.
- API10: unsafe trust in third-party API responses and schemas.
What This Means for DevSecOps and SOC Teams
Developers
Use the contract to make constraints, security requirements, errors, and response fields explicit. Treat runtime drift as engineering feedback.
DevSecOps
Run linting and policy rules in pull requests, block critical regressions, and connect findings to API owners and release evidence.
Platform teams
Maintain gateway, ingress, service catalog, ownership, and environment mappings so descriptions match deployed routes.
SOC analysts
Use runtime evidence to investigate authorization anomalies, enumeration, abuse sequences, data leakage, and unexpected endpoint activity.
Governance teams
Measure coverage, drift age, unresolved critical findings, deprecated operations, undocumented APIs, and owner response times.
Privacy and compliance
Compare documented and observed response fields for PII, PCI, secrets, internal identifiers, and retention-sensitive data.
Useful executive metrics
- Percentage of active APIs with an approved OpenAPI description.
- Percentage of operations with explicit or inherited security requirements.
- Number and age of undocumented active endpoints.
- Critical schema drift findings by owner and environment.
- Sensitive response fields not represented in the approved contract.
- Mean time to confirm, remediate, or accept drift.
- CI/CD policy failures and repeat violations.
- Runtime findings promoted into incident response.
Common OpenAPI Security Review Mistakes
- Treating a valid document as a secure API. Structural validity does not prove authorization, business logic, or safe runtime behavior.
- Reviewing only requests. Sensitive data and object-property authorization problems often appear in responses.
- Assuming format is always validated. OpenAPI 3.2 documents format as an annotation by default, and implementation behavior varies.
- Missing operation-level security overrides. Global security can be replaced or cleared at an operation.
- Ignoring anonymous requirement objects. An empty object can allow anonymous access.
- Trusting inferred schemas automatically. Observed traffic may be incomplete, malicious, or role-limited.
- Ignoring callbacks and webhooks. Asynchronous flows create separate authentication, replay, destination, and schema risks.
- Using public examples with real data. Specs often leak tokens, internal URLs, customer identifiers, or production payloads.
- Failing to review external references. Remote components introduce ownership, availability, integrity, and resolution risks.
- Sending low-context drift alerts. Findings need endpoint, method, field, identity, environment, evidence, owner, and business impact.
- Self-linking the article. Internal links should help the reader continue to a related topic, not point back to the current page.
- Moving directly to blocking. Monitor, validate, tune, and test rollback before enforcement.
OpenAPI Schema Extraction and Security Platform Evaluation Checklist
| Requirement | Evidence to request | Pass condition |
|---|---|---|
| Specification support | Supported OpenAPI versions, JSON Schema dialects, multi-file references, and limits | Matches the organization’s real API portfolio |
| Security review depth | Rules for schemes, requirements, scopes, schemas, examples, callbacks, and webhooks | Finds more than syntax errors |
| Runtime discovery | Observed hosts, endpoints, methods, versions, and environment mapping | Finds active undocumented APIs |
| Request and response extraction | Field, type, status, content-type, sensitivity, and role-dependent evidence | Supports response-data and authorization review |
| Drift explainability | Exact contract value, observed value, sample evidence, first seen, last seen, and volume | Reviewer can confirm the difference quickly |
| Representative traffic handling | Learning windows, rare routes, role coverage, sampling, seasonality, and malicious traffic controls | Avoids promoting incomplete observations |
| Security context | Identity, tenant, object, sequence, abuse, data, latency, and error correlation | Separates drift from exploitable risk |
| CI/CD integration | Pull-request checks, policy rules, SARIF or issue output, exceptions, and audit trail | Supports shift-left governance |
| SOC integration | SIEM event schema, evidence, deduplication, severity, ownership, and incident workflow | Supports investigation without alert fatigue |
| Deployment fit | Monitoring and inline options, encryption visibility, throughput, latency, HA, and data handling | Fits the production architecture |
| Safe enforcement | Monitor, alert, challenge, limit, block, exception, rollback, and change-control workflow | Enforcement is evidence-based and reversible |
| Proof of value | Representative APIs, drift scenarios, sensitive data, authorization, SIEM, and remediation use cases | Demonstrates measurable value in the buyer environment |
For broader buying criteria, use Ammune’s API security vendor evaluation checklist.
Conclusion: Make OpenAPI Security Review Runtime-Aware
OpenAPI security review is a strong foundation for API governance, but it should not end with a lint report or a clean YAML file. Review the declared security model, object authorization surfaces, request and response schemas, callbacks, webhooks, references, examples, and version-specific behavior. Then compare the approved contract with real traffic.
Ammune can strengthen this process by adding runtime API discovery, request and response schema extraction, sensitive-data context, behavior analytics, drift detection, abuse signals, and SIEM-ready evidence. The result is a continuous feedback loop: define the contract, lint it, deploy it, observe reality, prioritize meaningful differences, remediate, and validate again.
Frequently Asked Questions About OpenAPI Security Review
What is an OpenAPI security review?
An OpenAPI security review is a structured examination of an API description to identify weaknesses in servers, operations, authentication, authorization, parameters, request bodies, response schemas, examples, callbacks, webhooks, and reusable components. The OpenAPI 3.2.0 specification defines the objects and fields that form the contract, while a security review evaluates whether those definitions are safe and complete.
What is the latest OpenAPI Specification version?
As of August 1, 2026, the official OpenAPI publications page lists OpenAPI 3.2.0 as the latest published specification. It also lists maintained 3.1 and 3.0 patch versions, so teams should review the exact version declared in each API document.
What should an OpenAPI security checklist include?
A practical checklist should cover ownership, server URLs, operation inventory, security schemes, security requirements, OAuth scopes, object authorization, parameters, request and response schemas, examples, error responses, callbacks, webhooks, external references, linting, and runtime drift. The OWASP API Security Top 10 provides a risk model for authorization, authentication, resource consumption, business flows, SSRF, misconfiguration, inventory, and unsafe API consumption.
What is runtime OpenAPI schema extraction?
Runtime schema extraction infers endpoint, method, parameter, request, response, status, and field patterns from observed traffic. It is evidence about what the API actually does, not an automatic replacement for the approved source contract. Current tooling also includes experimental commands that infer an OpenAPI description from recorded HTTP traffic and detect drift against an existing description.
How is schema validation different from schema extraction?
Schema validation checks whether an OpenAPI document or payload conforms to defined rules. Schema extraction infers a model from observed traffic. Validation starts from a declared contract; extraction starts from evidence. OpenAPI 3.2 Schema Objects build on JSON Schema Draft 2020-12, but runtime extraction still needs representative traffic and security review.
How do I review OpenAPI securitySchemes?
Review every declared scheme, where credentials are carried, OAuth or OpenID metadata URLs, scopes, deprecation, and operation-level application. OpenAPI 3.2 defines apiKey, HTTP, mutualTLS, OAuth 2.0, and OpenID Connect security scheme types.
How do OpenAPI security requirements represent AND and OR logic?
The OpenAPI 3.2 Security Requirement Object defines multiple schemes inside one object as all required, while multiple objects in the security array represent alternatives. An empty requirement object indicates anonymous access, so reviewers should detect accidental public operations.
Can OpenAPI review detect BOLA or IDOR?
OpenAPI review can identify object identifiers, tenant parameters, roles, scopes, and operations that require object-level authorization, but it cannot prove that runtime authorization is enforced correctly. OWASP lists Broken Object Level Authorization as API1:2023, so runtime testing and traffic analysis should complement contract review.
Why inspect OpenAPI response schemas?
Response schemas can reveal excessive fields, internal identifiers, PII, tokens, secrets, and properties that should vary by role. OpenAPI 3.2 treats readOnly and writeOnly as annotations that may require direction-aware validation, so a secure review must compare request and response usage rather than relying only on schema syntax.
Which OpenAPI linting tools can run in CI/CD?
Redocly CLI documents linting with configurable and strict rulesets, and Spectral provides a built-in OpenAPI ruleset. Both can improve consistency, but security-specific organization rules are still needed.
What is OpenAPI schema drift?
OpenAPI schema drift is the difference between the approved contract and observed or deployed behavior, such as undocumented endpoints, methods, parameters, response fields, status codes, or authentication behavior. Drift can indicate a harmless release change, an unmanaged API, a governance failure, or a security risk.
How does Ammune support OpenAPI security review?
Ammune can be evaluated as the runtime layer that discovers observed APIs, extracts request and response behavior, compares live traffic with approved schemas, detects drift and sensitive-data exposure, correlates behavior and abuse signals, and produces SIEM-ready evidence. These capabilities should be validated in the buyer’s architecture, traffic profile, encryption path, latency budget, and proof of value.
Review OpenAPI security with runtime evidence
Use Ammune to compare approved API descriptions with observed endpoints, requests, responses, identities, sensitive data, schema drift, and abuse signals—then route actionable evidence to DevSecOps and SOC workflows.
