Troubleshoot vulnerability reporting
Diagnose missing CVE data, sync failures, and disabled API responses for vulnerability reporting.
Sync is not running
- Confirm
vulnerabilityReporting.enabledistruein the configuration used byflightctl-periodic. - Confirm
vulnerabilityReporting.trustify.endpointis set and reachable from the periodic service host or pod. - Review periodic service logs for lines containing
vulnerability-sync.
Authentication errors
If logs report Red Hat Trusted Profile Analyzer authentication errors:
- Verify
trustify.auth.modeisnoneorclient-credentialsas appropriate. - For
client-credentials, confirm the OIDC issuer URL is reachable. Verify that<oidcIssuerUrl>/.well-known/openid-configurationis accessible from the periodic service. - Verify the client ID and secret in the Kubernetes secret or environment variables.
No vulnerability data is displayed
If sync succeeds but flightctl get vuln returns no rows:
- Run
flightctl get device/<device_name> -o yamland confirmstatus.os.imageDigestis populated. - Confirm Red Hat Trusted Profile Analyzer has SBOM or advisory data for those digests. See SBOM requirements for Red Hat Trusted Profile Analyzer.
- Check periodic logs for
Syncing vulnerabilities for N unique image digests.
Feature disabled responses
If API or CLI calls return HTTP 501 Not Implemented with reason: FeatureDisabled, enable vulnerability reporting as described in Configuring vulnerability reporting.
HTTP 503 Service Unavailable indicates a transient dependency failure (for example, the database or Red Hat Trusted Profile Analyzer is unreachable), not a disabled feature.