Implementation
Configure the integration
This guide uses the following iQs CVE feature: Pipeline trigger API. Keep every credential server-side and test with a narrowly scoped alert before enabling production delivery.
Prerequisites
- An active iQs CVE account with access to integration configuration.
- A least-privilege destination credential stored in the connector secret configuration.
- Outbound HTTPS access from iQs CVE to the destination on port 443.
- 1
Step 1
Create a pipeline trigger token in the destination project.
- 2
Step 2
Choose the branch or tag that owns the response pipeline.
- 3
Step 3
Configure the GitLab base URL, URL-encoded project path or numeric ID, trigger token, and ref.
Configurationyaml
respond_to_iqs:
rules:
- if: '$IQS_EVENT == "cve.kev" || $IQS_EVENT == "cve.critical"'
script: ./respond-to-cve.shVerify the connection
Send a test alert and confirm the pipeline receives IQS_EVENT, IQS_ALERT_JSON, and the configured ref.
Troubleshooting
- • 401/403: rotate or re-scope the destination credential and confirm it is entered without an authentication-scheme prefix.
- • No delivery: confirm the destination is a public HTTPS URL on port 443 and that its certificate is valid.
- • Unexpected data: verify the alert is confirmed and that the subscription includes cve.kev or cve.critical.