Skip to content

[backend] add referer policy (#16020)#16056

Draft
aHenryJard wants to merge 3 commits into
masterfrom
issue/16020-referer
Draft

[backend] add referer policy (#16020)#16056
aHenryJard wants to merge 3 commits into
masterfrom
issue/16020-referer

Conversation

@aHenryJard
Copy link
Copy Markdown
Member

@aHenryJard aHenryJard commented May 19, 2026

Proposed changes

  • Set referer header to the minimal secure version.

See https://developer.mozilla.org/en-US/docs/Web/Security/Practical_implementation_guides/Referrer_policy

Related issues

Checklist

  • I consider the submitted work as finished
  • I tested the code for its functionality
  • I wrote test cases for the relevant uses case (coverage and e2e)
  • I added/update the relevant documentation (either on github or on notion)
  • Where necessary I refactored code to improve the overall quality

Further comments

@github-actions github-actions Bot added the filigran team use to identify PR from the Filigran team label May 19, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented May 19, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 34.88%. Comparing base (37fdf25) to head (9b820a4).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #16056   +/-   ##
=======================================
  Coverage   34.88%   34.88%           
=======================================
  Files        3211     3211           
  Lines      219359   219359           
  Branches    40715    40717    +2     
=======================================
+ Hits        76514    76517    +3     
+ Misses     142845   142842    -3     
Flag Coverage Δ
opencti-client-python 46.36% <ø> (ø)
opencti-front 3.45% <ø> (ø)
opencti-graphql 71.80% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Comment thread opencti-platform/opencti-graphql/tests/01-unit/http/httpUtils-test.ts Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

filigran team use to identify PR from the Filigran team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update the referer request header to be more restricted

1 participant