How to identify how Windows Auth records are configured in bulk

Document created by Parag Baxi on Jun 25, 2014
Version 1Show Document
  • View in full screen mode

Use case:

Identify which Windows authentication records are configured for 'Active Directory'. Customer has hundreds of Windows Auth records and the UI does not offer a way to determine whether it is NetBIOS or Active Directory without opening them all one at a time.

 

Solution:

curl -X "GET" -H "X-Requested-With:Parag" -u "username:password" https://qualysapi.qualys.com/api/2.0/fo/auth/windows?action=list&details=All

 

This is how you decipher which record is which in the XML response:

  • If the record has "WINDOWS_AD_DOMAIN", then it's an Active Directory record.
  • If the record has "WINDOWS_DOMAIN", then it's a NetBIOS record.

Attachments

    Outcomes