ONTAP Multi-Admin Verification with AD, GLPI, Mattermost and Wazuh
Someone who steals a storage admin’s password doesn’t start by encrypting files. They delete the snapshots, switch off ransomware protection, and then switch off whatever would have stopped them. On ONTAP, one account with the admin role can do all of that.
ONTAP multi-admin verification (MAV) closes that gap: the commands you choose (volume delete, snapshot delete, turning off ransomware protection, changing MAV itself) are held until a second admin approves them. It’s built into ONTAP 9.11.1 and later, it costs nothing to turn on, and it belongs in any ONTAP hardening checklist.
But approval only works when the approver knows what they’re looking at. ONTAP shows a request like volume snapshot delete -vserver svm_files -volume projects -snapshot weekly.2026-11-29_0015, fourteen times over, and that’s it. It doesn’t say whether there’s a change ticket, whether this is the window, or whether the command came from the admin jump host or from a laptop in finance. And it sends no event when a request is created, so approvers only find out if they go and look.
This guide connects MAV to the tools a real IT team already runs:
- Active Directory: every admin logs in to ONTAP with their own account, so every request and every approval has a name on it.
- GLPI (ITSM): the request names its change ticket, and a small bridge checks that the change is approved, the window is open, and the volume and the person match.
- Wazuh (SIEM): ONTAP’s audit log shows where each command came from, and a pattern of requests without a change becomes a level-14 alert.
- Mattermost (chat): the approvers get a card with all of that, and an @mention.
The bridge has no Approve button, on purpose. Approval happens in System Manager or the ONTAP CLI, under the approver’s own AD account. If a chat bot can approve, the bot is your second admin.
Everything here was built and tested end to end in my homelab (ONTAP Select 9.19.1, GLPI 11, Mattermost 12.1, Wazuh 4.14), with both scenarios at the end run for real. The code and config files are in the ontap-mav-bridge repository on GitHub.
This guide assumes you already run ONTAP, an AD domain, GLPI, Mattermost and Wazuh, and that you’re comfortable with the ONTAP CLI. If you followed my earlier guide on sending ONTAP ransomware alerts to Wazuh and Mattermost, you can reuse the same Wazuh decoders.
- A storage admin runs a protected command. ONTAP holds it and creates an approval request.
- ONTAP’s audit log goes to Wazuh over syslog, with the user and the source address of every command.
- ontap-mav-bridge polls ONTAP’s list of requests, with a read-only account.
- It reads the change number from the request comment and checks the change in GLPI.
- It asks the Wazuh indexer where the command came from.
- It posts a card in a Mattermost channel.
- The card @mentions the members of the ONTAP approval group.
- An approver approves or vetoes in ONTAP (System Manager or CLI), signed in with their own AD account.
- The bridge sees the outcome, updates the card, and writes it back: a follow-up on the change, or a security incident in GLPI, plus an event in Wazuh.
The bridge only makes outbound connections. It has no listener, and nothing on ONTAP changes because of it.
| Component | Tested with | Notes |
|---|---|---|
| ONTAP | 9.19.1 | MAV needs 9.11.1 or later. AD logins need a storage VM joined to the domain. |
| Active Directory | Windows Server | One account per admin |
| GLPI | 11.0 | REST API (apirest.php) enabled. Optional: without it the card still works, without the change checks. |
| Wazuh | 4.14 | Manager reachable from ONTAP on TCP 514, indexer reachable from the bridge. Optional. |
| Mattermost | 12.1 (Team Edition) | System admin access to create a bot |
| Bridge host | Linux, Python 3.9+ | Any small VM or container. Outbound HTTPS to ONTAP, Mattermost, GLPI and the Wazuh indexer. |
Names used in this guide (change them to yours):
| Name in this guide | |
|---|---|
| Cluster | cluster1 |
| AD domain | CORP |
| Storage VM to protect | svm_files |
| Requester (storage admin) | CORP\a.berg, Alex Berg |
| Approvers | CORP\s.lind, Sam Lind (security officer), and CORP\k.ek, Kim Ek (infrastructure lead) |
| Admin jump host | ADM-JUMP-01 |
The people are fictional, and the screenshots come from my lab, where the storage VM is called corp_fs.
MAV is about two different people. That only means something if ONTAP knows who is who, so the first step is to stop sharing admin.
ONTAP can authenticate cluster logins against AD through a domain tunnel, using a storage VM that is already joined to the domain:
cluster1::> security login domain-tunnel create -vserver svm_files
cluster1::> security login create -user-or-group-name CORP\a.berg -application ssh -authentication-method domain -role admin
cluster1::> security login create -user-or-group-name CORP\a.berg -application http -authentication-method domain -role admin
Do the same for CORP\s.lind and CORP\k.ek. http covers System Manager and the REST API, which is where approvers will usually work.
Tip: ONTAP can also map an AD group to a role, so you don’t have to add people one by one. I tested per-user logins. The approval group in step 2 lists people by name either way.
cluster1::> security multi-admin-verify approval-group create -name storage-approvers -approvers CORP\s.lind,CORP\k.ek
A requester can never approve their own request, so with two approvers and one required approval, any of the three can make a request and one of the others has to agree. If you add -email, ONTAP mails the group itself when a request is created. That needs a mail server in event config, and it’s a plain mail without any context. The bridge does the context part.
Protect the commands that destroy data or recovery points:
cluster1::> security multi-admin-verify rule create -operation "volume delete" -query "-vserver svm_files"
cluster1::> security multi-admin-verify rule create -operation "volume snapshot delete" -query "-vserver svm_files"
cluster1::> security multi-admin-verify rule create -operation "volume snapshot autodelete modify" -query "-vserver svm_files"
cluster1::> security multi-admin-verify rule create -operation "security anti-ransomware volume disable" -query "-vserver svm_files"
cluster1::> security multi-admin-verify rule create -operation "security anti-ransomware volume pause" -query "-vserver svm_files"
-query scopes a rule. Leave it out to protect the command on every storage VM. Not every command can be a rule: volume offline, for example, can’t. ONTAP also ships built-in rules that protect MAV’s own settings, so turning MAV off needs an approval too. That’s the part an attacker can’t get around.
cluster1::> security multi-admin-verify modify -approval-groups storage-approvers -required-approvers 1 -approval-expiry 1h -execution-expiry 1h -enabled true
cluster1::> security multi-admin-verify rule show
Order matters. Create the rules first. Once MAV is enabled, adding, changing or deleting a rule or an approval group needs an approval as well.
A protected command now fails and leaves a request behind:
cluster1::> volume snapshot delete -vserver svm_files -volume projects -snapshot weekly.2026-11-29_0015
Error: command failed on vserver "svm_files" volume "projects" snapshot
"weekly.2026-11-29_0015": The security multi-admin-verify request (index
3) is auto-generated and requires approval.
Interactively, ONTAP first asks whether to create the request. For a planned change it’s cleaner to file the request up front, with the change number in the comment. That’s what the bridge reads:
cluster1::> security multi-admin-verify request create -operation "volume delete" -query "-vserver svm_files -volume old_archive" -comment "CHG 1043"
Approvers find the requests in System Manager under Events & jobs > Multi-admin requests:
After approval, the requester runs the command again and it goes through. In the CLI an approver can also use request approve -index N -execute-on-approval true. System Manager’s Approve button has no such option.
The bridge reads requests, rules, approval groups and volumes. Nothing else:
cluster1::> security login role create -role mav_reader -cmddirname "security multi-admin-verify" -access readonly
cluster1::> security login role create -role mav_reader -cmddirname "volume" -access readonly
cluster1::> security login create -user-or-group-name mav_bridge -application http -authentication-method password -role mav_reader
The account can’t approve, veto, delete or change anything, and it can’t log in over SSH.
cluster1::> cluster log-forwarding create -destination wazuh.example.com -port 514 -protocol tcp-unencrypted -facility user
The audit log has a line for every command, held or not, with the user and the address it came from. That’s how the bridge knows the snapshot deletes came from a finance laptop. Use tcp-encrypted if your syslog receiver does TLS.
On the Wazuh manager, accept syslog on TCP 514 (a <remote> block in ossec.conf with <protocol>tcp</protocol> and ONTAP’s addresses in <allowed-ips>). Then copy four files from the repo’s wazuh/ folder:
| File | Goes to | What it is |
|---|---|---|
ontap_decoders.xml | /var/ossec/etc/decoders/ | ONTAP EMS and audit log decoders (the same file as in my ransomware guide) |
ontap_decoders_mav.xml | /var/ossec/etc/decoders/ | the bridge’s JSON events |
ontap_rules.xml | /var/ossec/etc/rules/ | base ONTAP rules (audit log: 100519, 100520) |
ontap_rules_mav.xml | /var/ossec/etc/rules/ | the MAV rules below |
chown wazuh:wazuh /var/ossec/etc/decoders/ontap_*.xml /var/ossec/etc/rules/ontap_*.xml
/var/ossec/bin/wazuh-control restart
The MAV rules:
| Rule | Level | Fires on |
|---|---|---|
| 100530 | 6 | ONTAP held a protected command for approval |
| 100531 | 5 | approval request created |
| 100532 | 6 | request approved |
| 100533 | 9 | request vetoed |
| 100534 | 12 | attempt to weaken MAV itself (MITRE T1562) |
| 100535 | 10 | someone retried a command that was vetoed |
| 100536, 100537 | 4, 3 | any protected command (the bridge uses these to find the source address) |
| 100540 | 3 | any bridge event |
| 100541 | 4 | request matches an approved change |
| 100542 | 12 | destructive request without an approved change (T1490, T1078) |
| 100543 | 14 | 3 of those from the same account within 10 minutes: possible compromised storage admin |
| 100544, 100545 | 10, 5 | the bridge saw a veto, or an approved request executed |
Rule 100543 is the one to page someone for. One request without a change can be a mistake. Three in a row from the same account is a pattern.
Two gotchas. Wazuh loads rule files in name order, and the MAV rules build on 100519/100520, so the file must sort after
ontap_rules.xml: henceontap_rules_mav.xml, notontap_mav_rules.xml. And Wazuh’s JSON decoder renames a field calledusertodstuser, which is why the bridge sends the account asrequester.
The bridge also reads from the Wazuh indexer (port 9200): it searches the audit alerts for the command behind each request. Give it a user that can only read wazuh-alerts-*.
- System Console > Integrations > Bot Accounts: enable bot account creation.
- Integrations > Bot Accounts > Add Bot Account: for example
ontap-approvals, role Member. Copy the access token. - Create a channel, for example
#storage-changes. Add the bot, the approvers and the storage team. Copy the channel ID (channel name > View Info).
The bridge @mentions the members of the ONTAP approval group, so their Mattermost usernames should match their AD account names (CORP\k.ek becomes @k.ek). If they don’t, set MM_MENTION to a fixed list. The card shows the requester’s full name and position from their Mattermost profile.
The bot only posts and edits its own posts. It has no buttons, so Mattermost never calls back into anything.
The bridge uses GLPI’s REST API (apirest.php):
- Setup > General > API: enable the REST API and login with an external token. Add an API client limited to the bridge host’s address, and copy its app token.
- Create a user for the bridge (for example
mav-bridge) with a profile that can read changes, change tasks, approvals and users, and can create tickets and follow-ups. In the user’s settings, generate the API token.
What the bridge checks for a request with CHG 1043 in its comment:
| Check | Passes when |
|---|---|
| Approved | the change’s approval is Granted and its status is Accepted, Test or Qualification |
| Window | a task on the change has a planned start and end around now |
| Volume | the change’s title or description mentions the volume in the request |
| Person | the requester is a requester or technician on the change |
| Host | (from Wazuh) the command came from one of ADMIN_HOSTS |
The card is green only when every check passes. Each check is shown separately, so an approver can still approve a red card. The bridge informs, it doesn’t decide.
Write-back:
- Executed: a follow-up on the change: what ONTAP ran, who asked, who approved, the ONTAP request numbers.
- Vetoed without a valid change: a security incident, one per account. More vetoed requests from the same account within the hour are added to it.
ontap-mav-bridge.py is one Python file, about 450 lines, and its only dependency is requests.
sudo useradd --system --home /opt/ontap-mav-bridge ontap-mav
sudo mkdir -p /opt/ontap-mav-bridge /etc/ontap-mav-bridge
sudo python3 -m venv /opt/ontap-mav-bridge/venv
sudo /opt/ontap-mav-bridge/venv/bin/pip install requests
sudo cp ontap-mav-bridge.py /opt/ontap-mav-bridge/
sudo cp bridge.env.example /etc/ontap-mav-bridge/bridge.env
sudo cp ontap-mav-bridge.service /etc/systemd/system/
Edit /etc/ontap-mav-bridge/bridge.env:
ONTAP_HOST=cluster1.example.com
ONTAP_USER=mav_bridge
ONTAP_PASSWORD=...
ONTAP_VERIFY=/etc/ontap-mav-bridge/ontap-ca.pem
SM_URL=https://cluster1.example.com/
MM_URL=https://chat.example.com
MM_BOT_TOKEN=...
MM_CHANNEL_ID=...
GLPI_URL=https://itsm.example.com
GLPI_APP_TOKEN=...
GLPI_USER_TOKEN=...
GLPI_TIMEZONE=Europe/Stockholm
WAZUH_INDEXER_URL=https://wazuh.example.com:9200
WAZUH_INDEXER_USER=mav-bridge
WAZUH_INDEXER_PASSWORD=...
WAZUH_VERIFY=/etc/ontap-mav-bridge/wazuh-ca.pem
SYSLOG_TARGET=wazuh.example.com:514
ADMIN_HOSTS=ADM-JUMP-01,ADM-JUMP-02
HOST_NAMES=192.0.2.10=ADM-JUMP-01
HOST_NAMES is only needed for addresses without reverse DNS. Then:
sudo chmod 600 /etc/ontap-mav-bridge/bridge.env
sudo chown -R ontap-mav: /etc/ontap-mav-bridge
sudo systemctl enable --now ontap-mav-bridge
journalctl -u ontap-mav-bridge -f
Requests that already exist when the bridge first starts get no card. Its state (open cards, open incidents) is kept in /var/lib/ontap-mav-bridge/state.json, so a restart doesn’t post everything again.
- Groups requests.
volume snapshot delete -snapshot *creates one request per snapshot. The bridge collects requests from the same person, for the same operation, volume and comment, and posts one card (“Delete ALL 14 snapshots on volume projects”). - Plain words. “Turn off ransomware protection on volume projects” instead of
security anti-ransomware volume disable -vserver ..., plus the volume’s current snapshot count and ransomware protection state, and the MITRE ATT&CK technique an attacker would be using. - Treats request text as untrusted. Whoever types the command controls the snapshot names and the comment. The bridge escapes them before they go into the card or into GLPI.
- Updates the card when the request is approved, vetoed, executed or withdrawn: green, amber or grey, with who decided.
Alex Berg’s password has been phished. The attacker logs in to ONTAP as Alex, from a laptop in finance (FIN-LT-042), and tries the three things that would make a ransomware attack stick:
cluster1::> volume snapshot delete -vserver svm_files -volume projects -snapshot *
...
Error: command failed on vserver "svm_files" volume "projects" snapshot
"weekly.2026-11-29_0015": The security multi-admin-verify request (index
3) is auto-generated and requires approval.
...
0 entries were acted on.
cluster1::> security anti-ransomware volume disable -vserver svm_files -volume projects
Error: command failed: The security multi-admin-verify request (index 15) is
auto-generated and requires approval.
cluster1::> security multi-admin-verify modify -enabled false
Error: command failed: The security multi-admin-verify request (index 16) is
auto-generated and requires approval.
Nothing was deleted: 14 snapshot requests, one for ransomware protection, one for MAV itself. The approvers get three red cards, one per attempt (the first is at the top of this article):
The other two look the same: “Turn off ransomware protection on volume projects” and the attempt to turn off MAV itself.
At the same time, Wazuh sees three destructive requests without a change from the same account and raises the level-14 alert. The attempt to switch off MAV is a separate level-12 alert:
Sam Lind, the security officer, opens System Manager with Sam’s own AD account, selects all the requests and rejects them:
Reject is a veto. The attacker tries again and gets nowhere:
cluster1::> volume snapshot delete -vserver svm_files -volume projects -snapshot *
Error: command failed on vserver "svm_files" volume "projects" snapshot
"manual.2026-11-17_144859": The security multi-admin-verify request
(index 1) has been vetoed. You must delete it and create a new
verification request. To delete, run "security multi-admin-verify
request delete 1".
The cards turn amber, with who vetoed and a link to the incident:
The bridge has opened a security incident in GLPI with every vetoed request in it, and a clear next step:
Afterwards: all 14 snapshots still on the volume, ransomware protection still on, MAV still on.
The same controls on a normal day. CHG 1043, “Decommission volume old_archive”, was approved in GLPI by Kim Ek, with a maintenance window. Alex files the request from the admin jump host, with the change number:
cluster1::> security multi-admin-verify request create -operation "volume delete" -query "-vserver svm_files -volume old_archive" -comment "CHG 1043"
Every check passes, so the card is green, and Kim gets the @mention:
Kim approves it in System Manager:
Alex unmounts, offlines and deletes the volume. The delete now goes through (into ONTAP’s recovery queue, as always). The card turns to Done:
The change ticket documents itself, with what ran, who asked and who approved:
And Wazuh has the whole trail, from ONTAP’s own audit log and the bridge:
- ONTAP sends no event when a request is created. There’s no EMS event to hook a webhook to, so the bridge polls
/api/security/multi-admin-verify/requests. Its fields includeapproved_users,user_vetoed,comment,create_timeandstate. - A wildcard makes one request per object.
-snapshot *on a volume with 14 snapshots is 14 requests. Without grouping, the approvers would get 14 cards. - The audit log line of a held command carries the source address (and “requires approval” in its result). That’s how a request gets a host name.
- A vetoed request blocks retries of the same command until the requester deletes it. And only the requester can delete their own pending request: even the cluster
admingets an error. Keep that in mind for your runbooks. - Request numbers are reused. Finished requests disappear after a while, and their numbers come back. The bridge keys requests on number + creation time.
- System Manager’s Approve doesn’t execute. The requester runs the command again after approval. The CLI’s
request approve -execute-on-approval truedoes execute. - Turning MAV off needs an approval. Plan your lab teardown: keep two approvers around until MAV is off.
- Wazuh renames a JSON field called
usertodstuser, and loads rule files in name order. Both cost me a test run.
- Use certificates you trust everywhere (
*_VERIFYset to your CA bundles). The bridge warns at startup when a check is off. - Give the Wazuh indexer user read access to
wazuh-alerts-*only. In my lab the bridge used a broader account. - Keep
bridge.envreadable by the service user only. The ONTAP account is read-only, but the GLPI token can create tickets. - Decide what your approvers do with a red card. The bridge shows the facts. The decision, and the account that makes it, stay human.
- Add rule 100543 (and 100534) to your paging or ticketing. Those are the ones that mean “someone is in an admin account who shouldn’t be”.
- Write down how to turn MAV off in an emergency. It needs an approval, by design.
Lab notes: built and tested on ONTAP 9.19.1 (ONTAP Select in my homelab), GLPI 11.0.12, Mattermost 12.1 Team Edition and Wazuh 4.14.10, with a Windows AD domain. Both scenarios were run for real against the published version of the bridge. The attacker’s laptop and the jump host are lab machines with those names, and the people are fictional. The bridge is a sample, not a NetApp product. Review it and test it in your own environment before you rely on it.












