Import OpenAEV results
Bring the assets OpenAEV knows and the outcome of its simulations into OpenCRQ, so that your controls are priced on how they held when tested.
A control declared strong is an assumption until an attack tests it. The OpenAEV connector imports the outcome of the simulations OpenAEV ran on your assets: which technique was prevented or detected, by which kind of security platform, and which CVEs OpenAEV found. OpenCRQ lands them as findings on your assets and audits your controls with them, technique by technique: where a control held less often than you declared, the price of a scenario reads it weaker. This page connects an OpenAEV instance to a tenant and says what comes in. For the model behind the price, read How OpenCRQ quantifies risk.
What the connector imports
- The asset inventory of OpenAEV: every asset it knows, whatever its category and whether or not a simulation targeted it, except its security platforms, which detect rather than get attacked. Each comes with its name, category, criticality, internet exposure and tags; an endpoint with its hostname, addresses, platform and architecture, and the cloud provider, type and region when it has them; an AI target with its provider, endpoint, model and modality.
- The results of finished simulations, per asset, scenario, technique and expectation (prevention or detection), one per type of security platform that reported on it, such as an EDR or a SIEM. A technique a platform type did not stop counts as exposed. Each result keeps the link to its simulation and its inject. A simulation that is scheduled, running, paused or canceled brings nothing yet.
- The CVEs OpenAEV found on each asset, from its findings.
- The markings of each asset, when OpenAEV enforces markings, that is when its
MARKINGpreview feature is on. OpenCRQ copies the marking definitions the OpenAEV user is cleared for, and a member reads an asset only when cleared for all its markings: see Limit what people see with markings. A marking OpenCRQ cannot match hides the asset from everyone but the super administrator. With markings off in OpenAEV, its default, every asset comes unmarked, and every member of the tenant reads it, as every user of OpenAEV does.
Two things are not imported:
- The posture score of an asset. OpenCRQ computes the OpenAEV Posture of an asset's page from what the sync stored: how many of its OpenAEV findings held at their latest test, and how many found it exposed. It never asks OpenAEV live, and the tile stays empty until an OpenAEV test reports on the asset.
- Credentials of AI targets: their token and configuration are never read into OpenCRQ.
A machine that OpenAEV and Microsoft Defender both report becomes one asset in OpenCRQ when it recognizes it in both reports, such as through the Defender device id the OpenAEV agent of a Defender executor carries: see How OpenCRQ recognizes one asset in two reports and Import assets from Microsoft Defender.
How often it runs
The connector is a job of the tenant, run Every hour by default. You can set another schedule, down to every hour, or Manual only, and Sync now runs it at any time. With OpenAEV's default settings, each run:
- reads the whole inventory of OpenAEV again,
- reads the CVE findings updated since the last completed run, never more than 7 days back,
- reads the simulations finished since the last completed run, the oldest first, never more than 7 days back. The first run therefore reads the CVE findings and the simulations of the last 7 days, not older ones,
- retires what a newer simulation of the same scenario no longer reports on an asset it played: the finding is dismissed as No longer reported by OpenAEV, and comes back by itself if OpenAEV reports it again,
- fetches the description of the assets OpenAEV serves one by one, such as web applications and identities, within a budget of 500 calls per run: see Limits on a large estate.
A run stops after 30 minutes and the next one resumes where it stopped. A run that fails is tried again, up to 3 attempts. A result on an asset the inventory did not return is dropped, not imported on an asset created on the spot.
When OpenAEV serves its snapshot export, the connector reads it instead, at the same schedule. OpenAEV serves it only with a preview feature on, which it leaves off by default and xtm-docker turns on: see Read the snapshot export of OpenAEV.
Before you start
-
In OpenCRQ, your role has the Manage Security capability, to change the connector's account or schedule.
-
In OpenAEV, a user for OpenCRQ whose role has these capabilities:
- Access assets, to read the inventory. Without it, the run fails.
- Access findings, to read the CVEs. Without it, the run brings no CVE, and the next run reads the same window again.
- Access assessment, so that it sees every scenario and simulation of the OpenAEV tenant. Without it, the user sees only the simulations it was granted, and no result arrives for the others, with no error to say why.
When OpenAEV serves its snapshot export, the role needs another capability: see Read the snapshot export of OpenAEV.
-
The deployment of OpenCRQ carries the OpenAEV URL and that user's token for your tenant:
Variable What it holds CONNECTORS__OPENAEV__<tenant-uuid>__URLThe base URL of the OpenAEV instance CONNECTORS__OPENAEV__<tenant-uuid>__TOKENThe API token of the OpenAEV user. Pass it through a secret store The tenant's id is the first segment of the address of OpenCRQ once you are signed in to that tenant. Set both together, with a valid URL: with one alone, OpenCRQ does not start. Until the deployment carries them, the connector page shows Unavailable and says Add this connector to your deployment configuration to use it. See the configuration reference.
Connect OpenAEV to your tenant
Once the variables are set, OpenCRQ binds the connector at its next start, under a service account it creates, OpenAEV (deployment), in the Connectors group. The OpenAEV card, under Simulation on the Deployed tab of , then reads Never synced, and the connector runs Every hour. An account you bound yourself is never replaced at start.
To change the account or the schedule:
-
Open , stay on the Deployed tab, and click the OpenAEV card, under Simulation.
-
Click Configure.
-
Under Service account, keep the account the connector writes the findings as, such as
OpenAEV (deployment), or choose another: Use an existing service account picks one of the tenant's accounts, and Create a new service account creates one with the integration, in the Connectors group,OpenAEV connectorby default. -
Under Schedule, keep Every hour in Frequency, or choose another. Next run shows when the schedule runs next.
OpenCRQ 0.261123.0 -
Click Save. The state reads Never synced.
-
Click Sync now to run it without waiting for the schedule. The state reads Syncing, then Healthy.
Grand Meridian's validation team simulates Velvet Harbor's phishing and credential theft on the front-desk workstations of its French hotels, in an OpenAEV instance at https://openaev.example.com. The risk manager wants the data breach on guest records priced on what those results show, not on declared strengths alone.
In OpenAEV, the administrator gives a user OpenCRQ reader a role with Access assets, Access findings and Access assessment, and generates its token. The platform engineer sets the entry of Grand Meridian's tenant, 01a043da-ff47-72c2-aaa4-7da56d85c83e:
services:
opencrq:
environment:
- CONNECTORS__OPENAEV__01a043da-ff47-72c2-aaa4-7da56d85c83e__URL=https://openaev.example.com
- CONNECTORS__OPENAEV__01a043da-ff47-72c2-aaa4-7da56d85c83e__TOKEN=${GRAND_MERIDIAN_OPENAEV_TOKEN}
After the restart, the OpenAEV card reads Never synced, bound to OpenAEV (deployment). The administrator opens it and clicks Sync now.
The first run imports the workstations OpenAEV knows, the CVEs it found or updated on them in the last 7 days, and the simulations finished in the last 7 days. Each technique the EDR did not prevent, or did not detect, becomes a finding on the workstation it reached. On those techniques, the EDR's Engine efficacy falls below its declaration, by as much as the tests fell short and in proportion to the share of the scope's hosts they ran on. The scenarios that reach the front desks are priced again on that efficacy. Every hour after that, a new simulation of the same scenario updates the findings.
This is OpenAEV with its default settings. xtm-docker turns on OpenAEV's snapshot export: there, the role takes Access observation snapshots instead of Access findings, and the first run reads the whole export, not the last 7 days (see Read the snapshot export of OpenAEV).
Check that it works
- On the connector page, the state reads Healthy and the Overview tab shows the Last run, its Status, its Duration and the number Processed.
- The Works tab lists each run, and the Logs tab what it did.
- lists the assets of OpenAEV, and the results and the CVEs.
If no result arrives while the inventory does, check that the user's role has Access assessment: without it, OpenAEV returns no simulation and no error.
Start over
Reset state, in the More actions menu of the connector page, makes the next run read again everything the connector can see, instead of what changed since the last run: the CVE findings and the simulations of the last 7 days, or the whole snapshot export when OpenAEV serves it. Nothing already imported is removed. It requires the Manage Security capability.
Read the snapshot export of OpenAEV
When OpenAEV's BULK_SNAPSHOT_EXPORT preview feature is on (openaev.enabled-dev-features=BULK_SNAPSHOT_EXPORT in OpenAEV's configuration), OpenAEV serves a snapshot export of its results and CVEs. OpenAEV leaves it off by default; xtm-docker turns it on. The connector then reads that export instead of the simulations and the findings. Nothing is set in OpenCRQ: each run asks OpenAEV for the export first, so turning the feature on or off in OpenAEV takes effect at the next run.
A 404 on the snapshot routes means the feature is off: the run reads the simulations and the findings, as in How often it runs, and the log says OpenAEV answers 404 on the snapshot routes, its BULK_SNAPSHOT_EXPORT preview feature is off: reading exercises and findings instead. A 403 is not taken for a feature that is off: see the capability below.
While a run is in progress, the Current step of its row in the Works tab says which way it reads: a run that reads the simulations and the findings starts with OpenAEV snapshot export is off, reading exercises and findings, and a run that reads the export shows Reading OpenAEV attack observations of tenant … when it reaches the results.
The role of the OpenAEV user then needs:
- Access observation snapshots, to read the export. OpenAEV shows this capability in its role screen only while the feature is on. Without it, OpenAEV answers
403: the run fails at once, without a new attempt and without falling back to the simulations and the findings, and saysOpenAEV refused the snapshot request: the account lacks the ACCESS_SNAPSHOT_OBSERVATION capability. - Access assets and Access assessment, as in Before you start. Access findings is not used.
Each run then:
- rebuilds the inventory once a day, not at every run. With it, the connector imports the asset groups of OpenAEV with their members, and the attack paths of its simulations: see Find the assets of a group and Read access relations and events. A run also rebuilds it when the export names an asset the connector does not have on file; an observation whose asset is still unknown afterwards is skipped,
- reads the results and the CVEs that changed since the previous run, from where it stopped, with no 7-day window,
- reads the whole export again every 7 days. That full read retires the assets, scenarios and techniques OpenAEV deleted only when, at its end, OpenAEV reports its snapshot ready. Otherwise nothing is removed, and the connector reads the whole export again a day later.
The first run, and the first run after Reset state, read the whole export: results and CVEs older than 7 days arrive too. On a large estate, this takes several runs.
What goes stale, and when
A result or a CVE that OpenAEV no longer reports is not deleted: its finding is dismissed as No longer reported by OpenAEV, and comes back by itself if OpenAEV reports it again. What dismisses it depends on what changed in OpenAEV, and on whether the connector reads the snapshot export:
| What changed in OpenAEV | Snapshot export off | Snapshot export on |
|---|---|---|
| A scenario was played again | Once the new simulation has finished, the results it no longer reports on the assets it played are dismissed | The same: only a finished simulation that started later replaces the results of an earlier one, and a replay still running retires nothing |
| A CVE is no longer found on an asset | A run that brings at least one CVE for an asset dismisses the CVEs of that asset it did not bring. An asset that brings no CVE at all keeps the ones it had | The same between two full reads. A full read that ends with the snapshot ready dismisses every CVE it did not bring |
| An asset was deleted | Its CVEs are dismissed by the next complete inventory, at every run. Its results stay | Its CVEs are dismissed by the next complete inventory, once a day; its results, by the next full read that ends with the snapshot ready |
| A scenario was deleted | Its results stay | Its results are dismissed by the next full read that ends with the snapshot ready |
An inventory is complete when it read every page, listed at least one asset, and listed as many assets as OpenAEV counted. The connector then asks OpenAEV by id for each asset it no longer listed, and dismisses only the CVEs of those OpenAEV no longer finds. When the count changed while the inventory was read, the log says OpenAEV asset inventory changed while it was read: no asset is unregistered in this run, and no CVE is dismissed for a missing asset in that run.
Limits on a large estate
- The inventory reads at most 1,000 pages of 100 assets per OpenAEV tenant. Past 100,000 assets it is truncated, the log says
OpenAEV asset inventory truncated: pagination reached max pages, and the results and CVEs of the assets left out are dropped. A truncated inventory dismisses nothing for a missing asset. - The descriptions of the assets OpenAEV serves one by one are fetched 8 calls at a time, within 500 calls per run, shared evenly among the OpenAEV tenants, what one tenant leaves going to the next. The assets never described come first, then the ones described longest ago; an asset described less than 24 hours ago waits. With one OpenAEV tenant, N such assets take about N/500 runs to be described.
- A run stops after 30 minutes, and the next run resumes where it stopped: the first sync of a large estate takes several runs.