Package org.sonar.python.checks.cdk
Class S3BucketGrantedAccessCheck
- java.lang.Object
-
- org.sonar.plugins.python.api.PythonSubscriptionCheck
-
- org.sonar.python.checks.cdk.AbstractS3BucketCheck
-
- org.sonar.python.checks.cdk.S3BucketGrantedAccessCheck
-
- All Implemented Interfaces:
PythonCheck,SubscriptionCheck
public class S3BucketGrantedAccessCheck extends AbstractS3BucketCheck
-
-
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 StringMESSAGE_GRANTstatic StringMESSAGE_POLICY-
Fields inherited from class org.sonar.python.checks.cdk.AbstractS3BucketCheck
S3_BUCKET_FQN
-
-
Constructor Summary
Constructors Constructor Description S3BucketGrantedAccessCheck()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinitialize(SubscriptionCheck.Context context)protected booleanisSensitivePolicy(Expression expression)protected voidvisitNode(SubscriptionContext ctx)-
Methods inherited from class org.sonar.python.checks.cdk.AbstractS3BucketCheck
getArgument, isFalse
-
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
scope
-
-
-
-
Field Detail
-
MESSAGE_POLICY
public static final String MESSAGE_POLICY
- See Also:
- Constant Field Values
-
MESSAGE_GRANT
public static final String MESSAGE_GRANT
- See Also:
- Constant Field Values
-
-
Method Detail
-
initialize
public void initialize(SubscriptionCheck.Context context)
- Specified by:
initializein interfaceSubscriptionCheck- Overrides:
initializein classAbstractS3BucketCheck
-
visitNode
protected void visitNode(SubscriptionContext ctx)
- Overrides:
visitNodein classAbstractS3BucketCheck
-
isSensitivePolicy
protected boolean isSensitivePolicy(Expression expression)
-
-