Skip to main content

openhands.core.config.security_config

SecurityConfig Objects

@dataclass
class SecurityConfig()

Configuration for security related functionalities.

Attributes:

  • confirmation_mode - Whether to enable confirmation mode.
  • security_analyzer - The security analyzer to use.

defaults_to_dict

def defaults_to_dict() -> dict

Serialize fields to a dict for the frontend, including type hints, defaults, and whether it's optional.