module documentation

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
Function add​_httponly​_message Undocumented
Function add​_session​_cookie​_message Undocumented
Function check​_session​_cookie​_httponly Undocumented
Function check​_session​_cookie​_secure Undocumented
W010 =

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')
W011 =

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')
W012 =

Undocumented

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

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')
W014 =

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')
W015 =

Undocumented

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

Undocumented

def _session_middleware():

Undocumented

def add_httponly_message(message):

Undocumented

def add_session_cookie_message(message):

Undocumented

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

Undocumented

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

Undocumented