Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add http header to allow query to be executed without session creation #6807

Open
richard-julien opened this issue Apr 24, 2024 · 0 comments
Assignees
Labels
feature use for describing a new feature to develop
Milestone

Comments

@richard-julien
Copy link
Member

richard-julien commented Apr 24, 2024

Use case

In some case, external client that call opencti (taxii client ...) are not able to manage an http session.
This situation leads to a session explosion in opencti depending on the session maximum time.
As these clients are able to add some extra header, the concept is to prevent session creation if this header is available
This issue will also refactor part of code to use user loading from cache in auth and basic finding

opencti-no-session = ?1

opencti-no-session is a boolean and so ?0 or ?1 to be compliant with http specification

This header is not recommanded if the client is able to support session management.

@richard-julien richard-julien added the feature use for describing a new feature to develop label Apr 24, 2024
@richard-julien richard-julien added this to the Release 6.0.11 milestone Apr 24, 2024
@richard-julien richard-julien self-assigned this Apr 24, 2024
@richard-julien richard-julien changed the title Add http header to allow http query to be executed without session creation Add http header to allow query to be executed without session creation Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature use for describing a new feature to develop
Projects
None yet
Development

No branches or pull requests

1 participant