Skip to content

CRTX-252988 - Qualys VMDR: Handle API rate-limit (HTTP 409) with adaptive retry#44519

Open
dtroushinsky wants to merge 7 commits into
masterfrom
CRTX-252988
Open

CRTX-252988 - Qualys VMDR: Handle API rate-limit (HTTP 409) with adaptive retry#44519
dtroushinsky wants to merge 7 commits into
masterfrom
CRTX-252988

Conversation

@dtroushinsky
Copy link
Copy Markdown
Contributor

@dtroushinsky dtroushinsky commented Jun 3, 2026

Status

  • In Progress
  • Ready
  • In Hold - (Reason for hold)

Related Issues

fixes: https://jira-dc.paloaltonetworks.com/browse/CRTX-252988

Description

Reduces Qualys rate-limit (HTTP 409) failures during Test and fetch by reading the X-RateLimit-ToWait-Sec header and retrying once after the requested wait. Also switches the test-module request to GET to match the Qualys API endpoint requirements.

Must have

  • Tests
  • Documentation

@dtroushinsky dtroushinsky requested a review from DanielTal87 June 3, 2026 13:51
@dtroushinsky dtroushinsky added docs-approved ready-for-pipeline-running Whether the pr is ready for running the whole pipeline, including testing on SAAS machines labels Jun 3, 2026
@dtroushinsky
Copy link
Copy Markdown
Contributor Author

@marketplace-ai-reviewer start review

@content-bot
Copy link
Copy Markdown
Contributor

🤖 AI-Powered Code Review Available

You can leverage AI-powered code review to assist with this PR!

Available Commands:

  • @marketplace-ai-reviewer start review - Initiate a full AI code review
  • @marketplace-ai-reviewer re-review - Incremental review for new commits

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 3, 2026

@marketplace-ai-reviewer
Copy link
Copy Markdown
Contributor

🤖 Analysis started. Please wait for results...

marketplace-ai-reviewer

This comment was marked as outdated.

@dtroushinsky
Copy link
Copy Markdown
Contributor Author

@marketplace-ai-reviewer start review

@marketplace-ai-reviewer
Copy link
Copy Markdown
Contributor

🤖 Analysis started. Please wait for results...

marketplace-ai-reviewer

This comment was marked as outdated.

@content-bot

This comment has been minimized.

@dtroushinsky
Copy link
Copy Markdown
Contributor Author

@marketplace-ai-reviewer start review

@marketplace-ai-reviewer
Copy link
Copy Markdown
Contributor

🤖 Analysis started. Please wait for results...

@marketplace-ai-reviewer
Copy link
Copy Markdown
Contributor

🤖 AI Review Disclaimer

This review was generated by an AI-powered tool and may contain inaccuracies. Please be advised, and we extend our sincere apologies for any inconvenience this may cause.

Copy link
Copy Markdown
Contributor

@marketplace-ai-reviewer marketplace-ai-reviewer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi! Thanks for your contribution to the Qualys integration.

I've left a few notes on your PR, mostly focusing on expanding the new retry wrapper to cover more HTTP methods and aligning the logging and wait times with our standards. There are also a couple of quick formatting and styling tweaks needed in the Release Notes and README.

Thanks for your hard work on this!

@DanielTal87, @marketplace-ai-reviewer, @dtroushinsky please review and approve the results generated by the AI Reviewer by responding 👍 on this comment.

Comment thread Packs/qualys/Integrations/Qualysv2/Qualysv2.py Outdated
Comment thread Packs/qualys/Integrations/Qualysv2/Qualysv2.py
Comment thread Packs/qualys/Integrations/Qualysv2/Qualysv2.py Outdated
Comment thread Packs/qualys/Integrations/Qualysv2/README.md Outdated
Comment thread Packs/qualys/ReleaseNotes/3_4_2.md
Comment thread Packs/qualys/ReleaseNotes/3_4_2.md Outdated
Comment thread Packs/qualys/ReleaseNotes/3_4_2.md Outdated
@content-bot

This comment has been minimized.

@dtroushinsky
Copy link
Copy Markdown
Contributor Author

@marketplace-ai-reviewer re-review

@marketplace-ai-reviewer
Copy link
Copy Markdown
Contributor

🤖 Analysis started. Please wait for results...

@marketplace-ai-reviewer
Copy link
Copy Markdown
Contributor

🤖 AI Review Disclaimer

This review was generated by an AI-powered tool and may contain inaccuracies. Please be advised, and we extend our sincere apologies for any inconvenience this may cause.

Copy link
Copy Markdown
Contributor

@marketplace-ai-reviewer marketplace-ai-reviewer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔄 Re-reviewing updates...

Important

To maintain review integrity, threads marked as Resolved without accompanying changes or explanations will be automatically unresolved for further verification.

Thanks for your contribution to the Qualys pack! The update looks good overall, but there is a quick formatting adjustment needed in the release notes regarding how commands and values are styled. Let me know if you have any questions!

@DanielTal87, @dtroushinsky, @marketplace-ai-reviewer please review and approve the results generated by the AI Reviewer by responding 👍 on this comment.

Comment thread Packs/qualys/ReleaseNotes/3_4_2.md Outdated
@dtroushinsky
Copy link
Copy Markdown
Contributor Author

@marketplace-ai-reviewer re-review

@marketplace-ai-reviewer
Copy link
Copy Markdown
Contributor

🤖 Analysis started. Please wait for results...

@marketplace-ai-reviewer
Copy link
Copy Markdown
Contributor

🤖 AI Review Disclaimer

This review was generated by an AI-powered tool and may contain inaccuracies. Please be advised, and we extend our sincere apologies for any inconvenience this may cause.

Copy link
Copy Markdown
Contributor

@marketplace-ai-reviewer marketplace-ai-reviewer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔄 Re-reviewing updates...

Important

To maintain review integrity, threads marked as Resolved without accompanying changes or explanations will be automatically unresolved for further verification.

Thank you for your contribution! Re-reviewed your PR, No new issues found. Great work! 👍
Please check the previous comments to ensure all feedback has been resolved.

@DanielTal87, @marketplace-ai-reviewer, @dtroushinsky please review and approve the results generated by the AI Reviewer by responding 👍 on this comment.

@content-bot

This comment has been minimized.

@content-bot
Copy link
Copy Markdown
Contributor

Validate summary
The following errors were thrown as a part of this pr: .
If the AG100 validation in the pre-commit GitHub Action fails, the pull request cannot be force-merged.

Verdict: PR can be force merged from validate perspective? ✅

@content-bot
Copy link
Copy Markdown
Contributor

🔍 AI Triage Report Available

An automated triage report has been generated for this pipeline.

Status: failed
Report ID: 46503ab43a37287f

📋 Triage Report
💡 Resolutions are available in the full report.

⚠️ AI-generated triage. Validate before acting.

@dtroushinsky dtroushinsky added the ForceMerge Forcing the merge of the PR despite the build status label Jun 7, 2026
@dtroushinsky
Copy link
Copy Markdown
Contributor Author

ForceMerge justification:
The failures are isolated to the prepare-testing-bucket stage on the mpv2, platform, and xpanse marketplaces. The errors are related to test-bucket preparation / infrastructure setup and are not caused by the content changes in this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs-approved ForceMerge Forcing the merge of the PR despite the build status ready-for-pipeline-running Whether the pr is ready for running the whole pipeline, including testing on SAAS machines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants