Module
OpenAEV
How-to guide

Start the platform in safe mode

Start OpenAEV with its scheduled jobs stopped, to inspect or repair the platform while no inject, purge or synchronization runs, then return to normal mode.

OpenAEVFor platform engineers and administrators

Safe mode starts OpenAEV without its scheduled jobs: the interface and the API answer, but no inject is sent, no scheduled scenario starts, and no purge or synchronization runs. Use it to look at a platform without letting it act. For example, stop a simulation that would fire against production endpoints, check the data after an upgrade, or find which job puts a load on the database. The run mode is set by openaev.run-mode (OPENAEV_RUN-MODE): normal, the default, or safe.

Before you start

What stops, what keeps running

CONFIGURATIONSTILL RUNNINGSTOPPEDopenaev.run-modenormal (default) or safeInterface and APIWith a safe mode bannerInject executionSimulations, atomic testsIntegrations and indexingSearch, coverage, XTM ComposerRetention and purgesTenants, tokens, traces
  1. openaev.run-mode → Interface and API: safe
  2. openaev.run-mode → Inject execution: not started
  3. openaev.run-mode → Integrations and indexing: not started
  4. openaev.run-mode → Retention and purges: not started
In safe mode, the interface and the API keep answering while every background job stays stopped
Stopped in safe modeWhat you notice
Execution of injects, scheduled scenarios, atomic testings and communication checks, and the closing of finished injectsSimulations stay where they are: their next injects are not sent
Synchronization with XTM Composer, processing of the security coverage requests of OpenCTI, and the registration of OpenAEV in OpenCTIIntegrations deployed or changed in the interface are not started; coverage requests wait
Attack chaining queues, workflow timeouts and the timeouts of autonomous runsAttack chains stop at their current step
Agent inactivity monitorAgents that stop reporting keep their last status
Notification digests and scheduled reportingsNo digest and no scheduled report is sent
Copy of the data to Elasticsearch or OpenSearchSearch results and lists that read the search engine miss the latest changes
Retention and purges: user events, execution traces, notification events, URL access tokens, and the tenants deleted more than 30 days agoOld data stays; a deleted tenant is not purged

The rest keeps running: the interface and the API, the health probes, the usage telemetry, the registration with XTM One and the XTM Hub checks. The expectations keep expiring, and the injectors and executors that work on their own keep working, such as the polling of an EDR executor.

Warning

Expectations keep expiring in safe mode. A simulation that was running when you switched mode sees its detection and prevention expectations fail when their time is up, because its injects never ran. Pause the simulations that matter before you switch, and launch them again once back in normal mode.

Switch to safe mode

  1. Set the run mode in the environment of the openaev service:

    services:
      openaev:
        environment:
          OPENAEV_RUN-MODE: safe
    
  2. Recreate the container so that it reads the new value.

    docker compose up -d openaev
    
    Check that it worked

    Every page of OpenAEV, the login page included, shows the banner Safe mode is active: background processing is disabled.

Return to normal mode

Remove OPENAEV_RUN-MODE from the environment, or set it to normal, and recreate the container. The banner disappears and the jobs start again. Every inject whose time came while the platform was in safe mode is sent within the next minute, all at once: pause the simulations that must not catch up before you switch back. The copy to the search engine catches up with the changes made in between.

ExampleHold a simulation that targets the wrong hotels

On a Friday evening, the security engineer of Grand Meridian Hotels sees a mistake. The simulation replaying Velvet Harbor targets the booking database servers of every hotel, not only the Paris test site. He asks Example CERT to stop the platform from acting while he fixes the targets. The platform engineer of Example CERT adds OPENAEV_RUN-MODE: safe to the openaev service and runs docker compose up -d openaev. The banner shows on every page, no inject leaves the platform, and the engineer moves the simulation to the right asset group. The platform engineer then removes the variable and recreates the container: the platform is back in normal mode, and the injects of the other tenants that fell due over the evening are sent at once.

What's next

NextTroubleshoot OpenAEV
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