How It Works

Qualys CI/CD Security Integration provides a unified approach to container and code vulnerability scanning across development pipelines. This section explains the core concepts and architecture.

Architecture Overview

The integration ecosystem consists of two main layers:

┌─────────────────────────────────────────────────────────────────────────┐
│                         CI/CD Platform Layer                             │
│  ┌─────────────┐  ┌─────────────┐  ┌─────────────┐  ┌─────────────┐     │
│  │   GitHub    │  │   GitLab    │  │    Azure    │  │   Jenkins   │     │
│  │   Actions   │  │     CI      │  │   DevOps    │  │             │     │
│  └──────┬──────┘  └──────┬──────┘  └──────┬──────┘  └──────┬──────┘     │
│         │                │                │                │            │
│         └────────────────┴────────────────┴────────────────┘            │
│                                   │                                      │
│                              QScanner                                    │
│                          (Local Scanning)                                │
└─────────────────────────────────────────────────────────────────────────┘
                                    │
                                    ▼
┌─────────────────────────────────────────────────────────────────────────┐
│                         Qualys Cloud Platform                            │
│  ┌─────────────────────────────────────────────────────────────────┐    │
│  │              Container Security API                              │    │
│  │  ┌───────────┐  ┌───────────┐  ┌───────────┐  ┌───────────┐    │    │
│  │  │  Vuln DB  │  │  Policy   │  │ Reporting │  │  SBOM     │    │    │
│  │  │           │  │  Engine   │  │           │  │  Storage  │    │    │
│  │  └───────────┘  └───────────┘  └───────────┘  └───────────┘    │    │
│  └─────────────────────────────────────────────────────────────────┘    │
└─────────────────────────────────────────────────────────────────────────┘

Core Components

QScanner

The QScanner is a lightweight binary used in CI/CD pipelines for local container image and code scanning. It:

CICD Sensor (Jenkins)

For Jenkins environments, the CICD Sensor provides an alternative scanning backend:

Scanning Modes

Mode Description Use Case
get-report Scan and generate vulnerability report Default mode for most pipelines
evaluate-policy Evaluate against Qualys cloud policies Centralized policy enforcement
scan-only Scan without generating reports Quick validation scans
inventory-only Collect inventory without vulnerability matching SBOM generation

Vulnerability Detection

The scanning engine detects vulnerabilities in:

Policy Evaluation

Two approaches to policy enforcement:

Local Thresholds

Configure maximum allowed vulnerabilities per severity:

max_critical: 0    # Fail on any critical
max_high: 5        # Allow up to 5 high
max_medium: -1     # No limit on medium
max_low: -1        # No limit on low

Cloud Policy Evaluation

Use centrally managed policies in the Qualys platform:

Report Formats

Format Purpose
SARIF Static Analysis Results Interchange Format for GitHub/Azure security tabs
JSON Detailed vulnerability data for custom processing
GitLab Security Native GitLab Security Dashboard format
SPDX Software Bill of Materials (SBOM)
CycloneDX Alternative SBOM format

Next Steps