GASP: AICF

Search controls

Search by control ID, name or domain

APP-011 API Security

Tier 2+

Description

All externally-exposed and internally significant APIs are inventoried and subject to defined security controls. Controls include authentication and authorisation on every endpoint, rate limiting, input validation, and prohibition of sensitive data in query parameters or error responses. API security is included in the development security testing scope.

Rationale

APIs are the primary attack surface for SaaS and AI products. Unauthenticated or improperly authorised APIs are among the most commonly exploited vulnerabilities in cloud-native systems.

Framework Mappings (4)

AIS-08API Securityfull
8.26Application security requirementspartial
SI-10Information Input Validationpartial
CC6.6Security Measures Against Threats Outside System Boundariesinformative

Evidence (2)

configurationautomated

API gateway or application configuration showing that authentication, authorisation, and rate limiting are enforced on all externally-exposed API endpoints.

Example: AWS API Gateway authoriser configuration, Kong API Gateway policy export, or application-level middleware configuration showing: authentication type (OAuth 2.0, API key, JWT) required on every route, rate limit settings (requests per second/minute), and input validation middleware enabled.

Test: Review the API gateway or application routing configuration. Verify: (1) every external-facing endpoint has an authentication requirement — no unauthenticated routes exist except for explicitly public endpoints with documented justification, (2) rate limiting is configured at the gateway or application layer with specific thresholds, (3) sensitive data fields (passwords, tokens, PII) are absent from query parameters and are not reflected in error responses — confirm by reviewing a sample of API specifications (OpenAPI/Swagger).

tool_outputautomated

API security scan or DAST report confirming that the API inventory is complete and that common API vulnerabilities (OWASP API Security Top 10) are addressed.

Example: OWASP ZAP, Burp Suite, or 42Crunch API security audit report for the production or pre-production API, run within the last 90 days, showing: API endpoints discovered, test coverage, and finding list with no open high/critical items from the OWASP API Security Top 10.

Test: Review the most recent API security scan report. Verify: (1) the scan covers all endpoints in the API inventory — cross-reference the discovered endpoint count against the OpenAPI specification, (2) no open high/critical findings relating to OWASP API Top 10 categories (Broken Object Level Authorisation, Broken Authentication, Excessive Data Exposure, etc.) remain unresolved, (3) the scan was run on the current production version or a staging environment built from the same artefact.

Questions (2)

boolean

Are all externally-exposed and internally significant APIs subject to defined security controls, including authentication, authorisation, rate limiting, and input validation on every endpoint?

Authentication and authorisation must be enforced on every endpoint — unauthenticated routes should be the exception with documented justification, not the default. Sensitive data must not appear in query parameters or error responses.

multi

Which API security controls are implemented in your production environment?

Authentication required on all external endpoints (OAuth 2.0, API key, JWT, or equivalent)Authorisation enforced at the object/resource level (not just at the route level)Rate limiting enforced at the API gateway or application layerInput validation applied on all endpointsSensitive data excluded from query parameters and error responsesAPI inventory is maintained and kept current (e.g. via OpenAPI specification)API security is included in the security testing scope (DAST, API scanning)None of the above

Authentication, object-level authorisation, and rate limiting are the three most impactful controls for preventing the most common API vulnerabilities (OWASP API Top 10).