module documentation

Undocumented

Function add_httponly_message Undocumented
Function add_session_cookie_message Undocumented
Function check_session_cookie_httponly Undocumented
Function check_session_cookie_secure Undocumented
Constant W010 Undocumented
Constant W011 Undocumented
Constant W012 Undocumented
Constant W013 Undocumented
Constant W014 Undocumented
Constant W015 Undocumented
Function _session_app Undocumented
Function _session_middleware Undocumented
def add_httponly_message(message): (source)

Undocumented

def add_session_cookie_message(message): (source)

Undocumented

@register(Tags.security, deploy=True)
def check_session_cookie_httponly(app_configs, **kwargs): (source)

Undocumented

@register(Tags.security, deploy=True)
def check_session_cookie_secure(app_configs, **kwargs): (source)

Undocumented

Undocumented

Value
Warning(add_session_cookie_message('You have \'django.contrib.sessions\' in your
 INSTALLED_APPS, but you have not set SESSION_COOKIE_SECURE to True.'),
        id='security.W010')

Undocumented

Value
Warning(add_session_cookie_message('You have \'django.contrib.sessions.middlewar
e.SessionMiddleware\' in your MIDDLEWARE, but you have not set SESSION_COOKIE_SE
CURE to True.'),
        id='security.W011')

Undocumented

Value
Warning(add_session_cookie_message('SESSION_COOKIE_SECURE is not set to True.'),
        id='security.W012')

Undocumented

Value
Warning(add_httponly_message('You have \'django.contrib.sessions\' in your INSTA
LLED_APPS, but you have not set SESSION_COOKIE_HTTPONLY to True.'),
        id='security.W013')

Undocumented

Value
Warning(add_httponly_message('You have \'django.contrib.sessions.middleware.Sess
ionMiddleware\' in your MIDDLEWARE, but you have not set SESSION_COOKIE_HTTPONLY
 to True.'),
        id='security.W014')

Undocumented

Value
Warning(add_httponly_message('SESSION_COOKIE_HTTPONLY is not set to True.'),
        id='security.W015')
def _session_app(): (source)

Undocumented

def _session_middleware(): (source)

Undocumented