Agent Testing
FAQ

  • GitHub GitHub Repo stars
  • Discord Discord Server
  • ✨ New! Try the OpenAPI Doctor ✨ The OpenAPI Doctor

    OWASP Functions

    Open Worldwide Application Security Project (OWASP) Functions for OWASP Rules.

    These functions power a portion of the OWASP Rules.


    owaspAuthURLsHTTPS

    Checks transport declarations for OAuth and OpenID Connect endpoints.

    owaspOAuthFlow

    Checks for an insecure OAuth flow.

    owaspExternalExample

    Checks that an external example and an example are not used together.

    owaspArrayLimit

    Checks array schema types also define maxItems

    owaspAuthInsecureSchemes

    Checks for insecure HTTP authentication schemes.

    owaspBasicAuth

    Checks no Basic auth is used in the API.

    owaspCheckErrorResponse

    Checks if an error response has been defined for a given status code.

    owaspHostsHttps

    Checks server URLs and variable values for insecure transport.

    owaspIntegerFormat

    Checks integers specify format (int32 or int64)

    owaspIntegerLimit

    Checks integers specify minimum and maximum or exclusiveMinimum and exclusiveMaximum

    owaspJWTBestPractice

    Checks whether declared JWTs document RFC8725.

    owaspNoAdditionalProperties

    Checks request objects for unrestricted additional properties.

    owaspNoAdditionalPropertiesConstrained

    Checks request maps for a property-count limit.

    owaspNoApiKeyInUrl

    Checks no parameters are used in the URL to pass API keys.

    owaspNoCredentialsInUrl

    Checks no credentials are used in the URL.

    owaspNoNumericIds

    Checks that no numeric IDs are used in the API.

    owaspRatelimitRetryAfter

    Checks that any 429 response, contains a Retry-After header.

    owaspStringLimit

    Checks strings specify maxLength, enum, or const

    owaspStringRestricted

    Checks strings must specify a format, pattern, enum, or const

    owaspHeaderDefinition

    Check if a header has been defined or not from the list of headers.

    owaspDefineErrorDefinition

    Check if global or operation level security has been defined.

    owaspCheckSecurity

    Check if global or operation level security has been defined.