Why Jolokia, health and metrics endpoints need locking down in OX App Suite
Operators running OX App Suite v8 on Kubernetes need to lock down Jolokia, the unauthenticated health endpoint on port 8009 and the basic-auth-protected Prometheus metrics endpoint before go-live, during any security review, and after every change to network policy or the service mesh. Ingress is the only path users should reach, but these interfaces sit inside the cluster network, where they remain reachable from any workload that can open a connection to them. Jolokia exposes JMX operations over HTTP, the health endpoint reveals service state to anyone who can call it, and the metrics endpoint shows internal detail about the platform. A reviewer testing lateral movement, or an attacker who has compromised one pod, will probe these first because they are easy to find and often assumed to be harmless.
The exposure depends on how traffic is routed. OX App Suite v8 requires Istio, and the requirements page also documents a basic ingress-nginx option for environments where Istio cannot be used. The control points therefore differ: in an Istio deployment, authorization policies and sidecar configuration decide which callers reach each port, while in an ingress-nginx deployment, the ingress path rules and namespace network policies carry that load. Before changing anything, inventory each interface in your installed chart version, then test reachability from a pod in another namespace and from outside the mesh. Confirm the exact Jolokia access rules, health endpoint behavior and metrics authentication settings for your chart version in the OX App Suite requirements and the Operations Guide, because these are the values your reviewers will ask you to show.
Plan the work with the teams that will be affected. Monitoring owners need to know whether their scrapers can still authenticate once metrics are restricted, and platform owners need to know that Kubernetes N-1 and N-2 upgrades may change defaults for ingress and mesh policy. Gather the Helm release in use (the charts require Helm 3.17.0 or newer), the Istio version, the current network policies and the list of namespaces that call the middleware. Open-Xchange's support commitment gives a standard release 12 weeks of support, so schedule the hardening against a supported release rather than an aging one. Ask any partner for the written scope to state which interfaces will be tested, how before and after results are recorded, and who signs off the change.
Which internal interfaces to inventory and what each exposes
Before changing any rule, list every internal interface the App Suite deployment exposes and where each one can be reached from. The four items below are the ones most often left open by default, and each needs its own owner, port check and reachability test.
Jolokia JMX bridge
Jolokia exposes Java Management Extensions (JMX) data and operations over HTTP, so it lets a caller read middleware state and, depending on configuration, invoke management operations. The risk of default reachability is that an attacker who reaches it may gather internal details or act on the JVM without ever touching the user-facing login. Confirm the endpoint path, the authentication settings and the allowed operations for your chart version, then test from outside the cluster and from a pod in an unrelated namespace.
Operations GuideUnauthenticated health endpoint
The health endpoint on port 8009 reports whether a middleware node is alive and ready, which orchestration and load balancers need. It is unauthenticated, so anyone who can reach the port can learn node status, timing and possibly version or role information. Check whether port 8009 is published on a Service, an ingress rule or a mesh virtual service, and confirm that probes inside the cluster still work once outside access is removed.
Prometheus metrics endpoint
The metrics endpoint publishes time-series counters about requests, sessions, queues and Java runtime state. These values reveal load patterns and internal topology, and they help an attacker time activity or pick a target node. Confirm whether the endpoint uses basic authentication in your chart version, where the credentials are stored, and whether Prometheus scrapes it through a ServiceMonitor that can be restricted by network policy.
Service mesh and ingress routes
A route is the path that makes an internal interface reachable from outside the pod network. Istio virtual services, gateway rules and ingress-nginx paths can each send a wildcard prefix to a backend that was never meant to be public. Review every route that targets the middleware Services, list which paths match the Jolokia, health and metrics URLs, and confirm that the request is denied at the gateway as well as at the pod, since either layer can fail alone.
Access control options for each endpoint and when each fits
This table compares the ways to restrict Jolokia, the port 8009 health endpoint and the Prometheus metrics endpoint, with the trade-off of each. Read each row against the endpoint you are securing, and confirm every chart value in your chart version before you rely on it.
| Option | When it fits | Trade-off to check |
|---|---|---|
| NetworkPolicy allowing only the monitoring namespace | Clusters where Prometheus or the probe source runs in a known namespace and labels are stable | Scrapes from other namespaces, external checks or node-level probes fail until the policy allows them |
| Istio authorization policy at the service layer | Clusters where Istio is in use, which OX App Suite v8 requires | Needs identity-aware rules for the scraper, and a misconfigured sidecar can block kubelet or probe traffic |
| Ingress rules at ingress-nginx | Deployments on the basic ingress-nginx option where Istio cannot be used | Ingress only sees external traffic, so in-cluster access to internal ports is not covered |
| Disable the endpoint through chart values | Only where the chart exposes a switch for that endpoint and your monitoring does not need it | Confirm the value exists in your chart version, and check that disabling does not remove a liveness or readiness probe |
| Basic auth on the metrics endpoint | When the scraper must reach metrics across a boundary and credentials can be managed as Kubernetes secrets | Scrape configs need the credentials, and secret rotation becomes an ongoing task |
| Scraping from a dedicated monitoring namespace only | Teams running Prometheus as a central service with a fixed scrape identity | Requires consistent labels and namespace governance, and other teams cannot add scrapers without a change |
| Jolokia access rules in the middleware configuration | When operators need JMX reads but no write or exec operations | Confirm the rule syntax and file location for your release, and test that legitimate read operations still work |
How to restrict Jolokia, health and metrics access step by step
This sequence takes the internal OX App Suite interfaces from broadly reachable to limited to named sources, then proves that unauthorized pods are refused while the monitoring namespace still scrapes metrics. Each step ends with a check you can record as evidence.
Inventory exposed services and ports
Start by listing every Service, Pod port and mesh gateway in the namespace that runs OX App Suite, with the ports for Jolokia, the health endpoint on port 8009 and the Prometheus metrics endpoint. Run a read-only inventory with kubectl and compare it with the ports your Helm release declares. The output is a table of endpoint, port, owning workload and current reachability from a test pod in another namespace. You are done when every internal interface you intend to restrict appears in the table with a current reachability result.
Confirm what the release and chart values expose
Render the chart with helm template using the values file you deployed, then search the output for the Jolokia, health and metrics settings, service types and any annotations that publish these ports. Compare the rendered manifests with the live release using helm get values and helm get manifest. Confirm the exact keys in your chart version with Open-Xchange documentation or support, since key names are version specific. You are done when you have a written list of each setting, its current value and the chart key that controls it.
Define allowed sources for each endpoint
For each endpoint, decide which workloads are allowed to reach it. Typically that is the monitoring namespace for metrics and health probes, the kubelet for probes, and a short list of administrators or automation for Jolokia, if it is needed at all. Record each source as a namespace selector or pod label, along with the port and protocol. Ask your platform and security teams to approve the list before changes start. You are done when each endpoint has one approved source list and a named owner.
Apply network policy and mesh rules
Create Kubernetes NetworkPolicy objects that allow ingress to each internal port only from the approved sources, and apply matching authorization policies in the service mesh if Istio is in use. Confirm that your CNI enforces NetworkPolicy before relying on it. Apply the policies in a non-production namespace first, then roll them out with kubectl apply and keep the files in version control. You are done when kubectl get networkpolicy and the mesh policy listing show the rules you approved, and no rule allows 0.0.0.0/0 for an internal port.
Configure basic auth for the metrics scrape
Enable basic authentication on the Prometheus metrics endpoint using the mechanism your OX App Suite release documents, and store the username and password in a Kubernetes Secret rather than in values files. Give the scraper a Secret reference through its scrape configuration. Confirm the exact configuration keys with Open-Xchange documentation for your version. You are done when an unauthenticated request to the metrics port returns an authentication failure and a request with the stored credentials returns metric output.
Update Prometheus scrape configuration
Update the Prometheus scrape job or ServiceMonitor so that it presents the credentials from the Secret, and confirm that the job targets the correct port and path. Reload Prometheus or let the operator reconcile the change, then check the Targets page or the up metric for the OX App Suite jobs. You are done when each target reports up and the last scrape shows no authentication errors in the Prometheus logs.
Verify denial from an unauthorized pod
Start a temporary pod in a namespace that is not on the approved list, and attempt connections to Jolokia, the health endpoint and the metrics endpoint using curl with timeouts. Record the result for each request, including the HTTP status or the network error. Keep the pod's output in your evidence file, then delete the pod. You are done when every attempt is refused by the network layer or rejected by authentication, and none returns endpoint data.
Verify scraping still works from monitoring
From the approved monitoring namespace, repeat the metrics and health checks with the scrape credentials and confirm that the responses contain the expected data. Check that Prometheus continues to show the targets as up after the policies are in place, and that Kubernetes probes still pass for the OX App Suite pods. Save the results with timestamps alongside the denial results. You are done when the approved path works, the denial results from the previous step still hold, and the pod probe status is healthy.
How traffic reaches the internal endpoints and where the trust boundaries sit
The diagram starts with external clients, whose requests pass through the ingress layer (Istio or ingress-nginx) before reaching middleware pods. Prometheus and a debugging pod follow separate paths into the same pods, and the kubelet probes the health endpoint on port 8009 from inside the node. Check each arrow for the policy that governs it: the ingress rules should never route internal paths to clients, and every path into the pods should be explicitly allowed or denied.
Traffic paths into middleware pods and the points where policy applies.
Security and operational risks to manage while locking endpoints down
Restricting Jolokia, the health endpoint and the metrics endpoint changes how Kubernetes, monitoring and administrators reach the platform. The risks below sit in the gap between a tighter security posture and a cluster that still probes, scrapes and recovers correctly.
Breaking liveness and readiness probes
Restricting port 8009 can make kubelet health checks fail if the probe path, port or access rule no longer matches what the chart configures. A failing liveness probe restarts pods in a loop, which looks like an outage rather than a security change. Before rollout, confirm which probe paths the chart defines, test each middleware pod after the change, and keep the previous rule set ready to restore.
Requirements docsLosing metrics after credential rotation
Rotating the basic auth password for the Prometheus metrics endpoint without updating the scrape configuration silently stops metric collection. Dashboards go flat and alert rules may stop firing, so the gap can go unnoticed for a long time. Check that the scrape job, the secret it reads and the alerting on up-metrics are changed together, and test a scrape after every rotation.
Jolokia write access from a compromised pod
Jolokia exposes JMX operations over HTTP, and some operations change running state rather than only reading it. Access rules that allow writes from any pod in the cluster let an attacker who has compromised one container reach the management interface of another. Review which operations the rules permit, limit callers to the source addresses or identities that genuinely need them, and confirm read-only access for monitoring.
Credentials stored in plain manifests
Basic auth credentials written directly into Helm values, manifests or repository files are readable by anyone with repository access and persist in version history. Store them in a Kubernetes secret or an external secrets manager, reference them by name from the chart, and confirm the chart can read them without a plaintext copy. Ask who can read the secret and whether rotation is logged.
Drift across chart upgrades
A hand-made change to a rendered resource can be overwritten the next time the chart is upgraded, so the endpoint may quietly reopen. The reverse also happens: a new chart version can add or rename a port or path, and the old rule no longer covers it. Keep access rules in version-controlled values, compare rendered manifests against the running cluster after each upgrade, and check the release notes for changes to ports and probes.
How the approach differs by cluster setup
OX App Suite v8 requires Istio, so most deployments have a mesh to work with. Where it is in place, the mesh is the strongest control for internal endpoints. Mutual TLS binds traffic to workload identity, so a pod outside the allowed identities should not be able to reach a management port on another workload. Confirm the actual behavior in your cluster, because enforcement depends on namespace labels, the mTLS mode and how the charts were installed.
- Restrict Jolokia by workload identity: Use mesh authorization to allow only the monitoring or administrative identities that need JMX access.
- Test health probes before enforcing strict mTLS: Kubelet probes may arrive without a mesh identity, so confirm the probe path still works before tightening the policy.
- Scope metrics scraping to Prometheus: Allow only the Prometheus service account to reach the metrics endpoint, and confirm the basic auth credentials on top of that.
- Check the mesh version: Support covers the latest Istio release plus two prior versions, so verify your mesh version falls within that window before writing policies.
- Verify with a denied call: Run a test pod outside the allowed identities and confirm the connection is refused.
Check that policies apply in every namespace that holds middleware pods, and that the mesh configuration is kept in version control.
Where Istio cannot be used, OX App Suite offers a basic ingress-nginx option. Mesh identity and mTLS are not available as controls in this setup, so protection for internal endpoints moves to network policy, ingress routing and credentials. Ask Open-Xchange which controls the chart supports in this mode, and document any control you cannot enforce as an accepted gap.
- Block management paths at the ingress: Confirm the ingress does not route Jolokia, health or metrics paths to public networks, and test each path from outside the cluster.
- Use network policy where the plugin enforces it: Restrict access to port 8009 and the metrics port to the namespaces that need them, after confirming your network plugin enforces policy.
- Treat basic auth as the main request control for metrics: Confirm where the credentials are stored, who can read them and how they are rotated.
- Limit JMX reachability by network path: Without mesh identity, restrict which hosts and administrative networks can reach the Jolokia interface.
- Record the reduced control set: Note the compensating controls in your risk register so reviewers see what is different from the mesh setup.
Confirm which endpoints the ingress-nginx option exposes by default and how each one is restricted before go-live.
Lab and test clusters validate configuration before production, but they often differ in mesh, ingress and credential handling. Those differences can hide exposure, so a lab should prove the controls work in the mode production will run. Lab shortcuts should stay in the lab, and the team should review any difference before a configuration is promoted.
- Test the same endpoint list: Probe Jolokia, port 8009 and the metrics path from a pod outside the intended identities, exactly as you would in production.
- Match the production mode: Run the lab on the same mode as production, Istio or ingress-nginx, because a test on a different mode says little about production.
- Track lab-only exceptions: Mark relaxed settings, such as permissive mTLS or open test ports, so they do not carry into production values.
- Generate separate credentials: Create basic auth and JMX credentials for the lab separately, and never copy production secrets into a test cluster.
- Keep a promotion checklist: List the differences between lab and production and review them before each promotion.
Confirm that the lab mirrors production's mesh, ingress and credential setup closely enough for the test results to apply.
Questions teams ask before locking down OX App Suite internal endpoints
What does it cost to lock down Jolokia, health and metrics endpoints?
The cost is the work of mapping who calls each internal endpoint, writing access rules, changing monitoring scrapes, and testing the result, so the price follows the size and number of environments rather than the endpoint count alone. Cost components are the engineering time for the cluster changes, the time your monitoring owners spend updating scrapes and alert paths, and any retest after the change. Those are mostly one-time costs. Recurring costs come from re-checking the endpoints after each chart upgrade. Ask any partner for a written scope that lists the environments, the endpoints covered and the retest included, since DeployOpen agrees scope and deliverables in writing before work starts and issues a quote from that scope.
What drives the effort for internal endpoint hardening?
Effort rises with the number of middleware roles, the number of monitoring systems that scrape them, and how much of the traffic path already runs through Istio or ingress-nginx. Each middleware pod that exposes Jolokia or the health port on 8009 needs a decision about who may reach it, and each Prometheus job using basic auth needs a secret path that the scraper can read. The main effort drivers are:
- How many clusters and environments run App Suite v8 and need matching rules
- Whether Prometheus, a sidecar or an external collector performs the scrapes
- Whether health probes from the kubelet must keep working unchanged
- How many people approve changes to network policy and secrets
Smaller single-cluster deployments usually take less coordination than multi-region setups.
How long does it take to restrict these endpoints?
Duration depends on cluster complexity, the number of environments, and how quickly monitoring and security owners can review the changes. Confirm the timeline against the written scope, because no fixed duration is supplied for this work. A single cluster with one monitoring stack and clear owners can move through the changes in a short cycle. Multi-cluster estates, air-gapped networks, or change windows that only open on fixed dates add waiting time that is outside the technical work. Ask for the planned sequence: inventory of callers, staging change, production change, and a retest after each step.
What must our team provide before the work starts?
The team must provide cluster access, the exact App Suite chart and image versions in use, and named owners for monitoring and security decisions. Without the chart version, the team cannot confirm which Jolokia and health settings apply. Expect to provide:
- Read access to the Kubernetes namespaces that run the middleware, plus change rights in staging
- The Helm release values and the Helm version in use, which must be 3.17.0 or newer for App Suite v8
- The Istio or ingress-nginx setup, since that determines how traffic reaches each pod
- Names of the people who own Prometheus scrapes, dashboards and alert routing
Identify these owners early, because they decide whether a basic auth change breaks an existing alert.
Can our in-house platform team do this work alone?
Yes, a platform team that already runs Kubernetes, Helm and Prometheus can usually make these changes, provided it has the App Suite configuration knowledge and a clear test plan. The risk is less in the YAML and more in missed callers. Health probes, metrics scrapes and administrative tools may depend on the same port, so an in-house team should inventory every consumer before it closes access. Consider a partner when the team lacks App Suite middleware experience, when it has no staging cluster to test in, or when an independent retest is needed for an assessment. Open-Xchange documents the App Suite requirements and operations, which the team should read before deciding.
How do we confirm the endpoints stay locked after an upgrade?
Re-run the same access checks after every chart, image or Istio upgrade, and record the results as evidence. An upgrade can regenerate network policies, reset values or add new management ports, so a passing check before the upgrade proves nothing after it. Build a short checklist that attempts an unauthenticated request to the health port on 8009, a request to the Jolokia path without credentials, and a metrics request without basic auth, each from a pod outside the allowed set. Store the output with the change record. Confirm the upgrade sequence and release support windows in the Open-Xchange support commitment so the checks match the version you run.
Will locking these endpoints break health checks or monitoring?
It can, if the rules block the kubelet or the Prometheus scraper, so test every probe and scrape path in staging before production. Kubelet liveness and readiness probes must still reach the health endpoint on port 8009, and the metrics scraper must still present valid basic auth credentials. Check the scrape configuration, the alert rules that depend on the metric names, and any dashboard that reads from Jolokia. Keep a rollback step ready for each change so that a failed probe can be reverted without losing the other controls.
Does restricting these endpoints affect licensing or support?
Restricting network access and monitoring credentials does not change your license terms, but confirm any module-specific limits with Open-Xchange before you change how features are exposed. Open-Xchange's Operations Guide notes that some modules may be subject to custom packaging or separate fees in the license agreement. Ask your vendor contact whether any support process requires an endpoint to remain open for diagnostics, and document any agreed exceptions in the change record.
Limits to confirm in your environment before changing endpoint access
The endpoints in this topic are documented against a specific chart and release, so their defaults, access rules and metrics exposure need to be checked in your own deployment first. The cards below list the items to confirm before you restrict anything, because a change that works in a lab can break monitoring, probes or support requests in production.
Endpoint behavior in your chart version
Confirm how the health endpoint on port 8009 and the Prometheus metrics endpoint are exposed in the Helm chart and container image you run, not only in general documentation. Check the chart values that set ports, bind addresses and authentication, and record the defaults as shipped. Compare the rendered manifests after a chart upgrade, because a default that changes silently can reopen an interface you already restricted. Ask Open-Xchange which values are supported for changing these endpoints, and which are internal settings that support may not accept.
- Current LTS release
- 8.47
Whether Jolokia access rules are configurable
Jolokia gives JMX-level access to the middleware, so confirm whether your release lets you set access rules through configuration or whether restriction must be done at the network layer. Ask for the exact configuration key, the default policy and whether rules apply per operation or per MBean. Test a read and a write call from an unauthorized source to prove the rule works. Do not assume a restriction holds until you have tested it against the running pod.
Network policy and ingress paths
Restricting an endpoint at the application layer does not stop a route that reaches it through ingress or a service mesh. Map which paths the ingress controller or Istio gateway forwards and confirm that port 8009 and the metrics path are not published outside the cluster. Include any monitoring agent that scrapes from another namespace, since a broad network policy can break scraping without anyone noticing until an alert fails to fire.
Redis and MariaDB metrics
Redis and MariaDB are deployed as separate components and may expose their own metrics or admin interfaces. Confirm which exporters run with your Redis setup, whether the littlered operator or a custom deployment is in use, and what those exporters listen on. The same review applies to MariaDB, where the exporter and any admin port need their own access rules. Restricting only the OX App Suite endpoints leaves these open if you do not check them as well.
Support and upgrade implications
Changing internal endpoints can affect how Open-Xchange support diagnoses an incident, since support often relies on JMX and health data during investigation. Ask in writing what access support needs, how you will grant it temporarily, and whether a modified endpoint policy is covered by your support agreement. Record each change so that an upgrade does not overwrite it, and retest after every release because the support commitment sets how long each release is maintained.
Support commitmentAuditor expectations and evidence
Confirm whether your auditors or assessors expect evidence that internal management interfaces are restricted, and which control framework they use to frame that expectation. Decide what evidence to keep, such as the rendered configuration, a dated test showing a denied request, and the change record. DeployOpen can prepare that evidence, but independent auditors decide whether it meets your requirements, so agree the expected format with them before you start the change.
How to verify the lockdown holds after upgrades and scaling
A lockdown that was correct at go-live can silently drift, because Helm upgrades, chart value changes and Kubernetes version changes can reset or reorder the defaults that protect Jolokia, the health endpoint on port 8009 and the Prometheus metrics endpoint. Treat the verification routine as a fixed runbook that runs after every chart upgrade, every Kubernetes minor version change and every scale-out of middleware nodes, not as a one-time acceptance test. OX App Suite v8 supports Kubernetes versions N-1 and N-2, so a cluster that moves forward within that window can still change network policy, service exposure or probe behavior in ways your chart values do not reveal. Confirm the supported range for your release in the OX App Suite requirements before scheduling each change.
The routine has four parts. First, run negative tests from pods in namespaces that should have no reason to reach internal interfaces, including the ingress namespace and a sample workload namespace, and confirm that requests to Jolokia and the metrics port fail. Second, run positive scrape tests from the monitoring namespace, confirming that Prometheus still authenticates and collects the middleware targets you intended. Third, after any pod restart or rolling update, check that liveness and readiness probes pass on the health endpoint and that the probe path was not exposed to traffic it should not reach. Fourth, diff the rendered manifests and the live Service, NetworkPolicy and Secret objects against the baseline you recorded at go-live. Ask your DeployOpen or internal team to keep these checks as scripts in version control so each run produces the same evidence, and retain the output with the change ticket.
How DeployOpen scopes, delivers and supports OX App Suite hardening
DeployOpen treats the locking down of Jolokia, the health endpoint and the metrics endpoint as a defined piece of work inside your own infrastructure. We agree the exposed surfaces, the access rules and the verification in writing before changes start, then document and hand over what was changed.
How we scope
- We inventory which internal endpoints your OX App Suite deployment exposes and which networks can reach each one.
- The written scope names the Jolokia access rules, health endpoint port 8009 handling and metrics basic auth to be configured.
- Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.
How we build
- We apply access restrictions in your Kubernetes and ingress configuration, checking each rule against the deployed Helm chart values.
- We test from inside and outside the cluster to confirm Jolokia, port 8009 and the metrics path refuse unauthorized requests.
- We keep changes compatible with your monitoring so probes and scrapers still work after the restrictions apply.
How we hand over
- You receive a written record of each endpoint, its access rule, the credentials handling and the test results.
- The runbook explains how to add a monitoring system or a new admin host without reopening the endpoints.
- We walk your security and platform teams through the configuration so they can review it independently.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after the initial hardening.
- Retesting covers the endpoints again after OX App Suite upgrades, since chart values and defaults can change between releases.
- Ask for the retainer terms, retest frequency and response expectations in the quote before committing.

