Module
OpenAEV
How-to guide

Troubleshoot OpenAEV

Fix the common problems of an OpenAEV instance, from a refused tenant or login to injects that do not run, and find the page that covers each part.

OpenAEVFor platform engineers and administrators

This page helps you find why OpenAEV does not do what you expect. It covers a user who cannot open a tenant, a single sign-on login without rights, simulations that do not move, a refused player link and a slow screen. Each problem gives its likely cause and the fix. For the logs of the platform and of the other services of the stack, start with Troubleshoot the XTM stack.

Before you start

  • For the access problems, your role has Access tenant users, groups and roles in the tenant, or the platform capabilities for the Platform scope.
  • For the platform problems, you can read the logs of the openaev service: docker compose logs --tail 200 openaev.
  • Note the version of the platform, in the OpenAEV platform card of Settings, then Parameters: support asks for it first. Click it to copy the version and its commit hash.

Where to look first

SYMPTOMFIRST CHECKAccess refusedTenant, login, rightsNothing runsInjects, search, purgesSlow or failingPages and APITenant and groupsSettings > SecuritySafe mode banneropenaev.run-modeLogs and debug modedocker compose logs
  1. Access refused → Tenant and groups: check
  2. Nothing runs → Safe mode banner: check
  3. Slow or failing → Logs and debug mode: check
Where to look first when OpenAEV misbehaves

Access problems

What the user seesLikely causeFix
Tenant access denied, with You are not a member of this tenantThe account is not attached to the tenant of the address. Administrators are no exceptionAttach it: in the tenant, Settings, then Security, then Users and Create with the same email, or, with the Platform scope, add the tenant to the Tenants of the user. See Give each organization its own tenant
A message that the account is not attached to any tenantA single sign-on login whose tenant_id names no tenant, or a user removed from all their tenantsFix tenant_id, or attach the user to a tenant
The user logs in but sees almost no menuThe user belongs to no group of the tenant, or to groups without rolesAdd the user to a group with a role, such as Observer
After a single sign-on login, the mapped groups are missinggroups_path is not set, the IdP sends another value than idpGroup, or the group does not existRead the error the log gives for each missing group, then fix the mapping. See Configure single sign-on
A single sign-on login fails for everyone of a providerA mapping names a group whose name is used by two groups, such as ManagerRename the target groups so that their names are unique on the platform
A user cannot add a capability to a role, or a user to a groupThe administrator does not hold the capability, or a role of the group holds one they do not haveAsk an administrator who holds it. See How access works in OpenAEV, rule 5
A form says that a capability is missingThe action needs a second capability, such as Access channels to write an articleAdd the capability to a role of the user
Tenants or the Platform scope do not showThe platform has no Enterprise Edition license, or the user has no platform roleSee Editions and licensing

Platform problems

SymptomLikely causeFix
The banner Safe mode is active: background processing is disabled. shows, and nothing runsThe platform runs with OPENAEV_RUN-MODE: safeReturn to normal mode: see Start the platform in safe mode
Injects stay pending on endpointsNo executor reaches the endpoints, or the agent is not runningSee How integrations run and OpenAEV agents
An integration deployed from the Integrations screen does not startXTM Composer is not registered or cannot pull the imageSee Troubleshoot XTM Composer, Run integrations behind a proxy and Pull integrations from a private registry
A collector or injector you run yourself fills the wrong tenantOPENAEV_TENANT_ID is missing: it works in the default tenantSet it to the Tenant identifier. See Run an integration without XTM Composer
A new tenant has no attack patternsThe MITRE ATT&CK collector works for another tenantDeploy it for the new tenant. See Manage the tags, attack patterns and vulnerabilities
A player's link to an article or a challenge is refusedThe token expired, 7 days after it was sent while the simulation runsSend the email again, or lengthen the margin. See Protect the links in player emails
SMTP reads Disabled in the Tools cardThe platform cannot connect to its mail serverCheck the spring.mail block and the network to the server
The XTM Hub card reads Connectivity lostThe platform no longer reaches XTM Hub, or the connection was removed on the XTM Hub sideSee Connect a tenant to XTM Hub
A screen is slow, or a request fails without a clear errorA slow or repeated SQL query, or a load on the JVMTrace it: see Turn on the debug mode to find slow requests
ExampleFind why Grand Meridian's CISO reaches no tenant

Hélène Marchetti, CISO of Grand Meridian Hotels, logs in with Log in with Grand Meridian and is told that her account is not attached to any tenant. The administrator of Example CERT checks:

  1. With the Platform scope, in Users, her account exists, but its Tenants list is empty: her first login did not attach it.
  2. The log of the openaev service shows SSO tenant ID '7c1e4b2a-5d3f-4e8b-9a61-2f0c8d4e6b31' configured but not found in database: two characters of OPENAEV_PROVIDER_GRANDMERIDIAN_TENANT_ID are swapped.
  3. He copies the Tenant identifier from Settings, then Parameters in the Grand Meridian Hotels tenant, 7c1e4b2a-5d3f-4e8b-9a61-2f0c8d4e6b13, and the platform engineer fixes the variable and recreates the container.

Hélène's next login attaches her account to the Grand Meridian Hotels tenant, puts it in the groups of that tenant that have Auto assign on, and opens the tenant.

Ask for help

When you open a ticket with Filigran support, give the version and commit hash of the platform, the time of the problem, its tenant and its page, and the log lines around it. For a slow or failing request, add the output of the debug mode.

What's next

NextTurn on the debug mode to find slow requests
OpenAEV
Adversarial exposure validation: scenarios, simulations, atomic tests.

Published

Overview
Use
Build dashboards of your validation results
OverviewCreate the widgets of a dashboard
Check one attack technique with an atomic testConnect OpenAEV to OpenCTI to test security coveragesHow collectors measure what your security tools saw
How injectors deliver your injects
OverviewBuilt-in injectors and their injects
Install the OpenAEV agent on your endpointsReview what your injects discovered
Run a simulation and read its results
OverviewShare simulation results in a report
Set up your profile