Package org.sonar.python.checks.hotspots
Class SecureCookieCheck
- java.lang.Object
-
- org.sonar.plugins.python.api.PythonSubscriptionCheck
-
- org.sonar.python.checks.hotspots.AbstractCookieFlagCheck
-
- org.sonar.python.checks.hotspots.SecureCookieCheck
-
- All Implemented Interfaces:
PythonCheck,SubscriptionCheck
public class SecureCookieCheck extends AbstractCookieFlagCheck
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.sonar.plugins.python.api.PythonCheck
PythonCheck.CheckScope, PythonCheck.PreciseIssue
-
Nested classes/interfaces inherited from interface org.sonar.plugins.python.api.SubscriptionCheck
SubscriptionCheck.Context
-
-
Field Summary
Fields Modifier and Type Field Description static StringHEADERS_ARGUMENT_NAMEstatic StringSECURE_ARGUMENT_NAMEstatic StringSET_COOKIE_METHOD_NAME
-
Constructor Summary
Constructors Constructor Description SecureCookieCheck()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringheaderValueRegex()-
Methods inherited from class org.sonar.python.checks.hotspots.AbstractCookieFlagCheck
initialize, isInvalidHeaderArgument
-
Methods inherited from class org.sonar.plugins.python.api.PythonSubscriptionCheck
leaveFile, scanFile
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.sonar.plugins.python.api.PythonCheck
scanWithoutParsing, scope
-
-
-
-
Field Detail
-
SET_COOKIE_METHOD_NAME
public static final String SET_COOKIE_METHOD_NAME
- See Also:
- Constant Field Values
-
SECURE_ARGUMENT_NAME
public static final String SECURE_ARGUMENT_NAME
- See Also:
- Constant Field Values
-
HEADERS_ARGUMENT_NAME
public static final String HEADERS_ARGUMENT_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
headerValueRegex
protected String headerValueRegex()
- Specified by:
headerValueRegexin classAbstractCookieFlagCheck
-
-