Skip to content

[GOVCMS-14555] Added HTTPAV identifier.#552

Open
barbun wants to merge 1 commit into
govCMS:4.x-developfrom
barbun:feature/GOVCMS-14555_httpav-id
Open

[GOVCMS-14555] Added HTTPAV identifier.#552
barbun wants to merge 1 commit into
govCMS:4.x-developfrom
barbun:feature/GOVCMS-14555_httpav-id

Conversation

@barbun
Copy link
Copy Markdown
Contributor

@barbun barbun commented May 14, 2026

Issue

HTTPAV Drupal module has support of X-Requester-ID header. If set, this header is then used by the AV service to supplement logs to better identify which environment instance the logs belong to. Currently, it is impossible to correlate the logs to instances.

The value of the header is controlled via HTTPAV_IDENTIFIER environment variable, which is currently not set for any of instances on GovCMS.

Proposed solution

Enhance PHP dockerfile to introduce a new PHP-FPM config that evaluates HTTPAV_IDENTIFIER at the container start as a concatenation of existing LAGOON_PROJECT and LAGOON_ENVIRONMENT vars (e.g. projectName-develop), which will provide a meaningful information to the logs to identify the instance when invoking the AV service.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant