Before you start
You need the Manager role in the Qualys VMDR subscription that scans your hosts, so you can create a user and give it API access. Arch signs in as a dedicated local Qualys user: a user that signs in with SSO or SecureID cannot use the Qualys API, so Arch cannot connect with it. Arch connects only to the Qualys shared platforms offered in the Platform field; Qualys Private Cloud platforms cannot connect.Setup steps
- Sign in to Qualys, choose VM/VMDR from the application picker, go to Users > Users and select New > User. Use the wizard to enter the user’s settings. Qualys sends the new user a welcome email with login instructions. See Add a New User (using VM/VMDR).
- Give the user the Manager role, so Arch sees every host in the subscription. A Unit Manager, Scanner or Reader works too, but Arch then sees only the hosts that role can see. See User Roles and Permissions.
- Give the user API access. In the Administration module, search for the user, open Quick Actions, go to Roles and Scopes and select API Access. Then in the VMDR module, search for the same user, open Quick Actions and, under User Role, select API. A Manager has API access already. See API Authentication.
- If SSO is turned on for the user, turn it off. The Qualys API does not accept an SSO sign-in. See API Authentication.
- Sign in to Qualys once as the new user, with the login instructions from the welcome email, and accept the Qualys EULA.
- Ask Qualys Support to turn on KnowledgeBase API access for your subscription, if it is not on already. Arch reads each vulnerability’s title and CVEs from the KnowledgeBase. See KnowledgeBase Download.
- Note the user’s login and password, and the address you sign in to Qualys at. You enter the login and the password in Arch, and you use the address to choose the platform.
Fields
You do not type an address. The platform you choose fixes the API server Arch signs in to. To match your sign-in
address to a platform, see Identify your Qualys platform.
Permissions
API access and the role are set on the user, as in Setup steps, steps 2 and 3. KnowledgeBase access belongs to the
subscription, not the user: ask Qualys Support to turn it on. Setup steps covers granting each one. See
User Roles and Permissions.
Sign-in
Arch signs in by sending the username and password to the API server of the platform you chose, on every call. When the sign-in works, the connection test goes on to read the user’s role and asset groups, then asks the KnowledgeBase for one vulnerability to check that the subscription has KnowledgeBase access. If the sign-in fails, check that the user is active, is a local user rather than an SSO user, and has accepted the Qualys EULA. If the user signs in with SecureID, turn SecureID off for this user. If the password changed or expired, enter the user’s current password in Arch, then test the connection again.Test answers
A passing test shows “Role” with the user’s Qualys role and its number of asset groups, for hosts and for vulnerabilities, and a “Knowledge base” line. With a role other than Manager, Arch reads only the hosts in those asset groups.Limits
- Arch brings in every host the Qualys user can see, as a computer, a cloud virtual machine or a reachable address, and each vulnerability Qualys detected on those hosts that names a CVE, with its title and CVEs from the KnowledgeBase. A vulnerability Qualys marks Fixed is shown as resolved.
- Vulnerabilities that name no CVE are not brought in. With a role other than Manager, hosts outside the user’s asset groups are not brought in. Qualys Private Cloud platforms cannot connect.
- Arch reads the data once a day. No other frequency is offered.
- Each run reads the whole host list and all their vulnerabilities again. When Qualys is limiting API calls, Arch waits as long as Qualys asks, then continues where it stopped.
- One Qualys user on one platform connects to Arch once. A second connection with the same user is refused.