fix: extract & pass correct headers & header values to exhort#378
fix: extract & pass correct headers & header values to exhort#378Strum355 merged 2 commits intoguacsec:mainfrom
Conversation
Review Summary by QodoFix header names and extraction logic for Trustify backend
WalkthroughsDescription• Updated header names from rhda-* to trust-da-* prefix • Refactored setRhdaHeader() to accept explicit options key parameter • Simplified getTokenHeaders() by removing vendor token loop logic • Updated JSDoc and option names to use TRUSTIFY_DA_* prefix consistently Diagramflowchart LR
A["Header Constants"] -->|Updated prefix| B["trust-da-* headers"]
C["setRhdaHeader Function"] -->|Added optsKey param| D["Direct option lookup"]
E["getTokenHeaders Function"] -->|Removed vendor loop| F["Simplified header setup"]
G["JSDoc & Options"] -->|Renamed to TRUSTIFY_DA_*| H["Consistent naming"]
File Changes1. src/analysis.js
|
Code Review by Qodo
✅ 1.
|
ruromero
left a comment
There was a problem hiding this comment.
I've added some comments on top of the AI review
9c21993 to
17bbce1
Compare
17bbce1 to
f77d809
Compare
Description
Based on the changes to the backend here: guacsec/trustify-dependency-analytics#514
Checklist
Additional information
Will need to bump in vscode extension after merge