Security Global Forum

Security Global Forum

Our mission is to provide clients with an online user community of industry peers and IBM experts, to exchange tips and tricks, best practices, and product knowledge. We hope the information you find here helps you maximize the value of your IBM Security solutions.

 View Only

Qualys Report configuration for Guardium Cryptography Manager

By SAANDIIP KOTURWWAR posted Fri April 17, 2026 03:14 AM

  
  1. Login to Qualys Dashboard 
     
     
     

  1. Select Scan option from Left side panel 
     
    A screen shot of a computer

AI-generated content may be incorrect. 

  1. Select “Manage Vulnerability Scan” option 
    A screenshot of a computer

AI-generated content may be incorrect. 

  1. Click New Scan option from the page 
     
    A screenshot of a computer

AI-generated content may be incorrect. 
     
     

  1. Specify following details for scan 
    - Title : Specify the Title of scan 
    - Option Profile : Select the option profile [e.g. SSL Certificate, you can have your own custom option profile, details given next section] 
    - Network :  Set the option e.g. Global Default Network 
    - Scanner Appliance : Select the scanner appliance you configured 
    - IP Address / FQDN Details : Mention the details about target host to be scanned. 
     
    A screenshot of a computer

AI-generated content may be incorrect. 

  1. Run the newly created Scan 
     
    A screenshot of a computer

AI-generated content may be incorrect. 

 
 
 
 

How to configure Option Profile 

 

 

  1. From the Scan  page, go to tab Option Profile 
     
     
     

  1. Click on New and select option Import from Library. [You can select any option, for our project purpose I have selected this option] 
     
    A screenshot of a search box

AI-generated content may be incorrect. 
     
     

  1. Select Certificate option and click Imort 
     
    A screenshot of a computer

AI-generated content may be incorrect. 

 

 

Export Scan report in JSON Format 

To export scan reports in JSON format, you can refer to this sample script which basically  

 

  • Connect with Qualys API server with the same username and password  

  • Fetch all the scans which are available and finished 

  • Filters the scan/ref 

  • Download the reports in JSON format in specified directory. 

 
 
#!/bin/bash 

QUALYS_SERVER="https://qualysapi.server.com" 

USER="USER_NAME" 

PASS="PASSWORD" 

OUT_DIR="Qualys_Reports" 

mkdir -p "$OUT_DIR" 

echo "[+] Listing finished scans..." 

  

# Step 1: List finished scans (XML) 

SCAN_LIST=$(curl --location "$QUALYS_SERVER/api/2.0/fo/scan/"  \ 

                        --header 'X-Requested-With: Curl' \ 

                        --header 'Content-Type: application/x-www-form-urlencoded' \ 

                        --user "$USER:$PASS" \ 

                        --data-urlencode 'action=list') 

# Step 2: Extract scan references 

SCAN_REFS=$(echo "$SCAN_LIST" | xmllint --xpath "//SCAN[STATUS/STATE='Finished']/REF/text()" - 2>/dev/null | \ 

            sed 's/ref="\([^"]*\)"/\1\n/g') 

  

if [ -z "$SCAN_REFS" ]; then 

  echo "[-] No scans found" 

  exit 1 

fi 

# Step 3: Fetch each scan in JSON 

for REF in $SCAN_REFS; do 

        SAFE_REF=${REF//\//_} 

  echo "[+] Exporting scan $REF ..." 

  curl --location "$QUALYS_SERVER/api/2.0/fo/scan/" \ 

          --header 'X-Requested-With: Curl' \ 

          --header 'Content-Type: application/x-www-form-urlencoded' \ 

          --user "$USER:$PASS" \ 

          --data-urlencode 'action=fetch' \ 

          --data-urlencode 'output_format=json_extended' \ 

          --data-urlencode "scan_ref=$REF" \ 

          -o "$OUT_DIR/scan_${SAFE_REF}.json" 

done 

  

echo "Export complete. Files stored in $OUT_DIR/" 

 

 
Once the Qualys scan complete OR scan report downloaded you can proceed with further steps in GCM,

  1.  Create Integration service instance for Qualys [ for more details refer - https://www.ibm.com/docs/en/guardium-cm/2.0.0?topic=configurations-configuring-qualys-tool ]
  2.  Create discovery profile and run the discovery OR import the Qualys reports in GCM [ for more details refer - https://www.ibm.com/docs/en/guardium-cm/2.0.0?topic=discovery  ]

     

    0 comments
    17 views

    Permalink