openNAC + Air Watch MDM¶
It was defined to check if the customer’s device exists inside the vmware’s Air Watch MDM, so considering this device as compliance.
Integration Advantages
The MDM software is the customer’s tool to guarantee that all of its mobile equipment will be configured and following all of its compliance guidelines.
It usually have its own agent that is able to get all of the device information, such as: IMEI, MAC Address, installed applications, configurations, etc…
By being able to integrate with these kind of management solution, we gain the ability to check for device compliance without needing to install a new agent into the customer’s devices.
Environment

Air Watch Connection Data
AirWatch Address: IP or DNS name for AirWatch server.
Enable HTTPS: Either we need to use HTTPS or HTTP to connect to the air watch server.
Air Watch API Key: Air Watch API Key with “admin” Account Type.
Air Watch Username: Username for a read-only Air Watch user.
Air Watch Password: Password for Air Watcher User.
Air Watch – Generate API Key
When logged in to AirWatch console, the first parameter to note down is the URL, which we will need to configurate openNAC (step 1)
(Step 2) Now, to generate the API Key, click on “Settings”.

- Inside System, click on “Advanced”
- Inside Advanced, click on “API”
- Inside API, click on “REST API”;

- Select “Authentication”
- Make sure that the “Basic” is “Enabled”
- Click on Save

- Select “General”
- Make sure that “Enable API Access” is “Enabled”
- Click on “Add”
- Select a Service identificator (a name)
- Account Type: “Admin”
- Copy the API Key for later use, when configuring openNAC
- Click on Save

openNAC – Configure Plugin
- Configuration
- Configuration vars
- Plugins
- Activate airwatchSync / airwatch
5.Edit Plugins

openNAC – Configure Synchronous Plugin
- Insert Air Watch server’s IP or DNS name
- Choose either or not to enable HTTPS
- Insert Air Watch API Key
- Insert Air Watch username
- Insert Air Watch username’s password
- Click on Accept

- Insert Air Watch server’s IP or DNS name
- Choose either or not to enable HTTPS
- Insert Air Watch API Key
- Insert Air Watch username
- Insert Air Watch username’s password
- Insert the interval time for the plugin to be re-run
- Click on Accept

openNAC – Configure Policy to use the Plugin
- Click on “ON NAC”
- Click on Policies
- Click on “+ Add new”

- Name: Choose a name for your policy
- Enabled: Yes
- Comment: A comment to describe what this policy does
- Set VLAN: To which VLAN the devices that fulfill this policy should be sent

- Plugins: Click on the drop- down menu
- Select which plugins should be activated
- Auto Learn of User Devices: Yes
- Accept

openNAC - Results
Here we can see our Business Profile “AirWatch” with one device authenticated

On the User Device details, we can see which the TAGs that where added, and more detailed information about the User Device
