Skip to content
Health
90/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 3 months ago
  • Required by15/25
    1 module depends on it
  • Maturity25/25
    In 5 Odoo series since 16.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
1
Modules depending on it
External deps
4 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.06 MB
Module directory on disk
Code analysis 0 migration notes 2 models 1 view 0 HTTP endpoints

Description

This module extends the functionality of fs_attachment to better support Amazon S3 storage. It includes features such as:

  • Special handling of X-Accel-Redirect headers for S3 storages.
  • Options for using signed URLs in X-Accel-Redirect. (This is required to be able to serve files from a private S3 bucket using X-Accel-Redirect without exposing the files publicly.)
  • Enforcing the mimetype of files stored in S3.

Dependencies

Odoo dependencies
OCA/storage:
odoo/odoo:
Python dependencies
fsspec[s3], fsspec>=2025.3.0, python_slugify, fsspec>=2024.5.0
System dependencies
None
Required by
fs_attachment_s3_environment

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 1

XML IDNameModelTypeStatus
fs_storage_form_view fs.storage form Inherits fs_attachment.fs_storage_form_view

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 2

New fields (2)
  • s3_signed_url_expiration Integer
    default=30 help='The expiration time for the signed URL in seconds. Default is 30 seconds.' string='Signed URL Expiration (seconds)'
  • s3_uses_signed_url_for_x_sendfile Boolean
    help='If checked, the storage will use signed URLs for attachments when using X-Accel-Redirect. This is useful for S3 storage where the file path is not directly accessible without authentication.' string='Use signed URL for X-Accel-Redirect'
Public methods (1)
  • is_s3_storage(self)
    @property
    Check if the storage is an S3 storage.

New fields (0)

No new fields.

Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…