Skip to content

feat(appsec): Allow configurable timeout options for LAPI #4102

@LaurenceJJones

Description

@LaurenceJJones

w.httpClient = &http.Client{
Timeout: 200 * time.Millisecond,
}

This is a hard coded timout and if a user is crossing regions or at least LAPI is couple hops away from appsec nodes they will regularly hit timeouts.

in ideal scenario, user should configure a higher timeout threshold then also configure a higher auth cache to allow requests to LAPI to be infrequent.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions