Api package
This module handels the configuration of the API.
Database related settings are part of mmisp.db of the lib repository.
Modern MISP API - mmisp.api.auth
Handlers to manage authentication and authorization to the modern misp api.
Auth
dataclass
Contains the result of an authentication process.
AuthStrategy
Bases: StrEnum
Possible strategies to use for authentication to the api. Valid values:
- jwt: Use only jwts after login
- api_key: Use only api-key
- jwt/api_key: Either jwt or api_key
- worker_key: Only accessible for modern misp worker
- all: Use any authentication method