Eric Perraudeau

QualysGuard 7.6 API Notification

Blog Post created by Eric Perraudeau Employee on Nov 12, 2012

A new release of QualysGuard, Version 7.6, will be available in production on November 29, 2012. More information specific to this release, including the date of global availability, will be communicating via the Release Notification pages here:

 

This API notification provides an early preview into the coming API changes, allowing you to proactively figure out any changes that might be required for your automated scripts or programs that make API calls the following functions:

  • Update to “/api/2.0/fo/auth/db2/” API to support authenticated VM scans of IBM DB2 database

 

Warning: all the examples provided below use “qualysapi.qualys.com”. Replace this FQDN by the API server FQDN of your QualysGuard datacenter (for instance: “qualysapi.qualys.eu”).

 

Update to “/api/2.0/fo/auth/db2/” API to support authenticated VM scans of IBM DB2 database

A new request parameter for this API, called “pc_only” can be used to configure DB2 authentication records for PC scans only (pc_only=1) or for both PC and VM scans (pc_only=0).

 

Example: Create DB2 Record for Vulnerability Scans. The option "pc_only=0" is used.

 

 
$ curl -u "USERNAME:PASSWORD" -H "X-Requested-With: Curl" -X "POST" -d "action=create&title=NewDB2RecordWithAPI&username=administrator&ips=10.10.10.2&password=abc123&database=DB1&port=50000&pc_only=0" "https://qualysapi.qualys.com/api/2.0/fo/auth/ibm_db2/"

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE BATCH_RETURN SYSTEM "https://qualysapi.qualys.com/api/2.0/fo/auth/ibm_db2/batch_return.dtd">
<BATCH_RETURN>
 <RESPONSE>
  <DATETIME>2012-10-26T21:16:41Z</DATETIME>
  <BATCH_LIST>
   <BATCH>
    <TEXT>Successfully Created</TEXT>
    <ID_SET>
     <ID>30486</ID>
    </ID_SET>
   </BATCH>
  </BATCH_LIST>
 </RESPONSE>
</BATCH_RETURN>


 

 

Full release notes will be available to customers from within the Resources section of your QualysGuard account.

Outcomes